Networking centos下路由和网关的配置文件在哪里?

Networking centos下路由和网关的配置文件在哪里?,networking,routing,centos,gateway,Networking,Routing,Centos,Gateway,这些结果的配置文件在哪里 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U

这些结果的配置文件在哪里

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         192.168.0.204   0.0.0.0         UG    0      0        0 eth0
在以下文件中找不到条目

/etc/sysconfig/network
/etc/sysconfig/network-scripts/route-eth0
当我在/etc/sysconfig/networkscripts/ifcfg-eth0中更新网关时,但是当我运行

route -n
它给了我一个旧的结果:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         192.168.0.204   0.0.0.0         UG    0      0        0 eth0
我应该在哪里搜索这些条目?

请检查“/etc/network/interfaces”文件

请参阅以下链接:

~Shiva