Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 1996 17:57:32 +0100 (BST)
From:      Nik Clayton <nik@blueberry.co.uk>
To:        wollman@lcs.mit.edu (Garrett Wollman)
Cc:        questions@freebsd.org
Subject:   Re: ifconfig aliasing
Message-ID:  <199606051657.RAA18766@guava.blueberry.co.uk>
In-Reply-To: <9606051612.AA07808@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Jun 5, 96 12:12:24 pm

next in thread | previous in thread | raw e-mail | index | archive | help
['ifconfig -a' not showing aliases on an interface]
> Ummm...
> 
> root@khavrinen(2)# ifconfig ed0 alias 10.1.1.1 netmask 0xffffffff     
> root@khavrinen(3)# ifconfig -a
> ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 18.26.0.162 netmask 0xfffff000 broadcast 18.26.0.0
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>         inet 10.1.1.1 netmask 0xffffffff broadcast 10.1.1.1
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>         ether 00:00:c0:be:a8:75 
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> ds0: flags=8008<LOOPBACK,MULTICAST> mtu 65532

This doesn't work for me. At start up I do a bunch of aliases to de0. All
these work, because I can ping them, traceroute to them, and other 
machines on the network can talk to them, but 'ifconfig -a' just shows:

de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.70.52.51 netmask 0xffffff00 broadcast 194.70.52.255
        ether 00:40:05:00:04:5d 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500

'de0' has 1 primary address (.51) and 5 aliases assigned to it.

Perhaps it's dependent on the driver being used?

N
-- 
--+=[ Blueberry Hill                   Blueberry Design                   ]=+--
--+=[ http://www.blueberry.co.uk/      1/9 Chelsea Harbour Design Centre, ]=+--
--+=[ WebMaster@blueberry.co.uk        London, England, SW10 0XE          ]=+--
--+=[ I'm a 'control' freak.                 But I quite like 'meta' too. ]ENTP



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