*BSD News Article 62754


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!plaster.csdc.toshiba.com.au!not-for-mail
From: johnc@csdc.toshiba.com.au (John Creasey)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Multiple Ip Addresses
Date: 5 Mar 1996 03:32:47 GMT
Organization: Toshiba International Corporation
Lines: 20
Message-ID: <4hgcl0$5p@plaster.csdc.toshiba.com.au>
NNTP-Posting-Host: csdc_2.csdc.toshiba.com.au
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

I have been trying to get multiple ip addresses to work.

I used: 
ifconfig lo0 alias a.b.c.d netmask 0xffffff00 
to set up an alias, but I have found that 
none of the other machines can see the new address.

I tried using 
arp -s a.b.c.d x:y:z:.. pub 

and that seems
to work, but I'm not sure if this is the right way to go 
about setting this up. I haven't seen anyone else mention
using arp directly.

Does anyone know if this is correct?

-- 
---------------------------------------------------------------------
John Creasey                                johnc@csdc.toshiba.com.au