-   Linux - Networking (
-   -   Bridge between ethernet interface and tap interface (

jayadhanesh 04-10-2009 06:57 AM

Bridge between ethernet interface and tap interface

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, the ping succeeds. Why is the bridge not able to respond to the ping packets?


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).


jayadhanesh 04-12-2009 09:30 PM


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.

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


All times are GMT -5. The time now is 12:01 PM.