Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 1998 02:16:10 -0800 (PST)
From:      Jan Koum <jkb@best.com>
To:        Alik Yuswanto <alik@sby.globalinfo.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: FreeBSD router
Message-ID:  <Pine.BSF.3.96.980119021050.11935A-100000@shell6.ba.best.com>
In-Reply-To: <01bd24be$fc47ec00$d4a9cda7@Ws3-sby.Ywcn-sby>

next in thread | previous in thread | raw e-mail | index | archive | help

	Edit your /etc/rc.conf (if you are on 2.2.5) or /etc/sysconfig to
gateway_enable="YES" 
or as root type "sysctl -w net.inet.ip.forwarding=1"
	I think that should do it.

-- Yan

On Mon, 19 Jan 1998, Alik Yuswanto wrote:

>Hello,
>
>Recently, I've been set up a FreeBSD router with the configuration shown
>below:
>
>----------------------------------------- 167.205.169.0/28
>                    I
>                    | 167.205.169.1/28
>              -----------
>              |   RO   |
>              |            |
>              -----------
>                    | 167.205.169.215/28
>                    |
>---------------------------------------------- 167.205.169.208/28
>
>With those configurations, from the router, I could ping all the hosts in
>the segment / network 167.205.169.0.  And I could ping too all the hosts in
>the segment / network 167.205.169.208.
>My problem is, I could not ping the host on segment 167.205.169.0 from the
>hosts on the other segment ( 167.205.169.208 ) and vice versa.   Maybe two
>NICs in the pc router are still not forward the IP packet.   Fyi, I use
>static routing here.
>Could you help how to setup IP forwarding in FreeBSD ?
>
>Any help will be appreciated.   Thanks
>
>Alik
>
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980119021050.11935A-100000>