Try adding the MAC to your command line. Something like:
# Start the UML
kernel
ubd0=root_fs \
con0=fd:0,fd:1 \
eth0=tuntap,$IF,fe:fd:xx:xx:xx:xx
Tony
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Nic
> Sent: Friday, March 24, 2006 7:43 AM
> To: [email protected]
> Subject: [uml-user] tun/tap devices and uniqueness
>
>
> I've got a box with a software bridge on it running as a UML host.
>
> Each UML that runs gets it's own tun device added to the bridge. The
> UML is then run like this:
>
> # Start the UML
> kernel
> ubd0=root_fs \
> con0=fd:0,fd:1 \
> eth0=tuntap,$IF
>
> where $IF is the name of the tun device in the bridge.
>
> When the UML boots up it does a DHCP to get an address.
>
>
> Now... all this works in terms of the plumbing but *all* the UMLs have
> the same eth device HWAddr (mac address) so they all get the same IP.
>
> I want them to have different IPs.
>
>
> I thought, because they were all using different tun devices that they
> would get different IPs (each of the tun devices in the bridge has a
> different HWAddr).
>
> Can someone explain how to make the UML side of the tun devices have
> unique HWAddrs?
>
>
>
> Nic Ferrier
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking
> scripting language
> that extends applications into web and mobile media. Attend the
> live webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> User-mode-linux-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user