Hello, Am Donnerstag, 23. Juni 2005 13:52 schrieb [EMAIL PROTECTED]: > Hello, I have a host that has one internal, and one external nic, with two > available external ips. > I'd like to run the uml machine on the second external ip, with eth0 > inside the uml has one of the available external ips. > I haven't been able to figure out how to do this however.
make a bridge between the host eth0 and the tun/tap interface used in uml as eth0. > Right now I'm running both external ips on the host using eth0 and eth0:0 > then I use tuntap (with private ips) and nat to get traffic to the loaded > uml machine. That's okay but I really want it to have the second external > ip inside the uml. So you have allready configured tun/tap und the step to make bridge is not far. > I've tried loading tuntap various ways with different ips and inside the > uml, but I'm shooting in the dark at this point. > any help appreciated thanks :) I wrote a little howto for debian: http://sourceforge.net/mailarchive/message.php?msg_id=11933567 For you, perhaps you only need to bridge eth0 with tap0 and use on the host br0 instead of eth0 for your first official ip (i supose you have a working tap0 device): # add new brdige br0 brctl addbr br0 # configure br0 with your official ip (ATTENTION: With this you could loose # the internet connection to your host!) ifconfig br0 (with values from eth0) # add eth0 to your bridge br0 brctl addif br0 eth0 # add tap0 to your bridge br0 brctl addif br0 tap0 The result ist, you have a bridged network. It is also possible that you don't assign a ip for your bridge. So the host would never be reached over tcp/ip (useful only if you have local access to your uml host). -- greetings eMHa
pgpGzSNr3sDOb.pgp
Description: PGP signature