ip

ip addr show eth0

ip link set eth0 up
ip link set dev up
ip link set dev down

ip addr add 192.168.1.33/24 dev eth0

ip addr del 10.0.0.2/24 dev tun2
ip link set tun0 down

ip -4 route get 8.8.8.8

# show routing table
ip route

# shut down interface
ip link set eth0 down

sudo ip route del default
sudo ip route add default via 192.168.1.254
sudo ip route add 10.0.3.123 dev tun0 scope link

ip link set dev eth0 mtu 1400

# route
#dep# sudo route add -net 192.168.254.0 gw 192.168.1.34 netmask 255.255.255.0 dev tap0
sudo brctl addbr br10
sudo ip link set dev br10 up
sudo ip route add 192.168.33.0/24 via 10.0.3.100 dev lxcbr0

# test (two routing tables)
echo "1 admin" >> /etc/iproute2/rt_tables
echo "2 users" >> /etc/iproute2/rt_tables
ip rule add from 192.168.122.40/32 dev eth0 table admin
ip rule add from 192.168.123.41/32 dev eth1 table users
ip route add default via 192.168.122.1 dev eth0 table admin
ip route add default via 192.168.123.1 dev eth1 table users

# Links
https://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
https://www.cyberciti.biz/faq/howto-linux-configuring-default-route-with-ipcommand/
http://www.tecmint.com/ip-command-examples/
https://tty1.net/blog/2010/ifconfig-ip-comparison_en.html