[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ifconfig alias



> -----Original Message-----
> From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org] 
> On Behalf Of John R. Shannon
> Sent: 01 February 2005 10:26
> To: misc@openbsd.org
> Subject: ifconfig alias
> 
> 
> What am I doing wrong?
> 
> # ifconfig dc0
> dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:03:ba:05:fb:06
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet6 fe80::203:baff:fe05:fb06%dc0 prefixlen 64 scopeid 0x1
>         inet6 fec0:0:101::3 prefixlen 64
>         inet 192.168.1.3 netmask 0xfffffff0 broadcast 
> 192.168.1.15 # ifconfig dc0 inet alias 192.168.1.9 netmask 
> 255.255.255.255
> ifconfig: SIOCAIFADDR: File exists
> 
> OpenBSD 3.6  sparc64
> 
> -- 
> John R. Shannon
> john@johnrshannon.com
> 
> 

Hi John,

man ifconfig(8)

'ifconfig -A' will show you aliases ifconfig on it's own does not.


Mark Redding
Network Services Engineer
Datatote Ltd