From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 31 Jul 2011 16:34:20 -0400 To: 9fans@9fans.net Message-ID: <8752a75410bccf2dc9063d959a664915@brasstown.quanstro.net> In-Reply-To: <20110731195246.3002b11d@zinc.9fans.fr> References: <86tya3tuj8.fsf@cmarib.ramside> <8639hmtmpc.fsf@cmarib.ramside> <20110731195246.3002b11d@zinc.9fans.fr> 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: 094d718a-ead7-11e9-9d60-3106f5b1d025 On Sun Jul 31 13:53:48 EDT 2011, 0intro@gmail.com wrote: > > 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. see also ipconfig(8). - erik