Summary: setting solaris 2.5.1 for a class be subnet mask

From: Nicci Tynen (nicci@orincon.com)
Date: Fri Mar 06 1998 - 15:06:17 CST


Hi,

Thanks to Patrick Shannon, Srikanth, Varadarajan Rajkumar, Dale Gilmore,
Birger Wathne, Kwok Che Tang, Drexx Laggui, Christoperh Banard, CAth
Smith, James Harmon, Derek Eichele, Jeff Graham, Harry levinson,
Nickolai Zeldovich and Waqar Hafiz.

The trick was sys-unconfig, worked like a charm!

Thanks again!

Nicci

Original message:

> Hi,
>
> I hope this isn't a RTFM or total newbie question, but here's the deal:
>
> The machine is a sparc 5 running Solaris 2.5.1
>
> I recently reconfigured my network. I want to have the following
> configuration for example: 198.2.0.x with a subnet mask of 255.255.0.0
>
> I change the /etc/hosts file, I use ifconfig -au to set the ip and
> netmask, and add the following to /etc/netmasks:
> 198.2.0.0 255.255.0.0
>
> I type ifconfig -a and the netmask reads ffff0000
>
> Then I reboot. When the host comes up, I log in and type ifconfig -a
> and I see the following:
>
> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
> inet 127.0.0.1 netmask ff000000
> le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
> inet 198.2.0.130 netmask ff000000 broadcast 10.255.255.255
>
> Before I was a class C subnet mask and that worked fine. What am I
> missing that would override my ifconfig for a class B subnet mask to a
> class A subnet mask? I'm at a loss. Any ideas?
>
> TIA,
> Nicci
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT