Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 1996 22:54:01 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        rishim@teil.soft.net (Rishi Gautam)
Cc:        questions@freebsd.org
Subject:   Re: ifconfig
Message-ID:  <199607222054.WAA06567@uriah.heep.sax.de>
In-Reply-To: <9607230323.AA17217@teil.soft.net> from Rishi Gautam at "Jul 22, 96 07:23:57 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
(Redirected to -questions.)

As Rishi Gautam wrote:

> ifconfig ed1 alias [address] netmask [netmask]

> if I am using the netmask option with netmask same as of the netmask
> of the exsisting configured addres, I am getting error "File exsits"

Yes, use this only when adding addresses for other (sub)networks,
not when adding an alias inside the same network.  For the latter
case, do always use 0xffffffff.

> If I didn't using the netmas option or giving some other netmask
> the command exits succesfully. But if I typed the "ifconfig ed1", 
> it doesn't show me all the address. It shows only the old address.

That's FreeBSD 2.1, right?  The ifconfig there didn't show more than
one address.  This has been fixed now.

netstat -r should tell you about all aliases however.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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