Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 1997 21:44:45 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        trig@netlink.co.uk
Cc:        mike@NetworX.ie, rama@easynet.fr, security@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Virutal Interfaces how ?? 
Message-ID:  <199704112044.VAA09518@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Fri, 11 Apr 1997 20:24:49 BST." <199704111924.UAA02103@bastion.netlink.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Michael Ryan wrote:
> > On Fri, 11 Apr 1997 17:59:43 +0200 (MET DST) David Ramahefason wrote:
> > 
> > > I've seen that aliasing on IP was allowed under FreeBSD,
> > > but How do I specify the name of those Interfaces as on
> > > Linux ??? de0:0-de0:1 etc....
> > 
> > If alias is on same IP network:
> > # ifconfig ed0 inet 194.9.12.99 netmask 255.255.255.255 alias
> > 
> > If alias is on different IP network:
> > # ifconfig ed0 inet 194.9.12.99 netmask 255.255.255.0 alias
> 
> We use this quite extensively, but is there any way of de-configuring
> one of these aliases without rebooting the machine?   With Linux you
> can just do an 'ifconfig ed0 down' I believe. 

"down" stops the interface.  Try

ifconfig ed0 inet x.x.x.x delete

> Christiaan
> 
> -- 
> - Christiaan Keet - trig@netlink.net.uk - Senior Systems Developer - Netlink -

-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>;
Don't _EVER_ lose your sense of humour....





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