LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 04-10-2009, 07:57 AM   #1
jayadhanesh
LQ Newbie
 
Registered: Feb 2009
Location: Bangalore
Posts: 21
Thanked: 0
Bridge between ethernet interface and tap interface


[Log in to get rid of this advertisement]
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.
jayadhanesh is offline  
Tag This Post , ,
Reply With Quote
Old 04-10-2009, 04:33 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359
Thanked: 8
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.
rossonieri#1 is offline     Reply With Quote
Old 04-12-2009, 10:30 PM   #3
jayadhanesh
LQ Newbie
 
Registered: Feb 2009
Location: Bangalore
Posts: 21
Thanked: 0

Original Poster
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.
jayadhanesh is offline     Reply With Quote
Old 04-13-2009, 12:32 AM   #4
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359
Thanked: 8
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.
rossonieri#1 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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-19-2007 12:44 PM
how can i shutdown the PHYSICAL interface of an ethernet interface markraem Linux - Networking 2 04-12-2007 03:29 PM
Cannot access to web interface of wireless ethernet bridge Belkin F5D7330 probabil1ty Linux - Wireless Networking 6 01-24-2007 02:14 PM
Using Tap Interface Kenji Miyamoto Linux - Networking 1 02-05-2006 05:12 PM
why do an interface bridge? e1000 Linux - Networking 2 01-06-2004 09:26 AM


All times are GMT -5. The time now is 07:42 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration