*BSD News Article 40996


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:15967 comp.os.386bsd.misc:4861
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!cs.ubc.ca!usenet
From: croehrig@cs.ubc.ca (Chris Roehrig)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Subject: Multiple IP addresses for a single interface
Date: 18 Jan 1995 04:24:17 GMT
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Lines: 12
Message-ID: <3fi55h$3pp@cs.ubc.ca>
NNTP-Posting-Host: ascaris.sns.cs.ubc.ca


I notice that 4.4BSD has SIOCAIFADDR and SIOCDIFADDR ioctls for apparently  
dealing with more than one IP address for a physical interface.   Looks  
like ifconfig makes use of them too.

Does this work for configuring a single ethernet interface to have more  
than one IP address?  Has anybody tried this to make a single machine  
appear to be two separate Internet nodes?

--
Chris Roehrig  (croehrig@cs.ubc.ca)
Dept. of Computer Science, University of British Columbia, Canada