Find the answer to your Linux question:
Results 1 to 3 of 3
Hey, I was wondering how I might go about setting up a "LAN within a LAN" of sorts. Here's what I want to do: I'd like to have my laptop ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035

    A Router-like setup


    Hey,
    I was wondering how I might go about setting up a "LAN within a LAN" of sorts. Here's what I want to do: I'd like to have my laptop set up so that its sole purpose is to take traffic from one interface, and it send it to the next interface. (i.e. take all traffic coming in on eth0 and send it to eth1) and vice-versa

    From reading the iptables man pages, I've come up with:
    Code:
     iptables -A FORWARD -i eth0 -o eth1
    but for some reason I don't think that's right.
    Does anybody here have any suggestions?
    Thanks a lot!
    -lakerdonald

  2. #2
    Just Joined!
    Join Date
    Dec 2004
    Location
    Albania
    Posts
    6

    router

    I've tried this conf some times ago with RH 6.2
    you can make it work with route

  3. #3
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Well what do you do?

  4. $spacer_open
    $spacer_close

Posting Permissions

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