when using uml_switch, and connected to tuntap
uml_switch -t tap0
and uml's are configured with eth0=daemon
so, when I boot up each uml, the eth0 in all of them are
FE:FD:00:00:00:00
The problem is with more than one uml, with same mac address, drops from bridged network.
How could I use different mac addresses in each uml when using the eth0=daemon and the uml_switch method
(uml_utilities-20030312)
(uml-patch-2.4.20-4)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What I am doing, is giving the usermode linux instances bridged ethernet acess to the physical network on host, using eth0, tap0, on br0, with uml_switch
eth0 on host machine is configured with dhcp (machine is a notebook, moves between two sites)
inside each guest uml, eth0 is also configured with dhcp.
I found that when i just run dhcp, which brings up interface without an ip address, then i get the default FE:FD:0:0:0:0
mac address on the interface, which is ok enough for one uml, but more than one uml causes problems.
So, the work around i found that works for my situation,
in the ifup script i use, to assign the interface some ip address, any really, to bring up the eth0 inside the uml with some ip address.
This seems to cause the eth0 in the uml to have some mac address that is not FE:FD:0:0:0:0.
Have a nice day!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when using uml_switch, and connected to tuntap
uml_switch -t tap0
and uml's are configured with eth0=daemon
so, when I boot up each uml, the eth0 in all of them are
FE:FD:00:00:00:00
The problem is with more than one uml, with same mac address, drops from bridged network.
How could I use different mac addresses in each uml when using the eth0=daemon and the uml_switch method
(uml_utilities-20030312)
(uml-patch-2.4.20-4)
ok, figured this one out.
What I am doing, is giving the usermode linux instances bridged ethernet acess to the physical network on host, using eth0, tap0, on br0, with uml_switch
eth0 on host machine is configured with dhcp (machine is a notebook, moves between two sites)
inside each guest uml, eth0 is also configured with dhcp.
I found that when i just run dhcp, which brings up interface without an ip address, then i get the default FE:FD:0:0:0:0
mac address on the interface, which is ok enough for one uml, but more than one uml causes problems.
So, the work around i found that works for my situation,
in the ifup script i use, to assign the interface some ip address, any really, to bring up the eth0 inside the uml with some ip address.
This seems to cause the eth0 in the uml to have some mac address that is not FE:FD:0:0:0:0.
Have a nice day!