LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 07-12-2007, 02:42 AM   #1
cr13
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
loop packets out tap0 like an access point


I have a bridge (br0) made up of eth0 (local LAN) and tap0 (software that talks to several PLC's).

The problem that I have is that sometimes the PLC's(VERY dumb device) need to send packets to other PLC's... This is done by sending a packet to a piece of software which gives it to tap0.

I am searching for some way to cause the bridge to notice that the packet arriving through tap0 with IP address xxx.xxx.xxx.100 is destined for an IP address (xxx.xxx.xxx.101) and that it is also located on tap0 (destination interface is the same as the arriving) and then go ahead and transmit that packet back to (and through) tap0.

I believe that this is similar to what wireless access points do between two laptops however there is NO wireless interface which means NO HOSTAP... ALSO, as I have seen in other access point articles I believe that I can NOT do a NAT because these PLC's need to be accessible from both sides of br0 and a NAT would cut direct access off from the eth0 side.

It seams to me that there is probably some way to accomplish this with iptables, bit I don't see how.

I know there is probably a standard way to do this so please point out the obvious I can take it

Thanks in advance,

cr13
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Asus WL-330g access point vs other access points dimgr Linux - Wireless Networking 3 09-20-2006 05:29 AM
Access Point jeffvph Linux - Wireless Networking 1 08-01-2005 06:34 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
Got tap0 instead eth0? samson_bluebird Linux - Networking 0 12-03-2004 04:27 AM
access point amargosa Linux - Wireless Networking 1 02-19-2004 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration