Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!ihnp4.ucsd.edu!agate!sklower From: sklower@oboe.CS.Berkeley.EDU (Keith Sklower) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: multiple ip addresses, BSDI 2.0, & Netscape comm. server. Date: 28 Dec 1995 06:02:50 GMT Organization: University of California, Berkeley Lines: 40 Message-ID: <4btbua$ovp@agate.berkeley.edu> References: <30D59491.4D80@neosoft.com> <4bq0lv$6a7@boris.eden.com> NNTP-Posting-Host: oboe.cs.berkeley.edu In article <4bq0lv$6a7@boris.eden.com>, Paul Walhus <terry@eden.com> wrote: }We need the same. }paul murray (echo@neosoft.com) wrote: }: does anyone have experience with setting up a BSDI 2.0 system }: to listen to multiple IP addresses ? Well, I haven't done this on a BSDI system, but the networking code is pretty much identical to 4.4 lite and should work the same way: gauguin# ifconfig le0 inet alias 128.32.33.192 netmask 255.255.255.0 ifconfig: ioctl (SIOCAIFADDR): File exists gauguin# netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll le0 1500 <Link> 8.0.9.13.33.30 130034747 3003 31311 21 109344 le0 1500 128.32.33/2 128.32.33.42 130034747 3003 31311 21 109344 le0 1500 128.32.33/2 128.32.33.192 130034747 3003 31311 21 109344 The error that is reported is because there is already a route to 128.32.33/24 but it went ahead and added an interface address to le0, and the system is *supposed* to respond to the second address: I tried the following from argo.cs.berkeley.edu: % telnet 128.32.33.192 Trying 128.32.33.192... Connected to 128.32.33.192. Escape character is '^]'. 4.4BSD-Lite (gauguin.CS.Berkeley.EDU) (ttyp0) login: Connection closed by foreign host. Yup! it did! }: the purpose of doing this would be to setup my netscape }: communications server to answer requests for different ip's. Don't have a clue whether or not the netscape server is smart enough to check for that.