cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1333
Views
0
Helpful
10
Replies

Destination host unreachable on Packet tracer

641341142
Level 1
Level 1

Good evening,

I'm a student in college. I'm working on a Packet tracer lab, once I'm finished with my setup I try to ping the PC7 to PC5 or PC8 to PC5 and I keep getting "Destination host unreachable" message. Don't revise my OSPF, because that's what the experiment needs. I have been trying to fix this for a while, if anybody can tell me what I'm doing wrong it would be very much appreciated. Thank you.

10 Replies 10

You need to fix:

 

run the command "ip cef" on routers.

 

Then, you need to decide  how are you going to do on the boundary switches. The way you configured then, is wrong.

If you create 3 vlans, and assign Ip address to them, you can not configure the interface between switch and router as Access.

That interface either need to be trunk or a layer 3 interface.

If trunk, you need to create  subinterface on router like gi0/1.30 ip add x.x.x.x and then gi0/1.40 ip add x.x.x.x

If you create a Layer 3 switch, then you need to change your static route. 

Thank you very much for your reply, but the experimental requirement cannot configure the Trunk interface and cannot change the experiment topology. So I don't know how to change my configuration.

 Well, doesn´t work this way. 

 I can change and send to you but ideally, you should do this for you to learn.

Ok, I will try your solution. But I also hope that you can change it and send to me. I'll be much appreciated for your file.

 

Here we go. This fiile is working. What I did?

I configured OSPF on the switch zero as well.  So, switch 0 talk to router via Layer 3 interface and share routes with routers using OSPF.  I took off all the static routers.

 

 

Very sorry to reply you so late. I use your file and still can't solve my problem. What I want to achieve is that all networks are interconnected. But PC7 to PC5, PC8 to PC5, PC7 to PC6, and PC8 to PC6 cannot be connected. If you come up with a solution, I'd be very grateful.

What you need is that Pc7 can not ping Pc5? and so on? 

I need is that Pc7 can ping Pc5, Pc8 can ping Pc5, Pc7 can ping Pc6,  Pc8 can ping Pc6 and Pc5 can ping Pc6. It means that all networks are interconnected.

and this is my experiment topology

hi

 This file do what  you need but you need to finish the configution. What I did:

On the Switch 4, I created an ACL:

 

L3_SW2(config)#ip access-list extended 100
L3_SW2(config-ext-nacl)#deny ip any 10.1.1.16 255.255.255.0
L3_SW2(config-ext-nacl)#deny ip any 20.1.1.16 255.255.255.0
L3_SW2(config-ext-nacl)#permit ip any any

L3_SW2(config)#int FastEthernet0/24
L3_SW2(config-if)#ip access-group 100 in

 

Then, now on side can not ping the other.