Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

xrrp and default gateway

SOLVED
Go to solution
Sebastian Reitenbach
Occasional Contributor

xrrp and default gateway

Hi experts,

I have two 6400cl-6XG switches, which are configured with some static routes, and a default gateway. Do I can use the high availability feature of the xrrp protocol together with static routes and a default-gateway? As far as I can see, when I have routing enabled, to be able to enable xrrp, then the switch rejects the default-gateway with the message:

IP Routing support must be disabled first.

thanks
Sebastian
3 REPLIES
Matt Hobbs
Honored Contributor
Solution

Re: xrrp and default gateway

Hi Sebastian,

This error only occurs when IP Routing is enabled and you try to set the default-gateway.

Instead of the default-gateway, you need to add a default route instead:

ip route 0.0.0.0 0.0.0.0 x.x.x.x

One thing it lets you do though is set the default-gateway, then enable IP routing - the default-gateway will not be used though so there's no point in doing this.

Matt
Sebastian Reitenbach
Occasional Contributor

Re: xrrp and default gateway

Thank you very much, this worked like a charm. I only tried to set a route like this:

ip route 0.0.0.0/32

but the switch said it was unable to store this one.

Matt Hobbs
Honored Contributor

Re: xrrp and default gateway

You could have used 0.0.0.0/0 instead, anyway I'm glad to hear it helped.