On Thu, 23 Jun 2005 [EMAIL PROTECTED] wrote:
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.
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.
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 :)
Hello!
You can start a bridge br0 that, at start has eth0. Then, you add
tap9 interface in bridge and provide a socket (/tmp/IP2), then start uml:
brctl addbr br0
brctl addif br0 eth0
ifconfig br0... (the ip that were on eth0)
uml_switch -unix /tmp/IP2 -tap9
brctl addif br0 tap9
Here start uml with para: eth0=daemon,<mac>,,/tmp/IP2
Inside uml you can use the second ip.
Calin
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/