From owner-freebsd-isp Mon Aug 6 6:34: 8 2001 Delivered-To: freebsd-isp@freebsd.org Received: from hex.databits.net (hex.databits.net [207.29.192.16]) by hub.freebsd.org (Postfix) with SMTP id E7FCA37B405 for ; Mon, 6 Aug 2001 06:33:32 -0700 (PDT) (envelope-from petef@hex.databits.net) Received: (qmail 25329 invoked by uid 1001); 6 Aug 2001 13:34:20 -0000 Date: Mon, 6 Aug 2001 09:34:20 -0400 From: Pete Fritchman To: alexus Cc: freebsd-isp@freebsd.org Subject: Re: another ip as alias on NIC doesn't work properly Message-ID: <20010806093420.C71790@databits.net> References: <002e01c11e31$7a0eddf0$0100a8c0@alexus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002e01c11e31$7a0eddf0$0100a8c0@alexus>; from ml@db.nexgen.com on Mon, Aug 06, 2001 at 12:37:18AM -0400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ++ 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 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 ) | status: active | alexus@~# | | for some reason when i'm trying to irc using my second ip, it rolls over to | first -pete -- Pete Fritchman Databits Network Services, Inc. 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