From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3109055b2e57fdce X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-31 04:25:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!demon!xara.net!gxn.net!server6.netnews.ja.net!server4.netnews.ja.net!jura.cc.ic.ac.uk!anahata.ma.ic.ac.uk!andy From: andy thomas Newsgroups: comp.unix.tru64 Subject: Re: netsetup broken? Date: Wed, 31 Oct 2001 12:28:06 +0000 Organization: Imperial College, London, UK Message-ID: References: <3BDF06D7.84EEEA51@zk3.dec.com> Reply-To: NNTP-Posting-Host: anahata.ma.ic.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: jura.cc.ic.ac.uk 1004531067 2303 155.198.192.57 (31 Oct 2001 12:24:27 GMT) X-Complaints-To: usenet@jura.cc.ic.ac.uk NNTP-Posting-Date: 31 Oct 2001 12:24:27 GMT X-X-Sender: In-Reply-To: <3BDF06D7.84EEEA51@zk3.dec.com> Xref: archiver1.google.com comp.unix.tru64:5606 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