9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Christopher Nielsen <cnielsen@pobox.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Issues with 2 networks, fs server, and namespaces
Date: Fri, 21 Aug 2009 14:50:23 -0700	[thread overview]
Message-ID: <e0ac85f90908211450l3159be09yc52e3d8f9b821eed@mail.gmail.com> (raw)
In-Reply-To: <9ab217670908211407x366d789an6340209e97b65d39@mail.gmail.com>

You don't need a second IP stack. You can run both interfaces on the
same IP stack and routing will just work. That's how I did it when I
had a similar setup.

-Chris

On Fri, Aug 21, 2009 at 14:07, Devon H. O'Dell<devon.odell@gmail.com> wrote:
> Hello all,
>
> I'm trying to set up a group of servers (these are running on VMWare
> ESXi, and working great -- CPU server running with two APs, though
> adding more causes it to fault with a divide by zero?). Auth server's
> got its own 1GB fossil, boots with the 9pcauth kernel. CPU server
> boots from a small fossil. Both Auth and CPU are on the public
> internet via ether0 so that they are cpu/drawtermable. They do not
> boot from the file server because I didn't want to set up a DHCP
> server that was connected to the Internet (ISP getting mad and
> whatnot). While I've configured the internal network to be on it's own
> vswitch (managed through vmware, no real network connectivity), I've
> been struggling with the prior configuration enough that I don't want
> to just `give up' on it.
>
> The FS, however, sits on a private network. CPU and Auth are connected
> to this network via ether1. However, I'm having the following issues:
>
> #1) Using two networks on two different interfaces is a pain in the
> ass. I've got:
> bind '#l1' /net.alt
> bind '#I1' /net.alt
>
> in my /cfg/cpu/namespace. If I simply have them here, ip/ipconfig -N
> -x ether1 ether /net.alt/ether1 complains in cpurc about no ip being
> attached to /net.alt. So I have to put that in /cfg/cpu/cpurc also. I
> don't quite understand why everything's architected to have a single
> ip stack on a single ethernet; in this case, it really isn't
> convenient that it doesn't determine the correct interface via routing
> tables or somesuch. Is there something basic that I'm missing here?
>
> #2) Drawterm is taking forever and a day to connect and log in. It's
> either an auth issue or a DNS issue. Best guesses as to what this
> could be and how I should go about diagnosing it?
>
> #3) Trying to mount the fileserver globally is elusive. I want to
> mount /n/fs/usr over /usr and /n/fs/mail over /mail. Perfectly happy
> with that. However:
>
>  o Doing that in cpurc doesn't put it in the global namespace
>  o Doing it in /cfg/cpu/namespace doesn't have an ip yet so I can't
> run srv /net.alt/tcp!10.0.0.3!9fs in the first place
>  o Doing it in /rc/bin/service/tcp17010 causes me to get `cpu:
> negotiating authentication method: [public auth server ip]: cs gave
> empty translation list'
>
> Mounting it from /n/fs after booting works fine (but it makes me auth,
> which is kind of weird -- I guess I need to set up a secstore? -- I
> figured that eve would be able to connect without auth, given that
> everything's tied to the same auth server, no matter which network
> it's on, and that a user drawterming in would be able to connect by
> virtue of having authed when connecting in the first place.)
>
> I know the `preferred way' is to boot the CPU server from the
> fileserver. While I could feasibly reconfigure my setup to do this,
> I'd prefer to figure it out this way first, given the amount of time
> I've been banging my head against the wall on it :)
>
> --dho
>
>



-- 
Christopher Nielsen
"They who can give up essential liberty for temporary
safety, deserve neither liberty nor safety." --Benjamin Franklin



  reply	other threads:[~2009-08-21 21:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21 21:07 Devon H. O'Dell
2009-08-21 21:50 ` Christopher Nielsen [this message]
2009-08-21 21:58   ` Devon H. O'Dell
2009-08-21 21:59     ` Devon H. O'Dell
2009-08-21 22:14       ` Christopher Nielsen
2009-08-21 22:04 ` Noah Evans
2009-08-21 23:21   ` Devon H. O'Dell
2009-08-21 23:53     ` Devon H. O'Dell
2009-08-22  0:24       ` Devon H. O'Dell
2009-08-22  1:01         ` erik quanstrom
2009-08-22  0:52       ` erik quanstrom
2009-08-22  1:08       ` erik quanstrom
2009-08-22  1:09         ` Devon H. O'Dell
2009-08-22  1:00 ` erik quanstrom

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=e0ac85f90908211450l3159be09yc52e3d8f9b821eed@mail.gmail.com \
    --to=cnielsen@pobox.com \
    --cc=9fans@9fans.net \
    /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).