cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
488
Views
0
Helpful
2
Replies

Vlan Communication

raofu1978
Level 1
Level 1

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 2

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Try adding :

!

ip routing

ip cef

!

 

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

 

cheers,

Seb.

lonmc1977
Level 1
Level 1

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