Code: Select all
------------------ ----------------------------------------------- --------------------
|win(192.168.16.1)| ------lan------ |(192.168.16.2 -eth0)Debian(10.168.16.125 - ra0)|--)))))wlan((((--|(10.168.16.115 - AP)|--other computers--
------------------ ----------------------------------------------- --------------------
10.168.16.*** subnet 255.255.255.128 gateway 10.168.16.1
192.168.16.*** subnet 255.255.255.0
route table looks like this:
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.168.16.0 0.0.0.0 255.255.255.128 U 0 0 0 ra0
192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 10.168.16.1 0.0.0.0 UG 0 0 0 ra0
I have enabled ip_forward in /etc/network/options and /proc/sys/net/ipv4/ip_forward.
From win I can ping 192.168.16.2, 10.168.16.125 (ra0 on debian) but i can't go any further... I cant ping 10.168.16.115 or 10.168.16.1. I get request timeout...
Can someone help me?
Also, where can I add permanent routes so they stay there after reboot?