Re: Sligtly OT: setting static routes on clients



In the last episode (Dec 09), Andrea Venturoli said:
> Dan Nelson wrote:
> >In the last episode (Dec 09), Andrea Venturoli said:
> >>I've got a network of clients on which I'd like to set static
> >>routes; these are mainly (but not only) Windows machines,
> >>administered through a couple of FreeBSD servers. Is there any way
> >>to do this with DHCP? Or via Samba (netlogon.cmd)?
> >
> >You can try using the DHCP Classless Static Route option (#121, see
> >RFC 3442). MSDN claims that Windows XP and Server 2003 will process
> >them. FreeBSD's dhclient does not, but you should still be able to
> >set its dhcp server to send them.
>
> You mean, from man dhcp-options:
>
> option static-routes ip-address ip-address
> [, ip-address ip-address...];
>
> This option specifies a list of static routes that the client should
> install in its routing cache. If multiple routes to the same
> destination are specified, they are listed in descending order of
> priority.

No, that's option 33, which as you found out only handles a single IP.
Option 121 includes network and netmask fields, but since it's not
known by isc-dhcpd, you will have have to define it yourself (see the
dhcp-options manpage, "DEFINING NEW OPTIONS" section).

--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Site-to-Site VPN client routing question - clients at branch office not able to acce
    ... I realized that I need to key in the static routes of the corresponding networks in the clients on each networks. ... In Shanghai side, all the clients I keyed in the static route 194.1.1.0 mask 255.255.255.0 gateway 192.168.100.2 and for the clients at Singapore, I keyed in the static route ... in Shanghai has no problem seeing the clients at Singapore but the opposite don't work - Clients at Singapore side cannot see any clients in Shanghai. ... I changed the network address at Shanghai to 192.168.100.0/24. ...
    (microsoft.public.windows.server.networking)
  • Re: DHCP issue
    ... With this addressing clients and the server have no ... It is usually not recommended to have two network card in a domain controller, unless it is Microsoft SBS (Small Business Server). ... Let's get this DHCP service going for you first. ...
    (microsoft.public.windows.server.general)
  • Re: DHCP issue
    ... With this addressing clients and the server have no ... controller with two network cards. ... since DHCP got stuck on Acquiring Network Address forever. ...
    (microsoft.public.windows.server.general)
  • Re: Vista clients became unresponsive after network move
    ... was mentioned that DHCP wasn't used, ... used, and all clients are static and incorrectly configured, I can ... network connection. ... IPs are static assigned IPs in 192.168.x.x range. ...
    (microsoft.public.windows.server.networking)
  • Re: Vista clients became unresponsive after network move
    ... was mentioned that DHCP wasn't used, ... used, and all clients are static and incorrectly configured, I can ... All other IPs are ... network connection. ...
    (microsoft.public.windows.server.networking)

Quantcast