[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring a Linux Router Question



On Tue, Aug 14, 2001, Shlomi Fish wrote about "Configuring a Linux Router Question":
> I have two ethernet cards in a computer, each with its own IP address.
> each card is connected to a different computer. Now, I want to route the
> packets that are sent from A to D and from D to A, where
> 
>  -          ----         -
> |A|--------|B  C|-------|D|
>  -          ----         -
> Remote       Local       Remote
> Computer     Comp.       Comp.

I'm assuming you're asking how to configure the "BC" computer.

Try
	echo 1 >/proc/sys/net/ipv4/ip_forward

(see ip(7))

-- 
Nadav Har'El                        |         Tuesday, Aug 14 2001, 26 Av 5761
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Corduroy pillows - they're making
http://nadav.harel.org.il           |headlines!

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il