pcrequest
asked on
change default gateway, check static routes
I'm running a few versions (from the last few years) of CentOS. I want to check and adjust if necessary my default gateways. I have root access via ssh from the same subnet, so i won't lose connection if i bungle the default gateway. I know enough to check ifconfig, but that tells me everything except the default gateway.
How would I check for static routes? I'm familiar with windows route print command. I may need to delete a route.
Assume I'm very clumsy with linux.
How would I check for static routes? I'm familiar with windows route print command. I may need to delete a route.
Assume I'm very clumsy with linux.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Admin, I tried closing this too soon. Can you reset to to open please, and cancel the point distribution?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
GUI is evil. Better use "Method #3: Edit configuration files stored in /etc/sysconfig/network-scr ipts/" on the link you mentioned.
/etc/init.d/network is a bash script, and you can check step by step what is playing when you run it.
/etc/init.d/network is a bash script, and you can check step by step what is playing when you run it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i fixed the problem by editing default gateway in the gui. i had to plug kvm in.
ASKER
I want the gateway to be 192.168.0.1. It keeps reverting to 192.168.0.3.
Open in new window