[oe] ip route add nat - returns RTNETLINK answers: Invalid argument
stuart68 at gmail.com
Wed Aug 12 11:39:48 CEST 2009
I am trying to set up routing between my wireless (wlan0) to my eth0 port.
I have set up the wlan0 as follows:
iface wlan0 inet static
iface eth0 inet dhcp
Both interfaces have been proven to work.
Within sysctl.conf net.ipv4.ip_forward=1
eth0 has ip address 192.168.2.207, wlan0 is as above, I want to allow
devices connected wireless to access the web so I have tried to set up nat
to allow packets to get routed through to 192.168.2.207.
I used the following command:
ip route add nat 192.168.2.207 via 192.168.10.100
To this I get the following error RTNETLINK answers: Invalid argument
I have looked at www.policyrouting.org, but I cannot see what I am doing
wrong. Any help would be great.
More information about the Openembedded-devel