Linux下默认网关的删除以及添加
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
添加
route add default gw 10.0.1.1
删除:
route del default gw 10.0.1.1
以上是命令行的方式,
默认网关可以在/etc/sysconfig/network 或 /etc/sysconfig/network-scripts/ifcfg-eth0里修改,重启网络后生效。




A beautiful web dashboard for Linux
最近提交(Master分支:7 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)