Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

create a "route" file:


vi /etc/sysconfig/network-scripts/route-eno16777736

default via 192.168.26.2


[root@centos7 network-scripts]# systemctl restart network.service


[root@centos7 network-scripts]# ip route

default via 192.168.26.2 dev eno16777736

169.254.0.0/16 dev eno16777736  scope link  metric 1002

192.168.26.0/24 dev eno16777736  proto kernel  scope link  src 192.168.26.11

  • No labels