static routes
Hello, i have an ubuntu server which im configuring as router.
In one interface i have internet, and in the other one i have LAN, and it works ok, i can surf the net, set up a server etc etc
Now i have a curiosity, my lan is 192.168.1.0 in eth0
Can i add a pc in that lan with ip: 192.168.111.111 (note different subnet) and add a route policy like: route add gw 192.168.111.0 through eth0 ???
If thats not possible, what are static routes for? any practical example??
|