...
[root@batpc2 ~]# ip route
default via 192.168.0.1 dev enp63s0 proto static metric 100
35.188.59.75 via 127.0.0.1 dev lo ##block bad website
192.168.0.0/24 dev enp63s0 proto kernel scope link src 192.168.0.22 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
ip route help | |
Add a new route: | ip route add default via 192.168.0.1 dev eth0 |
ip route help
Routing table | |
---|---|
route man: | |
ip route |
|
Centos: | ( install net-tools on ubuntu ) |
route -n |
|
route -nee |
|
...
Arch linux:
[root@centos66 ~]# ip route
192.9.200.0/24 dev eth1 proto kernel scope link src 192.9.200.1
...