Date: Mon, 13 Nov 1995 16:20:46 -0800 (PST) From: bmk@dtr.com To: paul@trumpet.net.au (Paul Reece) Cc: shorty@iii.net, freebsd-questions@freebsd.org Subject: Re: How do I setup IP aliases? Message-ID: <199511140020.QAA07562@dtr.com> In-Reply-To: <Pine.BSF.3.91.951114105929.17621A-100000@jazz> from "Paul Reece" at Nov 14, 95 11:00:23 am
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>
It appears to me that that is what he's doing. One step that's missing
is that he will need to use a netmask of 0xffffffff on the aliases if
they are on the same subnet.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511140020.QAA07562>
