linux系统添加子接口和默认路由并开机启动


[root@localhost ~]# vi /etc/rc.local


ifconfig adeth3:1 172.16.1.66/26

route add default gw 172.16.1.124