failed in debian to configure the net bridge
fllow these,
1. First install the bridge utilities (bridge-utils). package. You can do this fromthe command line as follows:
sudo apt-get install bridge-utils
2. Next, you must add an entry to the file /etc/network/interfacesto de-scribe the bridge. The following sample entry creates a bridgecalled br0, addsthe host ethernet interface eth0 to it and tells it toobtain an IP address usingDHCP so that the host remains able to accessthe network.
auto br0
iface br0 inet dhcp
bridge_ports eth0
You will probably want to change this to suit your own networkingneeds. Inparticular, you may want to assign a static IP address to thebridge.
3. Restart networking on the host:
sudo /etc/init.d/networking restart
After this the bridge will be recreated every time you boot your host system.
after above,the addresses of br0 and eth0 are the same,and my host(debian5)can't ping my local or outside,then I am so sad.
Does any one know about these?Please help me.
|