2012年5月9日 星期三

[Ubuntu] Using VMware with Windows 7 && Connect to Embedded System to test Web Browser


[Ubuntu] Using VMware with Windows 7 && Connect to Embedded System to test Web Browser



1. Choose "Custom:Specific vertual network" -> select "/dev/vmnet1"





2. Setting "IP as 192.168.100.x " "submask as 255.255.255.0" "Gateway IP as 192.168.100.1 "





3. Go to Ubuntu 

sudo ifconfig vmnet1 192.168.100.30

 



4. Create a bridge

brctl addbr uml-bridge (if not brctl command, please type "sudo apt-get install bridge-utils" )



5. Add interface to bridge

sudo brctl addif uml-bridge eth1 (Because I want connect to eth1, so the vmnet1's IP must at the same domain as eth1)



sudo brctl addif uml-bridge vmnet1

 



6. Assign IP to bridge





sudo ifconfig uml-bridge 192.168.100.100 netmask 255.255.255.0 up



 

Related Posts:

0 意見:

張貼留言