Operating System - HP-UX
1833490 Members
2730 Online
110052 Solutions
New Discussion

netmask/Gateway changed itself

 
ckchan
Occasional Contributor

netmask/Gateway changed itself

Hello there,
Some of our Unix servers have access problem
suddenly, found that route table have been changed. Question, What would be the possible
cause ? Would the route table changed itself when encountered problem ?

Thank you
6 REPLIES 6
Muthukumar_5
Honored Contributor

Re: netmask/Gateway changed itself

May be some one tried to change the setting by command line with ifconfig or /etc/rc.config.d/netconf file is changed.

Are you using DHCP? If so your interface ip-address, gateway and netmask is changed too.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: netmask/Gateway changed itself

Hello,

Did you look into log files ? syslog.log and dmesg?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ckchan
Occasional Contributor

Re: netmask/Gateway changed itself

Hi
Nothing particular in dmesg and syslog. The server is not using DHCP,
One of the server, netmask has been changed, the other, the default gateway has been changed to the host ip address.
Would the server reread the setting in /etc/rc.config.d/netconf without rebooting the server?

thank you
Muthukumar_5
Honored Contributor

Re: netmask/Gateway changed itself

It is possible when you are doing as,

# /sbin/init.d/net stop
# /sbin/init.d/net start

it will do it. Check history files for ifconfig or route command usage.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: netmask/Gateway changed itself

Hello,

You can do with # /sbin/init.d/net
USAGE: /sbin/init.d/net {start_msg | stop_msg | start | stop}


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
ckchan
Occasional Contributor

Re: netmask/Gateway changed itself

Thank you !