Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2001 09:34:20 -0400
From:      Pete Fritchman <petef@databits.net>
To:        alexus <ml@db.nexgen.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: another ip as alias on NIC doesn't work properly
Message-ID:  <20010806093420.C71790@databits.net>
In-Reply-To: <002e01c11e31$7a0eddf0$0100a8c0@alexus>; from ml@db.nexgen.com on Mon, Aug 06, 2001 at 12:37:18AM -0400
References:  <002e01c11e31$7a0eddf0$0100a8c0@alexus>

next in thread | previous in thread | raw e-mail | index | archive | help
++ 06/08/01 00:37 -0400 - alexus:
| i was able to bind second ip to my NIC, it seems binding just fine
| 
| alexus@~# ifconfig fxp0
| fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|         inet 66.92.98.145 netmask 0xffffff00 broadcast 66.92.98.255
|         inet 66.92.98.151 netmask 0xff000000 broadcast 66.255.255.255
                                    ^^^^^^^^^^
You certainly don't want your netmask to be 255.0.0.0.  In fact, for
aliased IPs in the same subnet as the main IP on the card, you want to
use 255.255.255.255.

|         ether 00:60:94:a5:cb:44
|         media: Ethernet autoselect (100baseTX <full-duplex>)
|         status: active
| alexus@~#
| 
| for some reason when i'm trying to irc using my second ip, it rolls over to
| first


-pete

--
Pete Fritchman <petef@databits.net>
Databits Network Services, Inc. <http://databits.net>;
finger petef@databits.net for PGP key

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




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