HP Procurve +ip route

Soldato
Joined
14 Oct 2003
Posts
7,831
All,

On my procurve switches I would like to add the default route (as my firewall) so devices in VLANs can access the Internet. I know you can using the "ip route 0.0.0.0..." command to do this, but can you define a metric too?

I'd like to be able to define two default routes with separate metrics so if the primary internet gateway is dead the switch will use the other, for example:

ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx 1
ip route 0.0.0.0 0.0.0.0 yyy.yyy.yyy.yyy 2

The above 1 and 2 are the metrics.

Thanks.
 
Back
Top Bottom