cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3833
Views
10
Helpful
20
Replies

Packet tracer exercise

PieterGhi
Level 1
Level 1

Hello, I need to make a simple packet tracer exercise for school, I should be able to connect PC1 with PC2 but it isn't working.

Can someone explain me what I did wrong?

This is the file: http://www.filedropper.com/pieterghillebaert

20 Replies 20

Jon Marshall
Hall of Fame
Hall of Fame

If it is a PT file most of don't use PT so upload a topology diagram and the configuration of the network device(s).

You can upload then directly on to this forum, just add them as attachments to the post.

Also what are the PC settings ie. IP address, subnet mask, default gateway.

Jon

I can't manage to upload media on this site, it seems to not work.

Here are some properties, http://puu.sh/haWGZ/f55c4cfcd6.png

Probably not enough, because there are much more settings, and it was a pkt file btw.

Not sure why you can't upload files as attachments but if needed you can always copy and paste configurations.

Here are some things you need to check based on your diagram -

1) both PCs need to be in different IP subnets. Their default gateway would be the router interface that connects to the same switch they connect to.

2) if you are using vlans on the switches then the PC and corresponding router interface need to be in the same vlan.

3) assuming the above is correct then you need to look at each router and see if it has a route for the other PCs subnet.

You need to check for routes both ways.

So firstly can each PC ping it's default gateway. If so then pick one of the routers and try to ping the remote PC, can it ping it ?

If not then check for a route on that router for the remote PC subnet.

Basically with any network problem you need to be logical and work out what is an isn't working to narrow down the issue.

A traceroute from either of the PCs would also help.

Jon

Thanks for the response, here is some more info: http://puu.sh/haXO7/9209778fda.png

1) Yes, both PC's are in different subnet, and they can both connect to their router, but when I try to go a little further, then it says: Reply from '176.160.0.46:' Destination host unreachable.

2) No VLAN is supose

 

Okay then that error message means the router does not have routes.

I will help you but if this is for learning ie. school then me simply giving you the answer doesn't really achieve very much.

You learn a lot more by troubleshooting the issue.

So go onto the router you got that message from and look at it's routing table.

Do you see a route for the remote PC subnet ?

Jon

I think so yes: http://puu.sh/haY8z/5867c347f0.png

That is showing the interface IPs.

To look at the routing table "sh ip route"

By the way if it helps you can just add the outputs into your post rather than having to do it the way you are now.

Jon

Oh sorry :p 

I don't know if there is a route for the remote PC subnet, you tell me :) http://puu.sh/haYx9/8dc8ab863a.png (I just discovered puush and i find it pretty fast, amusing)

 

There aren't any routes other than directly connected interfaces so it won't work as as is

Basically each router needs to know how to get to the remote subnet and they don't which is why when you ping you get that message.

So you can either use static routes or you can run a routing protocol, don't know which one you are meant to do.

I can help with both but first can you post the actual IP and subnet mask of each router interface.

Probably easier if you just post the full configurations of both routers and then tell me what you want to use ie. statics or a dynamic routing protocol.

If the exercise doesn't specify which one to use then I suggest statics because you learn more in terms of the principles of routing.

Jon

I have never heard of both solutions so let's take the easiest one (or static  routes if they are both easy).

This is my 2nd exercise btw, and my first one looked like this: http://puu.sh/haZ4h/1634fe2191.png and when i googled static routes i found an image that looked similar to my image (my last step for connecting PC5 to the other also didn't work :p). But that doesn't matter now.

And what more configuration settings can I give you? I think you have "everything": http://puu.sh/haZcU/d06ba2e702.png and http://puu.sh/haZf7/601cbacd7b.png

Sorry rather than window outputs what I need is -

1) from each PC the IP address, subnet mask, default gateway. I haven't used PT but on a PC an "ipconfig" would show it

and

2) a "sh run" from each router which shows the running configuration of the router.

You should get used to executing commands from the CLI as this is how you normally configure Cisco devices so it would be good to do that.

Jon

http://puu.sh/haZND/300ee23031.png

I think my show run command doesn't work that good, does it? :p

-

Difficult to know I needed to press spacebar when I've never done it, hehe.

http://puu.sh/hb0q0/057ecd688e.png