From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,90fd1ae5a2edb263 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-10-31 09:35:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Message-ID: <3DC169F6.CB93AB7@hp.com> From: Brian Haley X-Mailer: Mozilla 4.79 [en] (X11; U; OSF1 V5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Strange NFS problem - NOW FIXED! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 31 Oct 2002 17:36:09 GMT NNTP-Posting-Host: 16.140.64.151 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1036085769 16.140.64.151 (Thu, 31 Oct 2002 09:36:09 PST) NNTP-Posting-Date: Thu, 31 Oct 2002 09:36:09 PST Organization: Hewlett-Packard Company Xref: archiver1.google.com comp.unix.tru64:9008 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