Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:16048 comp.os.386bsd.misc:4915 Path: sserve!newshost.anu.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!pipex!uunet!zib-berlin.de!informatik.tu-muenchen.de!gruner From: gruner@Informatik.TU-Muenchen.DE (Armin Gruner) Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc Subject: Re: Multiple IP addresses for a single interface Date: 18 Jan 1995 14:53:51 GMT Organization: Technische Universitaet Muenchen, Germany Lines: 12 Distribution: world Message-ID: <3fja1v$qs4@hpsystem1.informatik.tu-muenchen.de> References: <3fi55h$3pp@cs.ubc.ca> NNTP-Posting-Host: hprbg5.informatik.tu-muenchen.de X-Newsreader: NN version 6.5.0 #5 (NOV) croehrig@cs.ubc.ca (Chris Roehrig) writes: >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? Yes, ifconfig <if-name> alias <alternate IP-address>