Return to BSD News archive
Xref: sserve comp.unix.bsd:12300 comp.unix.wizards:30133 Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!pad-thai.aktis.com!usenet From: bjaspan@GZA.COM (Barry Jaspan) Newsgroups: comp.protocols.tcp,comp.unix.bsd,comp.unix.wizards Subject: Multiple IP addresses on a single interface? Followup-To: poster Date: 20 Jul 1993 19:46:11 GMT Organization: Geer Zolot Associates Lines: 15 Distribution: world Message-ID: <22hi23$e30@pad-thai.aktis.com> NNTP-Posting-Host: suan-la-chow-show.aktis.com Is it possible to configure a SunOS 4.x kernel to respond to multiple IP addresses on a single ethernet interface? Looking over the BSD network code, each interface structure (struct ifnet) seems to maintain a linked list of addresses, not just one. Also, the code for the SIOCSIFADDR ioctl seems to append its address argument to the end of the list. But SIOCGIFADDR only returns a single address, and it isn't clear to me how to set multiple addresses. ifconfig, clearly, doesn't support multiple addresses directly. Any information is appreciated. Thanks. -- Barry Jaspan, bjaspan@gza.com Geer Zolot Associates