From mboxrd@z Thu Jan 1 00:00:00 1970 From: To: <9fans@cse.psu.edu> Date: Thu, 17 Aug 2006 10:55:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20060817085530.KVHU5813.mxfep01.bredband.com@mxfep01> Subject: [9fans] IP stack nat Topicbox-Message-UUID: a193c602-ead1-11e9-9d60-3106f5b1d025 Good day My first steps to building a NAT/NAPT I am trying to understand how the plan9 ip-stack works. This is what I am trying to do: I have three ethernet cards in my machine: Card1: Local address for plan 9 services Card 2: local gateway for the boxes that dont use plan9 Card 3: Connection to the internet Each ethernet interface will have a separate ip-stack Doing like this I hope to separate plan9 services from the gateway, to make my environment fairly secure. Plan9 will not use the gateway interface, I will just import the internet interface when I want to access the outside world from the plan9 machines. If I open the data file in the gateway stack /net.gw/ipifc/0/data from my initial NAT program, it seems that I don't get any packets on that interface when I try to access some outside ip-address from the non-plan9 machines. I tried to set up a packet interface on /net.gw/ipifc/1 , and added iproutinng to this stack, and when I try to ping this new interface, from a non-plan9 machine with the gateway set /net.gw/ipifc/0 I get ping reply, but the /net.gw/1/data is also silent. I might have totally misunderstood something here? Any suggestions btw: When I send mail to this list i get the signature at bredband.net, and gets a lot of spam, is there a way to hide this information? Thanks /Tony, Sweden From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <126a2f7d0608170935g18adf75aka3de9363a88fe5fa@mail.gmail.com> Date: Thu, 17 Aug 2006 21:35:55 +0500 From: "Sergey Zhilkin" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] IP stack nat In-Reply-To: <20060817085530.KVHU5813.mxfep01.bredband.com@mxfep01> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_134690_8871598.1155832555489" References: <20060817085530.KVHU5813.mxfep01.bredband.com@mxfep01> Topicbox-Message-UUID: a221af4e-ead1-11e9-9d60-3106f5b1d025 ------=_Part_134690_8871598.1155832555489 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline http://plan9.bell-labs.com/magic/man2html/3/ip Search ipmux > > > > > > > > > ------=_Part_134690_8871598.1155832555489 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline http://plan9.bell-labs.com/magic/man2html/3/ip
Search ipmux











------=_Part_134690_8871598.1155832555489--