*BSD News Article 58832


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!news.nic.surfnet.nl!rijnhaave.nl!news.cistron.nl!not-for-mail
From: miquels@cistron.nl (Miquel van Smoorenburg)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP Aliasing
Date: 4 Jan 1996 22:11:38 +0100
Organization: Cistron Internet Services - the Netherlands
Lines: 19
Message-ID: <4chfqa$6ae@picard.cistron.nl>
References: <147cc$11b15.165@kirk.microsys.net> <4ch3n8$2qe@nestor.sv.vtcom.fr>
NNTP-Posting-Host: picard.cistron.nl

In article <4ch3n8$2qe@nestor.sv.vtcom.fr>,
Pierre-Yves Kerembellec <pyk@sv.vtcom.fr> wrote:
>rastis@wimsey.com (Rastislav Seffer) wrote:
>
>>Could someone please tell me if FreeBSD can do IP Aliasing?
>
>Yes, of course it can ! (just look at the 'ifconfig'  manpage, options 'alias')
>By the way, if you're trying to alias 2 IP addresses in the same subnet, you can
>not directly use this facility ... you have to bind the new address to lo0
>(loopback device) instead, and then fill in the arp table manually (he, that's
>tricky for hot-plugging stations on the network or for WEB virtual hosts ...)

I've always been using ifconfig de0 alias 194.72.88.x netmask 255.255.255.255
for that, works just fine..

-- 
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:info@cistron.nl          http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)