problems with /etc/netmask on Solaris 8 system - SUMMARY

From: Steve Howie <showie_at_uoguelph.ca>
Date: Fri Oct 05 2007 - 09:18:08 EDT
Hi

Thanks to everyone who responded to my question regarding the 
/etc/netmasks file.

Most responses focussed on the fact that I had specified the base 
address of the physical subnet rather than the VLAN my machine is 
sitting on. So to this end, I'm going to test this change (the week 
after next unfortunately), and report back to the list on success/failure.

i.e. Change /etc/netmasks from

131.104.91.0  255.255.255.224

   -to-

131.104.91.96  225.255.255.224


Thanks to everyone

Scotty

---------- Original message ----------------------------


From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Steve Howie
Sent: Thursday, October 04, 2007 6:51 AM
To: sunmanagers@sunmanagers.org
Subject: Problems with /etc/netmasks on Solaris 8 system

Howdy

I'm having a problem with setting the correct values in /etc/netmasks on

a Solaris 8 system. We are moving it from a non-segmented subnet
(131.104.96.0) to an IP address (131.104.91.102) in a VLAN on the
131.104.91.0 subnet with a subnet mask of 255.255.255.224.


Old netmasks file

131.104.96.0	255.255.255.0


New netmasks file

131.104.91.0	255.255.255.224


The subnet mask is correct for the VLAN.

When I reboot the system after moving the ethernet cable to the new
subnet, I find the following settings for the interface using ifconfig:

IP address:	131.104.91.102   (correct)

Netmask:	255.255.0.0	(not correct, should be 255.255.255.224)

Broadcast:	131.104.255.255	(not correct, should be 131.104.91.127)


I manually corrected the problem by issuing the following command for
the interface eri0 after the system was rebooted

	ifconfig eri0 netmask + broadcast +

This works, but I need these values set correctly when the system boots
up.

Any ideas?  Is my syntax incorrect in the new /etc/netmasks file?

Thanks - will summarise to the list.

Scotty
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Oct 5 09:18:29 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:07 EST