LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bridge between ethernet interface and tap interface (https://www.linuxquestions.org/questions/linux-networking-3/bridge-between-ethernet-interface-and-tap-interface-718172/)

jayadhanesh 04-10-2009 06:57 AM

Bridge between ethernet interface and tap interface
 
Hi,

I have created a TAP interface and a Bridge. My linux system (system 1) has 2 NIC, eth0 and eth1. I have added the TAP interface and eth1 to the bridge. I have another linux system (system 2) connected to eth1 through a switch, both are in the same network. Iam not able to ping to eth1 of system 1 from system 2. The ethereal running on the bridge is able to capture the Echo Request packets. But, when I make eth0 and eth1's IP
address as 0.0.0.0, the ping succeeds. Why is the bridge not able to respond to the ping packets?

Thanks,
Dhanesh.

rossonieri#1 04-10-2009 03:33 PM

hi jaya,

a bit unclear.
did you put those 2 NICs under the same bridge (like br0) - or did you put only 1 of them to the bridge and the other 1 as router port?

by bridging - its an layer 2 mechanism, you simply dont need IPs actually (or optionally).

HTH.

jayadhanesh 04-12-2009 09:30 PM

Hi,

I have eth0 in route mode, eth1 and tap0 added to the bridge br0.
eth0 and br0 has a valid IP address where as eth1 and tap0 doesnt have an IP.

Thanks,
Jaya Dhanesh.

rossonieri#1 04-12-2009 11:32 PM

hi jaya,

ok then, so the problem lies within br0 as switch virtual router.
so being eth0 as in route mode - you need to create routing for those eth0 and br0

HTH.


All times are GMT -5. The time now is 11:25 PM.