I'm having troubles routing from two VLANs on Cisco Router here is the config:
interface FastEthernet0/1.13 encapsulation dot1Q 13 ip address 192.168.13.254 255.255.255.0 ip nat inside no ip virtual-reassembly ! interface FastEthernet0/1.21 encapsulation dot1Q 21 ip address 10.10.10.29 255.255.255.0 ip nat outside no ip virtual-reassembly !
And the routing part:
ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 <ISP GW IP> ip route 10.10.5.0 255.255.255.0 10.10.10.90
There are other things going one on the router, specially a big access list and also a lot of NAT's but nothing related with this VLANs.
If I'm on a VLAN 13 host and try to ping for instance a VLAN21 Address shouldn't it work?
sh ip route
Gateway of last resort is <ISP GW> to network 0.0.0.0 C 192.168.12.0/24 is directly connected, FastEthernet0/1.12 C 192.168.13.0/24 is directly connected, FastEthernet0/1.13 <ISP subnet> is subnetted, 2 subnets C <ISP IP> is directly connected, FastEthernet0/0.120 C <ISP IP> is directly connected, FastEthernet0/1.16 C 192.168.11.0/24 is directly connected, FastEthernet0/1.11 10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks S 10.10.5.0/20 [1/0] via 10.10.10.90 C 10.10.10.1/24 is directly connected, FastEthernet0/1.21 C 192.168.0.0/24 is directly connected, FastEthernet0/1.10 S* 0.0.0.0/0 [1/0] via <ISP GW>