SeVirt ™

Make it secure

Android Network 5+ vs 4+

May 142016

Dear Visitor,

By this post we are starting new company blog regarding Android OS specific tricks.

The first theme is related to network configuration.

Android 4+ static network configuration

First of all set the IP for device and GW:

ifconfig DEV [IP] netmask [NETMASK]
route add default gw [GATEWAY] dev DEV

Next DNS settings:

setprop net.eth0.dns1
setprop net.eth0.dns2

Android 5+ specifics

To be able to reach any external network resource you would need:

ip rule add from all lookup main

 Best regards,



Powered by SeVirt