Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!fu-berlin.de!news.belwue.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Minor Multiple IPs/1 Interface Query Date: 20 Feb 1996 00:33:01 GMT Organization: Private BSD site, Dresden Lines: 23 Message-ID: <4gb4rt$d34@uriah.heep.sax.de> References: <4fskf3$93t@fullofruit.aarnet.edu.au> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 wayne@aarnet.edu.au (Wayne Farmer) writes: > I have set up multiple IPs with 1 ethernet interface as follows : > > ifconfig ed0 inet a.b.c.d netmask 255.255.255.0 alias This is a FAQ. If you're going to abuse the `alias' feature for this kind of work, add ``netmask 255.255.255.255''. If you think about how the kernel should send response packets, it will become rather obvious why you need this. (The original intent for the `alias' was to provide a means for configuring an interface alias for a different network, and that's why the weird netmask above ain't the default one.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)