9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Akshat Kumar <akumar@mail.nanosouffle.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] auth server with two NICs
Date: Wed, 21 Jul 2010 00:58:27 -0700	[thread overview]
Message-ID: <AANLkTimNEg-prinJ0mMTNwQX8tu3AYndLjgGn7hEWfd8@mail.gmail.com> (raw)

I have an auth server with two cards,
ether0 and ether1; it's connected to
an fs server on ether1 and a public
network on ether0 - it has to get root
from the fs server:

root is from il -g 192.168.100.1 ether /net/ether1 192.168.100.2 255.255.255.0

in /cfg/$sys/cpurc, I have the following:

ip/ipconfig -g 192.168.2.1 ether /net/ether0 192.168.2.141 255.255.255.0
ip/ipconfig -g 192.168.100.1 ether /net/ether1 192.168.100.2 255.255.255.0

I get the root fs just fine, and I can ping
nodes on both networks (fs on the fs net,
my laptop on the public net) just fine.

now, I have one concern and one problem -
the concern: only ether0 is bound into /net,
ether1 doesn't show up in there.
the problem: dns on the public network
doesn't work - I get dns failure when trying
to resolve google.com, for example - I have
described both networks as separate ipnets
in /lib/ndb/local, with a specification of dns
for the public network, but it doesn't seem
to take effect.

Is there some more proper way of dealing
with this? Anything I obvious that I might
be doing wrong?


Thanks,
ak



             reply	other threads:[~2010-07-21  7:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21  7:58 Akshat Kumar [this message]
2010-07-21 12:38 ` erik quanstrom
2010-07-21 16:12   ` Akshat Kumar
2010-07-21 16:24     ` Akshat Kumar
2010-07-21 17:31     ` erik quanstrom
2010-07-21 21:50       ` Akshat Kumar
2010-07-21 22:01         ` Akshat Kumar
2010-07-21 23:38           ` Akshat Kumar
2010-07-22 17:25             ` Akshat Kumar
2010-07-22 17:30               ` erik quanstrom
2010-07-22 17:55                 ` Akshat Kumar
2010-07-22 20:15                   ` Akshat Kumar
2010-07-21 16:03 ` Akshat Kumar

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=AANLkTimNEg-prinJ0mMTNwQX8tu3AYndLjgGn7hEWfd8@mail.gmail.com \
    --to=akumar@mail.nanosouffle.net \
    --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).