From owner-freebsd-questions Tue Feb 20 6:49:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 6E00C37B401 for ; Tue, 20 Feb 2001 06:49:36 -0800 (PST) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id QAA14552; Tue, 20 Feb 2001 16:54:46 +0100 Message-ID: <3A928424.CAD3496E@i-clue.de> Date: Tue, 20 Feb 2001 15:50:12 +0100 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: Odhiambo Washington Cc: FBSD-Q Subject: Re: Multiple IPs on FreeBSD and TCP/IP References: <20010220154936.A14608@poeza.iconnect.co.ke> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Odhiambo Washington schrieb: > > Hi, > I'm a bit confused when it comes to having multiple IPs on one interface. > Here is my situation: > I have this box running 4.2-STABLE with an fxp0 to which I have assigned > an IP in the range of 212.22.163.0/24. I also happen to have another small > block of 64.110.74.48/28 > So I have this: > ifconfig_fxp0="inet 212.22.163.2 netmask 255.255.255.0" > ifconfig_fxp0_alias0="inet 64.110.74.50 netmask 255.255.255.240" > defaultrouter="64.110.74.49" > > Now in this situation how does the box identify itself to the outside > world? I have a gw of 212.22.163.1 but it seems if I use this for > defaultrouter then some services seem to fail. AFAIR aliased ip's should be bound as single IP "inet 64.110.74.50 netmask 255.255.255.255". IP aliasing is to have multiple IPs bound to one network board. Using it the way you do, both nets will be connected to the very same wire. Makes little sense to me. Why not break up both nets and put two network boards into the box? HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message