How to set the default gateway if I configured IPv4 and IPv6 address?
Firstly,I used the Rhel.
My question: I configured both ipv4 and ipv6 address to the interface eth0,and I want to add both ipv4 and ipv6 default gateway to eth0,what about the routes file? Right now I saved the the information in the /etc/sysconfig/network/routes sys001A64131012:/etc # cat /etc/sysconfig/network/routes 9.181.137.154 9.181.137.1 255.255.255.255 default 9.181.137.1 0.0.0.0 eth0 So if I want to add a ipv6 default gateway,how can I modify the routes file? Thanks in advance for your help! |
Are you sure you posted that correctly? ... /etc/sysconfig/network is usually a file not a directory
|
All times are GMT -5. The time now is 12:54 PM. |