From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 31 Jul 2011 19:52:46 +0200 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20110731195246.3002b11d@zinc.9fans.fr> In-Reply-To: <8639hmtmpc.fsf@cmarib.ramside> References: <86tya3tuj8.fsf@cmarib.ramside> <8639hmtmpc.fsf@cmarib.ramside> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Plan 9 IPv4 router Topicbox-Message-UUID: 0935a384-ead7-11e9-9d60-3106f5b1d025 > OK, cool. How is packet forwarding turned on/off? (Or is it always > "on"?) echo iprouting >/net/ipifc/clone > How do you specify the routing rules? Somewhere in the NDB? For example, to route to network 192.168.1.0/24 via 192.168.0.1: echo add 192.168.1.0 255.255.255.0 192.168.0.1 >/net/iproute See ip(3) for more details. -- David du Colombier