")
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Blaisorblade <[EMAIL PROTECTED]> writes:

>> then inside the VM I'll be able to dhcp to bring up their interfaces?
> Yes, this should work, possibly some further config is needed (dunno dhcpd 
> syntax) 

Ah. Well that's where I have you.


> but this is the idea. _HOWEVER_ you need explicit MAC addresses as 
> otherwise all UMLs will end up with the same MAC: when the interface it's 
> brought up the MAC is set as fe:fd:<the 4 IP bytes>, which works nicely with 
> ifconfig eth0 $ip, but isn't nice with ifconfig eth0 up,since they all get 
> the same IP.

I've suggested a recipe for dealing with this before (on this list).

You simply add a dhcp-client-identifier statement to the
dhclient.conf. dhcpd can arbitrate on address allocation on mac
address OR dhcp-client-identifier (or the hardware identifier but you
probably don't want to use that).

Here's an example; just add this to your /etc/dhclient.conf or
/etc/dhclient3.conf:

  send dhcp-client-identifier "someuml";

and then in your dhcp server's config file write host matches like
this:

    host example_uml_host {
      option dhcp-client-identifier "someuml";
      fixed-address 192.168.1.1;
      option host-name ...
      ...
    }


Nic


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to