The device at 192.168.1.1 needs to know about your 192.168.2.0/24 network. I'm guessing it's a Linksys router and you have a DHCP address which will keep moving around. If this is the case, first move your Slackware wlan0 to a static IP address within the subnet but outside the DHCP pool such as 192.168.1.2. Then open the Setup > Advanced routing and add:
Route name: anythingyoulike
Destination LAN ip: 192.168.2.0
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.2
You'll also need to enable IP forwarding on the Slackware box.
echo 1 > /proc/sys/net/ipv4/ip_forward
Last edited by Snowbat; 10-25-2005 at 11:54 PM.
|