Date: Tue, 18 Jun 2002 11:37:33 -0400 From: <lists@brenius.com> To: "Fernando Gleiser" <fgleiser@cactus.fi.uba.ar> Cc: <questions@FreeBSD.ORG> Subject: Re: How to remove multiple IP's off NIC Message-ID: <002c01c216de$10c2fc40$7b01a8c0@afi> References: <20020618120508.X66694-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
How would this compare to editing the rc.conf file? I just got a suggestion to do this, but I am not sure of the differences. Thanks. ----- Original Message ----- From: "Fernando Gleiser" <fgleiser@cactus.fi.uba.ar> To: <lists@brenius.com> Cc: <questions@FreeBSD.ORG> Sent: Tuesday, June 18, 2002 11:09 AM Subject: Re: How to remove multiple IP's off NIC > On Tue, 18 Jun 2002 lists@brenius.com wrote: > > > FreeBSD 4.3R, w/ dozens of IP's that need to be removed from the NIC. > > > > Easiest way to go about doing this? > > make a list with the addresses which you need to remove and save it to a > file. Then say the magic words: > > for addr in `cat file`; do ifconfig xl0 delete $addr ; done > > change xl0 to the name of your interface. > > > Fer > > > > > Thank you To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c216de$10c2fc40$7b01a8c0>