Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 1995 11:00:23 +1100 (EST)
From:      Paul Reece <paul@trumpet.net.au>
To:        Justin Seger <shorty@iii.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I setup IP aliases?
Message-ID:  <Pine.BSF.3.91.951114105929.17621A-100000@jazz>
In-Reply-To: <199511132338.SAA18438@iii1.iii.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Nov 1995, Justin Seger wrote:

> I want to setup multiple IP addresses for one ethernet card, specifically:
> 199.232.47.49, 199.232.47.52, 199.232.47.53, 199.232.47.54
> 
> My default is to ifconfig le0 to 199.232.47.49.  I tried doing this:
> ifconfig le0 alias 199.232.47.52 then setting up an arp entry:
> arp -s 199.232.47.52 ethernetaddress pub
> 
> I then try to ping 199.232.47.52 and get no response.  Could someone tell me
> what I'm doing wrong?  Thanks in advance.
> -Justin Seger-

do a man ifconfig

the command is:

ifconfig <interface> alias <ip address>

Rgds,
Paul.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951114105929.17621A-100000>