Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoregon.edu!usenet.eel.ufl.edu!news.mathworks.com!newsxfer.itd.umich.edu!agate!news.mindlink.net!van-bc!portal.ca!not-for-mail From: curt@portal.ca (Curt Sampson) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: Virtual Interface drivers Date: 15 Sep 1995 19:34:21 -0700 Organization: Internet Portal Services, Ltd. Lines: 42 Message-ID: <43dd3d$704@cynic.portal.ca> References: <439ovt$gcs@harbinger.cc.monash.edu.au> <43at6h$8bv@harbinger.cc.monash.edu.au> <43cfvh$5sl@cynic.portal.ca> <43cgr2$e4p@orion.cc.andrews.edu> NNTP-Posting-Host: cynic.portal.ca In article <43cgr2$e4p@orion.cc.andrews.edu>, Andrew Gillham <gillham@andrews.edu> wrote: >Perhaps a nice concise example? This is directly from my /etc/rc.local file, with the names changed to protect the innocent. for i in \ www.something.com \ www.otherthing.com \ www.someorg.org \ 127.123.45.67 \ www.rein.com \ # and so on and so forth ; do ifconfig ed0 $i alias route add $i localhost done >'man ifconfig' doesn't really explain >alias well, and perhaps implies only one alias. To me at least, the >'Establish _an_ addition network _address_...' is singular. Yes, it establishes only one additional alias every time you run the command. >Also, the >delete option isn't very concise, and has no example. (i.e. is it >'ifconfig ed0 alias x.x.x.x delete', or ifconfig ed0 delete..) Just delete the address, without putting in the word alias: ifconfig ed0 x.x.x.x delete cjs -- Curt Sampson curt@portal.ca Info at http://www.portal.ca/ Internet Portal Services, Inc. Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.