From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 16:34:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B4916A41F for ; Fri, 9 Dec 2005 16:34:01 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id A797843D4C for ; Fri, 9 Dec 2005 16:34:00 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-ull-84-135.51-151.net24.it [151.51.135.84]) (authenticated bits=128) by parrot.aev.net (8.13.5/8.13.5) with ESMTP id jB9GnKrp086648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Dec 2005 17:49:26 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) (authenticated bits=0) by soth.ventu (8.13.5/8.13.3) with ESMTP id jB9GXQYV098007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Dec 2005 17:33:26 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Message-ID: <4399B1F6.7090702@netfence.it> Date: Fri, 09 Dec 2005 17:33:58 +0100 From: Andrea Venturoli User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051202) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43999C2E.7010506@netfence.it> <43999ED2.5020207@scls.lib.wi.us> In-Reply-To: <43999ED2.5020207@scls.lib.wi.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.53 on 212.31.247.179 X-Scanned-By: MIMEDefang 2.53 on 10.1.2.13 Subject: Re: Sligtly OT: setting static routes on clients X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 16:34:01 -0000 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