I will try to explain my situation.
I have a linux machine with a physical interface and 2 public internet
I have installed a uml machine (2.6.12-rc4 works great) and i want to
assign one of the public ips to the daemons in the uml machine while
the host machine (vanilla 220.127.116.11) uses the other ip
I have followed the steps for bridging in
and I have setup a bridge,
1. ifconfig eth0 0.0.0.0 promisc up
2. brctl addbr uml-bridge
3. brctl setfd uml-bridge 0
4. brctl sethello uml-bridge 0
5. brctl stp uml-bridge off
6. ifconfig uml-bridge my.public.ip netmask 255.255.255.0 up
7. brctl addif uml-bridge eth0
The bridge it's up, but I lose all the conectivity in the machine even
a single ping doesnt respond.
I think it must be something related to my host provider or somethin
related with the bridge-utils program (debian sarge)
So my questions are:
It's the right way what i'm doing?
Is there some identified problem with bridging?
Is there another way to do the networking?
Thanks in advance
From: David Cannings <lists@ed...> - 2005-05-24 10:19:51
Celso González wrote:
> 1. ifconfig eth0 0.0.0.0 promisc up
> 7. brctl addif uml-bridge eth0
These look good, but obviously you haven't added the UML TAP yet.
> The bridge it's up, but I lose all the conectivity in the machine even
> a single ping doesnt respond.
I am assuming here that you mean on the host machine.
> I think it must be something related to my host provider or somethin
> related with the bridge-utils program (debian sarge)
How does eth0 normally get the IP from your hosting provider? Does it
obtain it through DHCP? Or are you allowed to set it manually? To test
this, run something like
# ifconfig eth0 my.public.ip up
If you normally obtain the IP via DHCP, or your upstream provider locks
you by MAC address, you may have to set the MAC address on the bridge.