Results 1 to 2 of 2

Thread: route traffic between two subnets :?:

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    1

    route traffic between two subnets :?:

    hi,

    i have created a knoppix machine with two network cards to act as simple router and let packets pass through the knoppix router between subnets
    it might be a simple command via ip command but my linux skills are poor
    please advice
    thanks

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Location
    Sydney, Australia
    Posts
    157
    You've not given us much information about your subnets and IP address configuration, so I am going to assume that you understand enough about TCP/IP to set all this up correctly, and your only remaining problem is how to get Linux/Knoppix to actually start forwarding packets.

    The low level answer is to
    echo 1 >/proc/sys/net/ipv4/ip_forward
    This is usually enabled in the boot scripts by setting the appropriate entry in the file /etc/network/options [Hint: ip_forward=yes].

    Disclaimers:
    I am also assuming you have a hard disk install.
    This works with the 2.4 kernel, I'm not completely sure about the 2.6 kernel.

Similar Threads

  1. Replies: 3
    Last Post: 05-07-2005, 03:02 AM
  2. Internet Traffic Indicator
    By Mustang64 in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 03-28-2005, 08:25 PM
  3. Traffic Shaping /router
    By Ancienttribe123 in forum General Support
    Replies: 2
    Last Post: 05-19-2004, 07:08 AM
  4. Looking for bandwidth limiter/traffic shaper
    By lavaman094 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-31-2003, 08:26 PM
  5. 'route add default gw' is not working
    By transmogrifier in forum Networking
    Replies: 0
    Last Post: 09-13-2003, 03:09 PM

Posting Permissions

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


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$34.99



(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE

$199.99



HGST 0F23072 Deskstar NAS 6TB SATA III 7200RPM 128MB 3.5in HDD picture

HGST 0F23072 Deskstar NAS 6TB SATA III 7200RPM 128MB 3.5in HDD

$84.99



Western Digital WD Blue WD10EZEX 1 TB 3.5

Western Digital WD Blue WD10EZEX 1 TB 3.5" SATA III Desktop Hard Drive

$23.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s

$55.00



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$318.99