2008/12/1 Paul Lewis <bitfolk(a)pjlewis.org>rg>:
On CentOS:
nano /etc/sysconfig/network-scripts/ifcfg-eth0
Update NETMASK line from 255.255.255.0 to 255.255.254.0, and save
service network restart
Done :o)
Damn, beat me to it. Though I'd have used vim :p
I also only found out about "service network restart" recently. Before
that I'd just have used:
ifdown eth0 && ifup eth0
ho-hum, same result.
almost.
Service network restart takes down all your network interfaces and then
brings them back in order... including localhost.
sometimes the ifup/down route is the most sane :)
Stuart
--
Stuart Sears RHC*
"It's today!" said Piglet.
"My favourite day," said Pooh.