Hello, 172.20.113.137 for your uml would work, as it is in the same lan as your host, but you need to bridge your host's interface to the tap you have just created.
Then if this worked, both your host and your uml would be able to access to your adsl router, BUT I have never been able to bridge (brctl from bridge-utils) a wlan interface to a tap. Last time I tried, the wifi interface could not be put in promiscious mode and it did not work. There are 2 alternatives to get the internet in an UML: 1 There should be an old software called slirp that can emulate an ip interface for your UML: Each TCP HTTP socket comes into the user world of your host, the data is extracted and put into emulated IP packets that penetrate into your UML machine as an IP flow with syn, synack and all TCP stuff. 2 There is cloonix, the slirp software (used also in qemu and in virtual box) has been rewriten and machines connect to the internet just like qemu machines. But cloonix supports UML machines. > Can someone help me with setting up networking in UML? > I am running Ubuntu 10.10 over linux 2.6.35.32 > I am compiling from source > linux-3.2.4.tar.bz2 > Debian-Squeeze-x86-root_fs.bz2 > Source build using commands > make defconfig ARCH=um > make mrproper ARCH=um > make ARCH=um > the UML is started using > ./linux ubda=Debian-Squeeze-x86-root_fs umid=myuml mem=128m > with this i am able to navigate directories and create files/folders. > So > UML begins to work > *For networking* > > - Ignored: > my host networking is at > wlan0 Link encap:Ethernet HWaddr 00:16:44:a8:bf:39 > inet addr:172.20.113.136 Bcast:172.20.113.255 > Mask:255.255.255.0 > > So to set up networking i use the commands at host > host : uml_mconsole myuml config eth0=tuntap,,,172.20.113.137 > > in my UML window i see > root@(none):~# Choosing a random ethernet address for device eth0 > Netdevice 0 (5a:66:7b:a0:86:d9) : > TUN/TAP backend - IP = 172.20.113.137 > > *and it is stuck at this point......* > > my final aim is to be able to access internet using UML. > > Please let me know if you need any other information. > Any help would be appreciated. > > -- > > Thanks > Regards > Saket Chawla > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2_______________________________________________ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user