9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: <tt.gustavsson@bredband.net>
To: <9fans@cse.psu.edu>
Subject: [9fans] IP stack nat
Date: Thu, 17 Aug 2006 10:55:30 +0200	[thread overview]
Message-ID: <20060817085530.KVHU5813.mxfep01.bredband.com@mxfep01> (raw)


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 <my name> at bredband.net, and gets a lot of spam, is there a way to hide this information?


Thanks

/Tony, Sweden










             reply	other threads:[~2006-08-17  8:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-17  8:55 tt.gustavsson [this message]
2006-08-17 16:35 ` Sergey Zhilkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060817085530.KVHU5813.mxfep01.bredband.com@mxfep01 \
    --to=tt.gustavsson@bredband.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).