From owner-freebsd-questions Fri Oct 8 17: 1:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from malkav.snowmoon.com (machine-126-237.cdcsd.k12.ny.us [208.20.126.237]) by hub.freebsd.org (Postfix) with SMTP id 57BD1152D0 for ; Fri, 8 Oct 1999 17:01:44 -0700 (PDT) (envelope-from jaime@malkav.snowmoon.com) Received: (qmail 44419 invoked by uid 1001); 9 Oct 1999 00:01:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Oct 1999 00:01:43 -0000 Date: Fri, 8 Oct 1999 20:01:42 -0400 (EDT) From: Jaime Kikpole To: Guillaume Paquet Cc: freebsd-questions@freebsd.org Subject: Re: ifconfig and route In-Reply-To: <002301bf11e7$d4f978e0$0201a8c0@cgocable.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 8 Oct 1999, Guillaume Paquet wrote: > Is there a way with ifconfig and route to configure a class C in only one > command, instead of doing the commands for every IP? To my knowledge, no. Adding an IP configuration to an interface and configuring routes can't (I think) both be done with any utilities in FreeBSD. Of course, you could write a shell script that takes STDIN input and runs the ifconfig and route commands that would be needed. Jaime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message