Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Brian Haley <Brian.Haley@hp.com>
Subject: Re: Strange NFS problem - NOW FIXED!
Date: Thu, 31 Oct 2002 17:36:09 GMT	[thread overview]
Message-ID: <3DC169F6.CB93AB7@hp.com> (raw)
In-Reply-To: Pine.LNX.4.44.0210310946540.24561-100000@anahata.ma.ic.ac.uk

andy thomas wrote:

> There appears to be a bug in the ifconfig that ships with DU 4.0D so that if
> an interface is configured with primary IP address, netmask and alias IP all
> on one line, what actually happens is that the IP addresses are configured
> correctly but the broadcast addresses for both are the same as the alias IP
> address. So if I use the netsetup script to set the tu0 interface up, it
> places the following line into /.etc/rc.config:
>
>    IFCONFIG_0="155.198.192.7 netmask 255.255.255.0 alias 155.198.192.59"
>
> and at boot-up, the broadcast address is actually set to 155.198.192.59
> instead of 155.198.192.255.

This was not the way ifconfig was intended to be used, and we have
since corrected the problem by not allowing it:

# ifconfig tu0 155.198.192.7 netmask 255.255.255.0 alias 155.198.192.59
ifconfig: cannot set primary and alias addresses, or multiple alias addresses

You must call ifconfig separately for each address, or use the 'aliaslist'
option for a range of IP alias addresses.


> A separate script in /sbin/rc3.d now runs towards the end of the boot process
> (after everything else has been set up and has stabilised) to assign the IP
> alias to the tu0 interface:
>
>         /usr/sbin/ifconfig tu0 alias 155.198.192.59/24

The file /etc/inet.local is there to place IP alias info, and anything else you
want to do right after all the IP addresses are configured.

-Brian Haley, HP Tru64 UNIX Networking



      reply	other threads:[~2002-10-31 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 15:29 Strange NFS problem andy thomas
2002-10-31 10:07 ` Strange NFS problem - NOW FIXED! andy thomas
2002-10-31 17:36   ` Brian Haley [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