[EVO 4G Android Development] bar3m3tal:
Thanks for the suggestions guys, I'm getting closer. I got it to work once. Then when I rebooted the phone it no longer works.

Here is the route table and ifconfig when it worked. 10.0.0.0/8 is the route I have in the config, it is getting the rest from the push route

/system/xbin/route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.100.177 * 255.255.255.255 UH 0 0 0 tun0

192.168.100.0 192.168.100.177 255.255.255.0 UG 0 0 0 tun0

192.168.5.0 * 255.255.255.0 U 0 0 0 eth0

10.0.0.0 192.168.100.177 255.255.255.0 UG 0 0 0 tun0

10.0.10.0 192.168.100.177 255.255.255.0 UG 0 0 0 tun0

10.5.0.0 192.168.100.177 255.255.0.0 UG 0 0 0 tun0

10.111.0.0 192.168.100.177 255.255.0.0 UG 0 0 0 tun0

10.0.0.0 192.168.100.177 255.0.0.0 UG 0 0 0 tun0

default 192.168.5.1 0.0.0.0 UG 0 0 0 eth0

# /system/xbin/ifconfig

/system/xbin/ifconfig

eth0 Link encap:Ethernet HWaddr 38:E7:D8:7B:AD:2C

inet addr:192.168.5.81 Bcast:192.168.5.255 Mask:255.255.255.0

inet6 addr: fe80::3ae7:d8ff:fe7b:ad2c/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:627 errors:0 dropped:0 overruns:0 frame:0

TX packets:682 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:111505 (108.8 KiB) TX bytes:76580 (74.7 KiB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:535 errors:0 dropped:0 overruns:0 frame:0

TX packets:535 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:31542 (30.8 KiB) TX bytes:31542 (30.8 KiB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

-00

inet addr:192.168.100.178 P-t-P:192.168.100.177 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

# ping 10.0.0.2

ping 10.0.0.2

PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.

64 bytes from 10.0.0.2: icmp_seq=1 ttl=127 time=30.1 ms

64 bytes from 10.0.0.2: icmp_seq=2 ttl=127 time=31.0 ms

64 bytes from 10.0.0.2: icmp_seq=3 ttl=127 time=33.8 ms

64 bytes from 10.0.0.2: icmp_seq=4 ttl=127 time=30.6 ms

64 bytes from 10.0.0.2: icmp_seq=5 ttl=127 time=34.8 ms

^C

C:\android-sdk-windows\tools>adb shell

# ping 10.0.10.3

ping 10.0.10.3

PING 10.0.10.3 (10.0.10.3) 56(84) bytes of data.

64 bytes from 10.0.10.3: icmp_seq=1 ttl=62 time=41.6 ms

64 bytes from 10.0.10.3: icmp_seq=2 ttl=62 time=76.5 ms

64 bytes from 10.0.10.3: icmp_seq=3 ttl=62 time=47.1 ms

^C
​

Here it is after, it looks identical to me, but it no longer works

/system/xbin/route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.100.177 * 255.255.255.255 UH 0 0 0 tun0

192.168.100.0 192.168.100.177 255.255.255.0 UG 0 0 0 tun0

192.168.5.0 * 255.255.255.0 U 0 0 0 eth0

10.0.0.0 192.168.100.177 255.255.255.0 UG 0 0 0 tun0

10.0.10.0 192.168.100.177 255.255.255.0 UG 0 0 0 tun0

10.5.0.0 192.168.100.177 255.255.0.0 UG 0 0 0 tun0

10.111.0.0 192.168.100.177 255.255.0.0 UG 0 0 0 tun0

10.0.0.0 192.168.100.177 255.0.0.0 UG 0 0 0 tun0

default 192.168.5.1 0.0.0.0 UG 0 0 0 eth0

# /system/xbin/ifconfig

/system/xbin/ifconfig

eth0 Link encap:Ethernet HWaddr 38:E7:D8:7B:AD:2C

inet addr:192.168.5.81 Bcast:192.168.5.255 Mask:255.255.255.0

inet6 addr: fe80::3ae7:d8ff:fe7b:ad2c/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:652 errors:0 dropped:0 overruns:0 frame:0

TX packets:811 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:121706 (118.8 KiB) TX bytes:88299 (86.2 KiB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:521 errors:0 dropped:0 overruns:0 frame:0

TX packets:521 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:32501 (31.7 KiB) TX bytes:32501 (31.7 KiB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

-00

inet addr:192.168.100.178 P-t-P:192.168.100.177 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)​

I added the 10.0.0.0/8 route and everything started working, but like I said after a reboot it no longer works, so apparently i did something else.