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
18.104.22.168 22.214.171.124 255.255.255.255
default 126.96.36.199 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!