Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2000 23:49:31 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        "Eric Paynter" <eric@arcticbears.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: arp: x is on y but got reply on z 
Message-ID:  <200011190549.eAJ5nVS23121@grumpy.dyndns.org>
In-Reply-To: Message from "Eric Paynter" <eric@arcticbears.com>  of "Sat, 18 Nov 2000 20:16:25 PST." <20001119042629.1B1B437B4C5@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Eric Paynter" writes:
> Right, good option. So, how do I put more than one IP on the same nic?
> Or is that a question for the newbie list?

man ifconfig(8) says:

     alias   Establish an additional network address for this interface.  This
             is sometimes useful when changing network numbers, and one wishes
             to accept packets addressed to the old interface.  If the address
             is on the same subnet as the first network address for this in-
             terface, a netmask of 0xffffffff has to be specified.

Also see man rc.conf(5) and search for alias to see how to cleanly set 
it up at boot.

--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011190549.eAJ5nVS23121>