-
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
-
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
-
By rpeck in forum General Support
Replies: 3
Last Post: 05-07-2005, 03:02 AM
-
By Mustang64 in forum MS Windows & New to Linux
Replies: 4
Last Post: 03-28-2005, 08:25 PM
-
By Ancienttribe123 in forum General Support
Replies: 2
Last Post: 05-19-2004, 07:08 AM
-
By lavaman094 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-31-2003, 08:26 PM
-
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
-
Forum Rules

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS
$127.54

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T5810 Xeon E5-2690 v4 64GB DDR4 512GB SSD 1TB Quadro K2200 WiFi
$799.00

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU
$7.95

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA
$374.48

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Dell Precision T7820 Dual Xeon 4214R 48GB RAM 512GB + 1TB Quadro P400 Win 11
$699.00