ā06-26-2014 04:54 AM - edited ā03-04-2019 11:14 PM
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.
ā06-26-2014 06:58 AM
Hi there,
Try adding :
!
ip routing
ip cef
!
If that doesn't fix it please post your router config.
cheers,
Seb.
ā07-02-2014 09:17 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide