Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Brian Haley <haley@zk3.dec.com>
Subject: Re: netsetup broken?
Date: Tue, 30 Oct 2001 15:00:23 -0500	[thread overview]
Message-ID: <3BDF06D7.84EEEA51@zk3.dec.com> (raw)
In-Reply-To: Pine.LNX.4.33.0110301641560.9287-100000@anahata.ma.ic.ac.uk

andy thomas wrote:

> Running netsetup to add the IP alias 137.73.192.59 to a network interface
> tu0 already configured with the address 137.73.192.7 produces the
> following strange ipconfig invocation:

...

> Is netsetup broken (this is on a DU 4.0D system)? And what is the correct
> ifconfig incantation for doing this?

You should not configure both a primary and alias IP address with
the same ifconfig command, in future releases ifconfig was changed
to complain and do nothing.  IP aliases should be put into /etc/inet.local,
it's run at boot-time after the other addresses are added to the system.
The line would look something like this:

    ifconfig tu0 alias 137.73.192.59 netmask 255.255.255.0

-Brian

-----------------------------------------------------
Brian P. Haley
Tru64 UNIX Networking Group
Compaq Computer Corporation





  reply	other threads:[~2001-10-30 20:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-30 16:50 netsetup broken? andy thomas
2001-10-30 20:00 ` Brian Haley [this message]
2001-10-31 12:28   ` andy thomas
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox