Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!netnews.upenn.edu!dsinc!spool.mu.edu!sdd.hp.com!news1.best.com!news3.net99.net!news.cais.net!news.cais.com!dialin_2 From: jsloan@livnet.com (Jim Sloan) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: ifconfig aliases Date: Fri, 01 Sep 95 01:12:38 GMT Organization: LiveNet Lines: 37 Message-ID: <425mo8$q4i@news.cais.com> References: <424lpg$ogv@hops.entertain.com> NNTP-Posting-Host: 205.138.8.102 X-Newsreader: News Xpress Version 1.0 Beta #4 In article <424lpg$ogv@hops.entertain.com>, dwatson@abwam.com (Darryl Watson) wrote: >Does anyone know if we can ifconfig an interface with more than one >alias? I tried to do it, and am getting 'dupicate IP' errors. > >:( > >Thanks for the info. Yes we can. ie. my server is setup as 205.138.8.100 in my rc.local I have this ifconfig we0 205.138.8.109 alias ifconfig we0 205.138.8.110 alias ifconfig we0 205.138.8.111 alias ifconfig we0 205.242.70.11 alias ifconfig we0 205.242.70.12 alias ifconfig we0 205.242.70.201 alias ifconfig we0 205.242.70.202 alias .. all the way to ifconfig we0 205.242.70.210 alias my host responds to all the above addresses (but I just removed the 205.242.70. due to not having my router configured yet and it causing the router to not respond to requests. This is our web server supporting currently 17 domains at present with Apache 0.8.10. Jim Sloan LiveNet, Inc. http://www.livnet.com +-----------------------------------------------------------------+ | jsloan@livnet.com | Wherever I go, there I am | +-----------------------------------------------------------------+ | Trouble with being me, is everyone wants to know what I know. | | Unfortunately, I don't know how to explain what I know. | +-----------------------------------------------------------------+