Use netstat -rn command to view
Use cat /etc/ Use the sysconfig/network-scripts/ifcfg-eth0 command to view
Use the route -n command to view
Recommended tutorial: centos tutorial
The above is the detailed content of How to check the gateway address in centos. For more information, please follow other related articles on the PHP Chinese website!