ip link set up dev eth0 ip address add 10.0.0.2/32 brd + dev eth0 ip route add 0.0.0.0/0 via 10.0.0.1 dev eth0 ip link set up dev eth1 ip address add 192.168.0.254/24 brd + dev eth1 ip address add 192.168.1.254/24 brd + dev eth1 ip address add 192.168.2.254/24 brd + dev eth1 ip link set up dev eth2 ip address add 192.168.2.254/24 brd + dev eth2 ip route add 10.1.0.0/24 via 192.168.0.1 ip route add 10.2.0.0/24 via 192.168.0.1 ip route add 10.3.0.0/24 via 192.168.0.1 ip route add 10.4.0.0/24 via 192.168.0.1 ip route add 10.5.0.0/24 via 192.168.0.1