This is an intro presentation to using the powerful tools for provided for linux in the area of networking. These are command line only tools because in a good network firewall, you won't have the option of graphical tools.
19. iproute - Routes ip route add default dev eth1 via 66.77.88.99 ip route add 10.0.0.0/24 dev eth1:1 ip route delete (ip r d) ip route change (ip r c) ip route show (ip r s)
20. iproute - the routing table $ ip route sh table main 10.0.0.0 dev eth0 scope link 10.11.12.0/24 dev eth0 proto kernel scope link src 10.11.12.13 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.159 metric 1 169.254.0.0/16 dev eth0 scope link metric 1000 default via 192.168.1.254 dev eth0
21. iproute Rules! ip rule add from unknown type unreachable priority 3000 ip rule add from enemy type blackhole priority 3001 ip rule add fwmark 1 table hide-the-good-stuff priority 3002 ip rule add from 10.10.20.0/24 to 192.168.0.0/24 type unreachable priority 3003
22. iproute - Tunnels ip addr add 10.0.0.1/30 label eth1:1 dev eth1 ip tunnel add my_tunnel mode ipip local 10.0.0.1 / remote 66.77.88.1 ttl 64 dev eth1 ip address add dev my_tunnel 10.0.0.1 peer 10.0.0.2/32
23. iproute - neighbours $ ip neigh sh 192.168.1.5 dev eth0 FAILED 192.168.1.4 dev eth0 lladdr 00:1e:c9:dd:d8:b8 REACHABLE 192.168.1.254 dev eth0 lladdr 00:50:da:21:8c:11 REACHABLE 192.168.1.3 dev eth0 FAILED 192.168.1.2 dev eth0 lladdr 00:11:2f:11:08:3e STALE