Date: Tue, 20 Feb 2001 15:50:12 +0100 From: Christoph Sold <so@server.i-clue.de> To: Odhiambo Washington <wash@iconnect.co.ke> Cc: FBSD-Q <freebsd-questions@FreeBSD.ORG> Subject: Re: Multiple IPs on FreeBSD and TCP/IP Message-ID: <3A928424.CAD3496E@i-clue.de> References: <20010220154936.A14608@poeza.iconnect.co.ke>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A928424.CAD3496E>