ok, so i have my router and made subinterfaces
no ip address
encapsulation dot1q 1
ip address 10.10.10.17 255.255.255.240
and i set my switch up with this
int vlan 1
ip address 10.10.10.18 255.255.255.240
made the 1st port a trunk
switchport mode trunk
then made my 2nd port like the access
switchport mode access
switchport access vlan 1
switchport port-security mac-address sticky
switchport port-security maximum 1
switchport port-security violation shutdown
ready for the question? i can ping my computer of 10.10.10.19, but why cant i ping my default gateway of 10.10.10.17.
im not sure but is it because the router is ethernet and switch is fast. does the router not support vlan(sub-int).
it let me set-up the sub-interfaces for vlan 1, but maybe the port does not support it, 2600 router and 2950 switch.
Solved! Go to Solution.
just add the keyword native at the end of your encapsulation command on the router subinterface and let us know if it works.
Don't forget to rate helpful posts.
eureka, ima genious.........
i wish, lol
thanks floyd, i made a vlan 2 and it let me ping and telnet to the router. it would not let me in the administrative vlan 1 for some reason. if you know why ill wait for an explianation.
ill mark you as the best answer, thanks
i'm glad your issue is resovled. your setup should work flawlessly but i suspect it might be due to the fact your running "legacy" equipment (i.e ethernet on 2600) and doesn't support native VLAN (VLAN 1).
best practice is that VLAN 1 should not be used for anything.
You may be interested to know that the 2610 and 2611 series routers with Ethernet (i.e. 10Mbps) interfaces do not support configuring a subinterface for the native VLAN. This appears to be a limitation of the Ethernet controller in these routers. If you want to use the native VLAN, you must configure the physical interface directly. Subinterfaces for all other VLANs work just fine but instead of configuring a subinterface for the native VLAN, configure the Ethernet0/0 interface directly instead.
FastEthernet-based routers like 2620, 2621, the 2600XM series etc. do not have this limitation anymore.