I have a temporary system up with wlan0 and eth2. I want the eth0 address to be the gateway for accessing the internet on wlan0.
How do I setup static routes?
I'm not too keen with networking...
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
10.1.1.0 * 255.255.255.0 U 1 0 0 eth2
default 10.1.1.254 0.0.0.0 UG 0 0 0 eth2