Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Vlan Communication

Hi 

I have one cisco 2960 SW, 2811 Router and 4 PCs. 1 PC is in VLAN 10. 3PCs are in VLAN 20. VLANs are in SW. Router FastEthernet is connected to SW. Please help me configuring these two VLANs to communicate.

I tried by trunking the SW port that is connected to router FastEthernet. And FastEthernet subinterface was encapsulated with proper ip and vlan.

 

host4: 20.20.20.0/24 VLAN 20.           D - GW: 20.20.20.1(Sub int IP)

Host1-3: 10.10.10.0/24  VLAN 10.      D - GW: 10.10.10.1 (Sub int IP)

 

Can anyone please help giving complete configuration to communicate hosts in these cross VLAN. Alternative configuration is also welcome.

2 REPLIES

Hi there,Try adding :!ip

Hi there,

Try adding :

!

ip routing

ip cef

!

 

If that doesn't fix it please post your router config.

 

cheers,

Seb.

New Member

On your router, turn your F0

On your router, turn your F0/0 interface into a sub-interface so it too becomes a trunk.

config t

int f0/0

no ip address

int f0/0.10

encapsulation dot1Q 10

ip add 10.10.10.1 255.255.255.0

int f0/0.20

encapsulation dot1Q 20

ip add 20.20.20.1 255.255.255.0

 

 

Keep the switch side as a trunk. This should make the VLANS talk

 

58
Views
0
Helpful
2
Replies
CreatePlease login to create content