openwrt设置静态路由
OpenWRT配置静态路由
vi /etc/config/network
config route
option interface 'lan'
option target '192.168.10.0'
option netmask '255.255.255.0'
option gateway '192.168.2.2'
config route
option interface 'lan'
option target '192.168.20.0'
option netmask '255.255.255.0'
option gateway '192.168.2.2'
查看路由:
route
H3C设备开启路径回显命令为 :
ip unreachables enable
ip ttl-expires enable
评论已关闭