Networking Forums

Networking Forums > Computer Networking > Linux Networking > Several ethernet interfaces + encapsulation over IP

Reply
Thread Tools Display Modes

Several ethernet interfaces + encapsulation over IP

 
 
Tim C
Guest
Posts: n/a

 
      12-17-2003, 08:51 PM
At work I have a Linux (kernel 2.4) box with 5 ethernet interfaces.
Four of them connect to an arbitrary traffic generator, and the
fifth connects to a subset of the site LAN. This is box A.

On another LAN segment I have another box with the same configuration,
except that the work area is too far away to easily connect to the
traffic generator. Because of company politics this has to stay where
it is... Anyway, this is box B.

I would like to be able to capture the traffic (always
layer 2 ethernet) sent into box A, encapsulate it somehow onto the
LAN (which I'll make sure has sufficient capacity), and then transmit
it out the corresponding interface on box B, thusly:

h eth0 eth0 h
j eth1 box A eth4 -//- eth4 box B eth1 j
k eth2 eth2 k
m eth3 eth3 m

The goal is that traffic sent into eth0 on box A would come
out eth0 on box B, and so on. Note that this is layer 2 (bridged)
traffic, not routed (layer 3) traffic...

Is there some simple (or difficult but pre-existing) way to do this?
Or can anyone point me to some tips on kernel hacking / ethernet
interface driver writing?

Thanks in advance for any pointers you can offer.

-TC
--
swap tim04351 and cannedmeat to reply
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missconfiguration of ethernet interfaces on reboot Fionn Linux Networking 3 05-27-2008 08:12 PM
Detect and switch ethernet interfaces Cartque Linux Networking 2 03-03-2008 02:06 PM
Bridging non Ethernet interfaces ? ChapiChapo Linux Networking 0 01-17-2008 12:31 PM
Ethernet bridging over bonded interfaces Bruce Richardson Linux Networking 0 11-18-2004 10:45 AM
Virtual Ethernet Interfaces Troy C Linux Networking 6 10-10-2004 10:52 PM



1 2 3 4 5 6 7 8 9 10 11