取消
显示结果 
搜索替代 
您的意思是: 
cancel
2494
查看次数
30
有帮助
11
回复

I can't ping on Switch IP from host using Packet Tracer

carlman001
Level 1
Level 1

Hi.

 

I attached the zipped Packet Tracer topology.

I can't ping from PC0 to Switch (SW2). It says it's unreachable. I configured the IP address 172.10.99.56 on interface Vlan 99 with ip default-gateway 172.10.99.1. The ip gateway is also configured on router interface using router on a stick(R1).

 

 

The vlan 99 is created. The interface Vlan99 is set with up status

 

What is missing in this case?

11 条回复11

Martin L
VIP
VIP

 

no file attached; it must be in a zip format; try again

Hi

 

I've attached the file. Can you see it now?

 

Yes, PT file shows that you are not allowing vlan 99 on trunks? why  not ?

 

Regards, ML
**Please Rate All Helpful Responses **

Vlan 99 it's a native vlan

 

I set on fa0/1 and fa0/3 ports from SW1 and SW 2 by switch trunk native vlan 99

 

On SW 2:

 

Switch#sh interfaces trunk
Port   Mode Encapsulation Status     Native vlan
Fa0/1 on          802.1q       trunking      99
Fa0/3 on          802.1q       trunking      99

Port Vlans allowed on trunk
Fa0/1 10,20,30
Fa0/3 10,20,30

Port Vlans allowed and active in management domain
Fa0/1 10,20,30
Fa0/3 10,20,30

Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 10,20,30
Fa0/3 none

Hello,

 

I think it is a flaw in Packet Tracer. The only way I got it to work, that is, to make the Vlan 99 (and Vlan 1) interfaces on SW2 come up, is when using the configuration below on the trunk ports of both switches. It did not work even when allowing vlan 99.

 

interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk

I'm using Packet Tracer 7.3.0.

 

I set on fa0/1 and fa0/3 ports from SW1 and SW 2 by entering switch trunk native vlan 99. Also I tried the configuration shows like you've shown in previuos post but it didn't work. I could ping from PC 0 to SW1 but I couln't to SW2. The topology it's homework/exercise.

 

also do no shut on interface vlan 99. Confirm with show ip interface brief, you should see up up.

Ok

 

I'm giving you the output for vlan 99 using show ip interface brief on SW2

 

Interface    IP-Address    OK?     Method  Status Protocol

Vlan99    172.17.99.56    YES    manual    up      down

Martin L
VIP
VIP

 

yes, something buggy in PT but I got it working with doing no shut on Sw2 interface vlan 99 couple times after allowing vlan 99 on trunks. Make sure you do write in PT devices !

 

Regards, ML
**Please Rate All Helpful Responses **

 

I can't open the pkt file from vl 99 native.zip. I'm using packet tracer 7.3.0. What Packet Tracer version number are you using?

 

Oh, I updated to latest PT 7.3.1

just add vlan 99 to all trunks (or allow all). then after links come up, do no shut on interface vlan 99 on sw 2

 

Regards, ML
**Please Rate All Helpful Responses **

Review Cisco Networking for a $25 gift card