How to set the default gateway if I configured IPv4 and IPv6 address?
Firstly,I used the Rhel.
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
220.127.116.11 18.104.22.168 255.255.255.255
default 22.214.171.124 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!