Re: [9fans] Plan 9 IPv4 router

2011-07-31 Thread erik quanstrom
On Sun Jul 31 13:53:48 EDT 2011, 0in...@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

Re: [9fans] Plan 9 IPv4 router

2011-07-31 Thread David du Colombier
> This URL is the development repository and I should probably > extract a proper patch from it. I put the patches in /n/sources/contrib/djc/nat. It doesn't need IL, but IL is supported. That's why the IL patches are included. You can remove the IL parts if not needed. -- David du Colombier

Re: [9fans] Plan 9 IPv4 router

2011-07-31 Thread David du Colombier
> 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/i

Re: [9fans] Plan 9 IPv4 router

2011-07-31 Thread smiley
erik quanstrom writes: >> Does anybody know if it's possible to use Plan 9 as an IPv4 router? > > plan 9 does a fine job of routing ip4 packets. i used plan 9 > to do that for a 4 months recently during a network renumbering. > > if you do this, make sure you've made this revert to ip.c. the

Re: [9fans] Plan 9 IPv4 router

2011-07-31 Thread Alexander Sychev
On Sun, Jul 31, 2011 at 5:21 PM, erik quanstrom wrote: > > Does anybody know if it's possible to use Plan 9 as an IPv4 router? > > plan 9 does a fine job of routing ip4 packets. i used plan 9 > to do that for a 4 months recently during a network renumbering. > > if you do this, make sure you've m

Re: [9fans] Plan 9 IPv4 router

2011-07-31 Thread erik quanstrom
> Does anybody know if it's possible to use Plan 9 as an IPv4 router? plan 9 does a fine job of routing ip4 packets. i used plan 9 to do that for a 4 months recently during a network renumbering. if you do this, make sure you've made this revert to ip.c. the sources version has both lines, whic

Re: [9fans] Plan 9 IPv4 router

2011-07-30 Thread David du Colombier
> As far, as I know, there was some NAT work in Plan9. But I can't > remember... Sources of this work is on my work laptop :) https://hg.9grid.fr/plan9-nat/ I did a NAT implementation some times ago. It's working, but it's still an early work and I haven't worked on it for few months. It is impl

Re: [9fans] Plan 9 IPv4 router

2011-07-30 Thread Sergey Zhilkin
> Routing does not imply NAT. Hi ! I know that :) Routing != NATing :) As far, as I know, there was some NAT work in Plan9. But I can't remember... Sources of this work is on my work laptop :) 2011/7/31 Lyndon Nerenberg (VE6BBM/VE7TFX) : >> Answer is simple - no. > >> And, YES, Plan9 CAN route I

Re: [9fans] Plan 9 IPv4 router

2011-07-30 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
> Answer is simple - no. > And, YES, Plan9 CAN route IP ! :) You only get to choose one of the above. Routing does not imply NAT.

Re: [9fans] Plan 9 IPv4 router

2011-07-30 Thread Sergey Zhilkin
Hi ! Answer is simple - no. But this doesn't mean that you can't use plan9 as a core technology for router os ;) Current IP stack doesn't support NAT (dirty hack was made by some plan9 geek), rate limits and other useless features of lunix router. Currently lunix router on a ugly and messy MIPS