Tag: route

Activate IP Forwarding

Activate IP Forwarding echo “1” > /proc/sys/net/ipv4/ip_forward

Static Route

Configure static route to reach network ‘192.168.0.0/16’ route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1

Configure Gateway

Configure the default gateway route add -net 0/0 gw IP_Gateway

Show routing table

show routing table route -n