Re: bridge to local process.
"Steffen Heil" <lists-97Gl/[email protected]> Wed, 13 Jun 2007 21:58:27 +0200
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <3CF2C8970E6843269DA7026AA2AB255C@shs1> |
Hi > > ifconfig br0 10.1.1.1 netmask 255.255.255.255 up > > A netmask of 255.255.255.255 (/32) will prevent the bridge > from being able to talk to ANY system. > > > There is no default gateway ... the bridge itself does not need > > internet connectivity. > > The bridge may not need internet connectivity, but it does > need to be able to talk to the subnet for the computers it is > bridging for. > > Do not give the bridge a default gateway if you do not want > it to talk to the internet. > > > How can I have the local process send packets back to the > sender?? I > > am seeing packets coming into the interface, however, nothing gets > > sent back! > > Try allowing the bridge to talk to the subnet that you are > wanting to work with. That's true and false. First, bridges don't need any IP address, as they are working on level below. Thus both networks eth0 and eth1 should be the same network and subnet. The IP configuration for the bridge itself is used as the ip and subnet of the local system. If you want to send from the local system, it needs to know the routes and therefor you need a proper netmask. (255.255.255.255 is special for PPP but unusable for LANs.) Regards, Steffen ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ebtables-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ebtables-user
smime.p7s
(application/x-pkcs7-signature, 3 KB) - not displayed