LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-10-2009, 06:57 AM   #1
jayadhanesh
Member
 
Registered: Feb 2009
Location: Bangalore
Posts: 56

Rep: Reputation: 15
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.
 
Old 04-10-2009, 03:33 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
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.
 
Old 04-12-2009, 09:30 PM   #3
jayadhanesh
Member
 
Registered: Feb 2009
Location: Bangalore
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
Old 04-12-2009, 11:32 PM   #4
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
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.
 
  


Reply

Tags
bridging, ping


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
routing b/w two tap interfaces connected to bridge w/o using loopback interface jesus_diehard Linux - Networking 0 08-18-2007 03:15 AM
how can i shutdown the PHYSICAL interface of an ethernet interface markraem Linux - Networking 2 04-12-2007 02:29 PM
Cannot access to web interface of wireless ethernet bridge Belkin F5D7330 probabil1ty Linux - Wireless Networking 6 01-24-2007 01:14 PM
Using Tap Interface Kenji Miyamoto Linux - Networking 1 02-05-2006 04:12 PM
why do an interface bridge? e1000 Linux - Networking 2 01-06-2004 08:26 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration