Hey Guys
I've got a weird issue where my service console (vswif0) loses it's default gateway...
I've tried configuring it in the VI Client and in /etc/sysconfig/network but it just will not set... I have to manually add a route as "route add default gw 10.0.0.1".
But even then when I reboot or restart the network service, the gateway is dropped.
My /etc/sysconfig/network file looks like:
NETWORKING=yes
HOSTNAME=host.domain.com
GATEWAY=10.0.0.1
Other things to note...
vswif0 is configured as part of a port group "Service Conole" with a vLanID of 4000
Any advice would be much appreicated.
Andrew.
Hello mcdmagix,
you should try the following:
update your /etc/sysconfig/network file to :
HOSTNAME=host.domain.com
GATEQYDEV=vswif0
GATEWAY=10.0.0.1
NETWORKING=yes
Thank you dmaster
Although your suggestion didn't work, it did prompt me to have a look in /etc/sysconfig/network-scripts/ifcfg-vswif0
I noticed that the like NETWORK= was actually set to the completely wrong subnet... oopps. :smileygrin:
The default route is now setting correctly after a restart..