From: andy thomas <andy@ic.ac.uk>
Subject: Re: netsetup broken?
Date: Wed, 31 Oct 2001 12:28:06 +0000 [thread overview]
Message-ID: <Pine.LNX.4.33.0110311225280.515-100000@anahata.ma.ic.ac.uk> (raw)
In-Reply-To: <3BDF06D7.84EEEA51@zk3.dec.com>
On Tue, 30 Oct 2001, Brian Haley wrote:
> 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
Thanks for this information. It was the netsetup script that was
generating the ifconfig command with both primary and alias addresses in
the same line!
cheers,
Andy
prev parent reply other threads:[~2001-10-31 12:28 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
2001-10-31 12:28 ` andy thomas [this message]
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