cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
964
Views
15
Helpful
6
Replies

why pc's cannot ping each other ?

as12john_A
Level 1
Level 1

http://www.mediafire.com/file/urfo6f033vcqire/testo.pkt/file

 

 

 

version packet tracer:7.1.1.0138

 

question:Why cannot pc's ping one another?

 

Thanks in advanced

1 Accepted Solution

Accepted Solutions

Hello,

 

first of all, you need to remove the subinterface for Vlan 1 on the router and put the IP address on the physical interface:

 

interface GigabitEthernet0/0
ip address 192.168.50.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.4.1 255.255.255.0
!
interface GigabitEthernet0/0.3
encapsulation dot1Q 3
ip address 192.168.30.1 255.255.255.0

Then, on Switch0, make the links trunks:

 

interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport mode trunk

 

Do the same on Switch2:

 

interface FastEthernet0/6
switchport mode trunk

 

Then, on Switch0, create Vlan 2 and Vlan 3:

 

Switch0#conf t

Switch0(config)#vlan 2

Switch0(config-vlan)#exit

Switch0(config)#vlan 3

Switch0(config)#end

 

 

 

View solution in original post

6 Replies 6

Hello

i can open that url link however

have you made sure those clients don’t have any software Fw enabled negating icmp?

 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

 

first of all, you need to remove the subinterface for Vlan 1 on the router and put the IP address on the physical interface:

 

interface GigabitEthernet0/0
ip address 192.168.50.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.4.1 255.255.255.0
!
interface GigabitEthernet0/0.3
encapsulation dot1Q 3
ip address 192.168.30.1 255.255.255.0

Then, on Switch0, make the links trunks:

 

interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport mode trunk

 

Do the same on Switch2:

 

interface FastEthernet0/6
switchport mode trunk

 

Then, on Switch0, create Vlan 2 and Vlan 3:

 

Switch0#conf t

Switch0(config)#vlan 2

Switch0(config-vlan)#exit

Switch0(config)#vlan 3

Switch0(config)#end

 

 

 

Great Thanks. But,would you please briefly tell me what was my problems?

Thanks. It did work fine. However,would you please tell me the reason why for deleting VLAN1?
Moreover,could you please show me why I must create such a database like vlan 2 and 3 which you just said?

Thanks in advance

Hello,

 

the most important part of the changes I sent is that you configure the links between the switches and between the switches and the router as trunk links. Only trunk links can carry traffic for multiple VLANs (1,2, and 3 in your case). The reason you need to create the VLANs on all switches is that without the VLANs existing, the trunk cannot send them. You could also configure one switch as a VTP server switch and the other as the VTP client; either way, all VLANs need to exist on all participating switches.

 

I did not actually delete VLAN 1, I just put it on the physical interface, which effectively makes it the native VLAN for the trunk (by configuring subinterfaces on the router interface, you create a logical trunk).

 

Does that make sense ?

Review Cisco Networking for a $25 gift card