(E-Mail Removed) (Dan Johnson) said:
>How do you setup dhcpd to assign multiple routers/gateways to clients?
>The "option routers" makes me think you should be able to do this.
>I've tried "option routers 192.168.0.50, 192.168.0.51, 192.168.0.52;"
>but the client only gets the first router.
"option routers" is just for specifying the default route -- and these
you can only have one on a given system. I think that the clients will
try to connect to each router listed by #option routers" list, and end
up using the first one to respond.
Are these three addresses really redundant (all giving same/similar
routing in some kind of load-balancing/failover configuration), or
are they routers for some specific subnets?
If the latter, then I guess you'll need to use "option static-routes"
to tell the clients about the routers used for specific networks. However,
pay attention to the warning in dhcp-options manual page about the use
of static-routes option.
>The client gets the multiple dns servers with "option
>domain-name-servers 192.168.0.10, 192.168.0.11, 192.168.0.12;" I've
>looked through a lot of documents on dhcpd.conf, but I haven't had any
>luck yet.
Yes, DNS configuration makes it easy to store addresses for several
resolvers working in parallel; for routing no such storage is available.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)