Problems with /etc/netmasks on Solaris 8 system

From: Steve Howie (showie@uoguelph.ca)
Date: Thu Oct 04 2007 - 09:50:37 EDT


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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:24 EDT