Re: Sligtly OT: setting static routes on clients
Loren M. Lang wrote: On Fri, Dec 09, 2005 at 04:01:02PM +0100, Andrea Venturoli wrote: Hello. 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)? Have you considered a dynamic routing protocol like rip or ospf using the routed or zebra daemons for freebsd? I know some versions of windows come with, or have a windows component you can add for the rip protocol. Actually no, I haven't tought about it seriously. I suspect it might be overcomplicated for my needs, but I welcome any pointers on this, like some introduction or how-to which might get me started. Obviously I'm going to search myself, but just in case you know of a very well done document... :) bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sligtly OT: setting static routes on clients
Hello. 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)? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
Andrea Venturoli wrote: Hello. 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 certainly do it with a Windows cmd file, though I think it'd be the machine startup script, not the user netlogon (might work but would likely require runas if they are not Admins). For details, go to a Windows command line and give it a route /? -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
On Fri, Dec 09, 2005 at 04:01:02PM +0100, Andrea Venturoli wrote: Hello. 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)? Windows has route.exe command. I'm not sure about non administrator users. Are you sure you really need static routes on Windows clients? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
In the last episode (Dec 09), Andrea Venturoli said: Hello. 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. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
Greg Barniskis wrote: Andrea Venturoli wrote: Hello. 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 certainly do it with a Windows cmd file, though I think it'd be the machine startup script, not the user netlogon (might work but would likely require runas if they are not Admins). For details, go to a Windows command line and give it a route /? Hm, you are right about the privilege problem with netlogon.cmd. However, with a startup script, I'd have to deploy it to tens of machines, which I'd like to avoid. Thanks anyway Andrea Venturoli ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
Igor Robul wrote: On Fri, Dec 09, 2005 at 04:01:02PM +0100, Andrea Venturoli wrote: Hello. 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)? Windows has route.exe command. I'm not sure about non administrator users. Are you sure you really need static routes on Windows clients? Yeah, quite. Why wouldn't I want it? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
Dan Nelson wrote: In the last episode (Dec 09), Andrea Venturoli said: Hello. 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 desti- nation are specified, they are listed in descending order of prior- ity. The routes consist of a list of IP address pairs. The first address is the destination address, and the second address is the router for the destination. The default route (0.0.0.0) is an illegal destination for a static route. To specify the default route, use the routers option. Also, please note that this option is not intended for classless IP routing - it does not include a subnet mask. Since classless IP routing is now the most widely deployed routing standard, this option is virtu- ally useless, and is not implemented by any of the popular DHCP clients, for example the Microsoft DHCP client. ? Well, I tryed this one, it seemed the most obvious thing. However I didn't succeed, unless I was trying to specify a route to *a single IP*. In case I wanted for example to specify a route to 192.168.101.*, what should I put in there? Here's what I tryed: option static-routes192.168.101.0 10.1.2.13; Here's what I get on a Windows 2000 client with netstat -rn: Network destination Netmask Gateway 192.168.101.0 255.255.255.255 10.1.2.13 Now, I don't think that netmask is so good, isn't it? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
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 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sligtly OT: setting static routes on clients
On Fri, Dec 09, 2005 at 04:01:02PM +0100, Andrea Venturoli wrote: Hello. 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)? Have you considered a dynamic routing protocol like rip or ospf using the routed or zebra daemons for freebsd? I know some versions of windows come with, or have a windows component you can add for the rip protocol. bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 pgpJXxOjQSwww.pgp Description: PGP signature