LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   brctl error??? (https://www.linuxquestions.org/questions/linux-networking-3/brctl-error-717092/)

jayadhanesh 04-06-2009 01:30 AM

brctl error???
 
Hi,

I have a TAP interface (tap0) and ethernet interface (eth0) added to
a bridge br0. I used brctl command to creating and adding the interface to the bridge. If a packet comes with a destination MAC which is not in the
bridging table, the tap receives it which is as expected. But if i do a ping
to eth0 from another machine, the ping fails. When I run ethereal, Iam able
to see the ICMP request packets on eth0 and br0. Why is ping failing?
Why is the bridge not giving the ICMP packets to the IP stack?

Thanks,
Dhanesh.

blackhole54 04-06-2009 01:42 AM

Did you "bring up" the bridge interface? (If you want the computer to be able t up"to use the interface, after creating the bridge you have to "bring up" the bridge interface with ifconfig.) You can see what interfaces are active by running ifconfig w/o any parameters.

Do you have a firewall on this machine that is blocking either the ping or the response?

jayadhanesh 04-07-2009 08:44 AM

Yes, I bought the bridge up and also assigned an IP address.
Iam not running any firewall. I have a few sockets created in the application running. Will these sockets create problem in bridging?

blackhole54 04-07-2009 10:47 PM

Quote:

Originally Posted by jayadhanesh (Post 3501144)
I have a few sockets created in the application running. Will these sockets create problem in bridging?

The socket creation is beyond my experience, but I wouldn't think it would cause problems. I am not sure what is going on. Sorry ...


All times are GMT -5. The time now is 03:15 AM.