Thursday, October 15, 2009

Routing

This is a basic routing command, we want to add 192.168.128.0 network with gateway 172.16.1.34, when a client from network 192.168.128.0 request, they will route to 172.16.1.34

route add -net 192.168.128.0 netmask 255.255.240.0 gw 172.16.1.34