09-02-2007 04:19 PM - edited 03-05-2019 06:14 PM
How can I force a 2960 switch to use the default gateway parameter.?
I try with the command :
ip defautl-gateway 10.10.10.1
but the switch never use it.
Thanks in advanced
09-02-2007 04:28 PM
Hi,
What do you mean by the switch never uses it ?
BR,
Mohammed Mahmoud.
09-02-2007 04:43 PM
By default 2960 switches never uses the
IP default-gateway parameter in order to reach remote networks.
The switches just send an ARP request with the destiantion IP.
So, I want to force the 2960 switch to use the parameter as a normal client IP use the Deafult Gateway parameter to reach other subnets.
Thanks
09-02-2007 04:53 PM
default gateway is only for admin (telnet etc)
Unless you have a routing protol enabled and use the comand default netowrk, the switch only works at layer 2, where you want it to work at layer 3. You may need an enhanced image for the switch.
09-02-2007 05:09 PM
Im configuring 802.1x user authentication in the 2960 edge switch using a Radius server located in other subnet.
The core is compose with two 3750 L3 switches running HSRP redundancy.
So is very important to force the 2960 edge switch to use the default gateway parameter (Virtual Default Gateway) in order to comunicate with the radius server.
The problem appears when one of the Core switch goes down and the edge switch keep using the old MAC address in order to comunicate with the radius server.
09-02-2007 05:05 PM
Hi,
The default gateway should point to the IP address of the next-hop router interface that is directly connected to the switch. Once the default gateway is configured, the switch has connectivity to the remote networks with which a host needs to communicate. The only special case is when your switch is configured to route with IP, but this is not the case with 2960 as AFAIK it can't do IP routing (only 2948G-L3 from the 2900 series supports routing, and for it to utilize the default-gateway, no ip routing should be configured).
Make sure that the management VLAN interface and the default gateway are in the same IP subnet and that you can ping the gateway IP.
HTH,
Mohammed Mahmoud.
09-02-2007 05:55 PM
Im configuring 802.1x user authentication in the 2960 edge switch using a Radius server located in other subnet.
The core is compose with two 3750 L3 switches running HSRP redundancy.
So is very important to force the 2960 edge switch to use the default gateway parameter (Virtual Default Gateway) in order to comunicate with the radius server.
The problem appears when one of the Core switch goes down and the edge switch keep using the old MAC address in order to comunicate with the radius server.
09-02-2007 08:05 PM
Diego
When you say that the edge switch keep using the old MAC address, it sounds like the default gateway that you have configured is not the HSRP shared address (which I think that it probably should be).
Perhaps if we had some specifics to work with we could find the problem more efficiently. Can you provide the following information:
- address of the edge switch.
- HSRp address of the core switches.
- address that you are defining in the default-gateway command?
HTH
Rick
09-02-2007 09:50 PM
Hi ,
config the core and 2960 as below.
configure the vlan x on core and 2960 switches.
configure the hsrp between both the core switches.
configure the trunk link between core siwtches and 2960 switch.
configure ip default-gateway which is hsrp ip of core siwthces.
Thanks,
satish
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