设置好ip和网关dns,却无法连接外网也无法ping通外网ip
route -e 或 route -n 查看路由表情况
route add default gw 192.168.190.254 添加默认路由
添加永久路由/etc/sysconfig/static-routes
any net 0.0.0.0 netmask 0.0.0.0 gw 192.168.190.254
设置好ip和网关dns,却无法连接外网也无法ping通外网ip
route -e 或 route -n 查看路由表情况
route add default gw 192.168.190.254 添加默认路由
添加永久路由/etc/sysconfig/static-routes
any net 0.0.0.0 netmask 0.0.0.0 gw 192.168.190.254