-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

Compo MSI B150I GAMING PRO AC LGA1151 16 Gb DDR4 + Cpu I7 6700+I/O Shields.
$159.00

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASRock Z370 Pro4 LGA 1151 Z370 HDMI USB 3.1 2 Ultra M.2 DDR4 ATX Motherboard
$75.00