Find the answer to your Linux question:
Results 1 to 4 of 4
OK, so here is my q, I have three network interfaces on my box. Lets call them A, B and C. I want to place my box in-line within our ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    4

    Unhappy Ubuntu and advanced networking question :)

    OK, so here is my q,

    I have three network interfaces on my box. Lets call them A, B and C.

    I want to place my box in-line within our corporate network, so that traffic from LAN goes into interface A and is directed out again through B. So essentially making a Switch. And the last interface is for management of the box it self.

    Is this possible?


    LAN ---> [[ int . A -- int . B ]] --------> Firewall --> Internet

    Could i configure the interfaces so that you basically make a software based TAP?
    Or on other words "Cut the cable" and putting my box in the middle....


    Any help and linux commands would be greatly appreciated.

    -- p.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    The machine can be transparent to the IP layer by making it a bridge between interface A > B.

    Or it can be a "router" by forwarding packets between the networks that A and B are attached to (usually with iptables.)

    You can Google for bridging or routing examples/tutorials/books.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    4
    can i passivly sniff the network traffic if its in a bridge mode? Thanks for the reply

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...