Netmask Changes in Solaris 10

Hi Team,

We tried to change the netmask and broadcast address in solaris 10 by below steps

ifconfig ipge0 down

ifconfig ipge0 <ipaddress> netmask <subnet mask> broadcast <address

ifconfig ipge0 up

But interface is not up.The command (ifconfig ipge0 up) is hanged for long time without giving any error.

So, we changed the new netmask in the /etc/inet/netmasks and rebooted the server. The new changes got affect only after reboot.

Could you please confirm the Solaris 10 requres reboot for changes in netmask.

Regards,

R. Rajesh Kannan.>

[617 byte] By [grkrajesha] at [2007-11-26 18:04:11]
# 1

No, it doesn't need a reboot.

In fact, you don't even have to take the interface down....

I would edit /etc/netmasks so that the correct setting was in there for the next time I booted. Then:

'ifconfig <interface> netmask + broadcast +' (Yes, with the '+' symbols).

That should do it. No need to down or up.

--

Darren

Darren_Dunhama at 2007-7-9 5:34:31 > top of Java-index,Solaris Operating System,Solaris 10 Features...