...
Centos | ||||||
---|---|---|---|---|---|---|
create a "route" file: |
| |||||
[root@centos7 network-scripts]# systemctl restart network.service | ||||||
| ||||||
Ubuntu | ||||||
create this file | /etc/network/interfaces | |||||
static ip address |
| |||||
dynamic ip address |
| |||||
show routes | root@boxed:~# ip r default via 192.168.0.1 dev wlan0 172.32.0.0/16 via 192.168.116.1 dev eth0 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.146 . . . | |||||
to be ch3eck first | up ip route add -net 172.32.0.0 netmask 255.255.0.0 gw 192.168.116.1 | |||||
...