Running Android in VirtualBox

Posted by Jagadeesh VP | Posted in


Connecting Android4.0 in VirtualBox to a network

Initially you have to get root user access to do these changes.

Root User Permission
su


Manual Assignment
Setting IP for your android machine
ifconfig eth0 netmask 255.255.255.0 up

Setting Default Gateway IP
route add default gw dev eth0

DHCP Setting
dhcpcd eth0

Setting DNS
setprop net.dns1


You can see your DNS IP using the command ipconfig /all
To see IP settings in android 
ip a

Comments (0)

Post a Comment