Dual Gateways

jludwig wralphie at comcast.net
Sat Jan 21 02:42:04 UTC 2006


On Friday 20 January 2006 15:13, Aaron O'Hara wrote:
> I am doing other stuff behind the scenes to take care of the load
> balancing, I just need the DHCP scripts to add the UG of BOTH ISPs
> instead of discarding one.  My other scripts take the info from the
> routing table and do the load balancing, but because there is no UG for
> one of the interfaces, it fails.
>
> --Aaron
>
> On Fri, 2006-01-20 at 13:56 -0600, Mike McGrath wrote:
> > Aaron O'Hara wrote:
> > >Correct.
> > >
> > >If I statically put the gateway, my FC4 machine will 'load balance'
> > >between the two ISPs, but I don't want to have to statically insert the
> > >gateway or do a route add command.
> >
> > My understanding of having two default routes is that the first one will
> > always be used unless it is unavailable.  At which time it will fail to
> > the second route.  AFAIK simply having two routes doesn't load balances
> > between the two.  I think there are ways to do that but not just with
> > the route command.
> >
> >     -Mike
I would suggest looking at -->> man dhclient.conf

  The supersede statement

        supersede [ option declaration ] ;

If  for some option the client should always use a locally-configured value or 
values rather than whatever is supplied by the server, these values
can be defined in the supersede statement.




More information about the fedora-list mailing list