I configured two routers each with a trunk port up to a switch. I have created subinterface and .1q trunking on the sub interfaces and have trunk mode set on the switch port with the native vlan set for the vlan I am using for the management vlan. I set the default gateway on the switch to the L3 address of the vlan interface on the router. I set an ip address on the int vlan on the switch on the management vlan subnet. I am unable to telnet or ping to the switches ip address on the management vlan. What am I missing?
The default gateway on the switch is only used for the management interface. So just to be sure I understand what you have done, your switch should have an IP in the mgmt vlan, and its gateway should be the router interface in the mgmt vlan. The rest of the vlans on the switch are layer 2 and no routing or default gateway statements are needed for those (at least on the switch side). Also make sure that the trunks are up and trunking, and you can see all the vlans on the switch, particularly the one you have designated as the 'mgmt' vlan.
My data and voice vlans are working fine and the phones and laptops are replying and I can http into the 7960's.
I cannot telnet to the switch or ping the switch on 10.1.10.15 or the router
10.1.10.1 from my workstation, router, or switch. If i am on the router and try to ping the 10.1.10.15 address of the switch I get no reply and not able to telnet to it. I can only telnet to the loop0 interface which is what I want, but I cannot access the switch via the mgmt ip address.
All other vlans and subnet works fine and the phones get their ip address from the router which is a 1760-V running advanceservices and cme 4.1 the switch is a 2940 Enhanced Image.
The default gateway on the switch is only used for the management interface. So just to be sure I understand what you have done, your switch should have an IP in the mgmt vlan, and its gateway should be the router interface in the mgmt vlan. The rest of the vlans on the switch are layer 2 and no routing or default gateway statements are needed for those (at least on the switch side). Also make sure that the trunks are up and trunking, and you can see all the vlans on the switch, particularly the one you have designated as the 'mgmt' vlan.
swpa wrote: : I have a router with the fa0/0 configured with sub interfaces my mgmt vlan : 100 10.1.10.0/24
: router
: int fa0/0 : no ip address
: int fa0/0.100 : encap dot1x 100 : ip address 10.1.10.1 255.255.255.0
To complete a "Router on a Stick" Configuartion with VLAN 100 as the Management VLAN, then the Router's Subinterface has to be specified as the "Native" VLAN:
: int vlan 100 : ip address 10.1.10.15 255.255.255.0
: I cannot telnet to the switch or ping the switch on 10.1.10.15 or the router : 10.1.10.1 from my workstation, router, or switch. If i am on the router and : try to ping the 10.1.10.15 address of the switch I get no reply and not able : to telnet to it. I can only telnet to the loop0 interface which is what I : want, but I cannot access the switch via the mgmt ip address.
For the Management VLAN to be accessible from the your Workstation, then it will also have to be on the 10.1.10.0/24 Subnet...
Lawrence Houston -- ( snipped-for-privacy@greenfield.dyndns.org)
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.