Hi. I configured my router interface for vlan routing. However I am unable to ping any of these subinterfaces from the router itself and when i run: sh ip int brief, it shows e0 as up up but e0.1 and e0.2 as down.
The config of the interface is shown below.
ip add 10.0.1.1 255.255.255.0
encap dot1q 2
ip add 10.0.2.1 255.255.255.0
encap dot1q 3
When i go to check e0.1 or e0.2, it shows a status as up but protocol down. e0 is physically connected to a switch port f0/12. The config is shown below.
switchport mode trunk
switchport trunk encap dot1q
This switch has two vlans- 2 and 3. Also, i checked the BW of f0/12 and e0 and found it to be set to 10MB. I manually set the bandwidth of e0.1 and e0.2 to 10MB as well but still no go.
I do hope someone can help me with this. Thanks.