Does anyone have a simple procedure for setting up ip_forwarding between an Android device and a host computer via usb?
I have IP over USB working on both the host and Android device. Ping works in both directions. Here is the ip_forwarding configuration steps I took. Android IP: 192.168.1.2 Host IP: 192.168.1.1 On the Android device: 1. route add -n 10.10.0.0/16 gw 192.168.1.1 On the host computer: 1. echo 1 > /proc/sys/net/ipv4/ip_forward 2. echo 1 > /proc/sys/net/ipv4/usb0/forwarding /* actually not required, set with step #1 */ 3. route add -net 192.168.1.0/24 gw 192.168.1.2 dev usb0 4. route add -net 10.10.0.0/16 dev eth0 >From the Android device: ping 10.10.17.196 /* fails */ >From the host laptop: ping 10.10.17.196 /* works */ These steps were basically taken from a tldp.org HOWTO. Ideas? Thanks Allen -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

