9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ilmari Vacklin <ilmari.vacklin@icloud.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] VMwaCan't use DNS because cs fails?
Date: Mon, 24 Jun 2013 18:18:54 +0000	[thread overview]
Message-ID: <3fec02d0-7f2e-423a-bee7-eab0ea27b552@me.com> (raw)
In-Reply-To: <47321d0ab055389a9d08b8a0d2440ca6@lyons.quanstro.net>

[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]

On 24 Jun, 2013,at 04:07 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> > Looking in /net/ndb, my network looks like this:
> >
> > ip=127.0.0.1 ipmask=/104 ipgw=::
> > sys=gnot
> > sys=gnot
> > dom=gnot.localdomain
> > dns=192.168.220.2
> >
> > I don't know if that's correct.
>
> i think this is the issue. if the ip network is 127.0.0.1/104,
> then the gateway (:: = 0:0:0:0:0:0:0:0) is not on the
> same network. so 192.168.220.2 can't be reached.
 
Thank you. That makes sense. It's unclear to me why /net/ndb is like it is. I had the idea that ipconfig would set everything up for me. Perhaps I was wrong?

In other words: After installing a new Plan 9 instance (in VMware), what should I do to get it online?

> > Debugging further, it turns out I can query my DNS server directly:
> >
> > term% ndb/dnsdebug @192.168.220.2 www.google.com
> > 31846.1: sending to 192.168.220.2/192.168.220.2 www.google.com ip
> > 31846: rcvd OK from 192.168.220.2 ( recurse can_recurse)
> > [...snip...]
>
> this looks like a bug. what is the contents of /net/iproute?
 
/net/iproute:

term% cat /net/iproute
0.0.0.0         /96  192.168.220.2   4    none   -
192.168.220.0   /120 192.168.220.0   4i   ifc    1
192.168.220.0   /128 192.168.220.0   4b   ifc    -
192.168.220.128 /128 192.168.220.128 4u   ifc    1
192.168.220.255 /128 192.168.220.255 4b   ifc    -
127.0.0.0       /104 127.0.0.0       4i   ifc    -
127.0.0.0       /128 127.0.0.0       4b   ifc    -
127.0.0.1       /128 127.0.0.1       4u   ifc    -
127.255.255.255 /128 127.255.255.255 4b   ifc    -
255.255.255.255 /128 255.255.255.255 4b   ifc    1

[-- Attachment #2.1: Type: text/html, Size: 2707 bytes --]

  parent reply	other threads:[~2013-06-24 18:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24  9:09 [9fans] VMware: Can't " Ilmari Vacklin
2013-06-24 13:07 ` erik quanstrom
2013-06-24 17:39   ` Bakul Shah
2013-06-24 18:18   ` Ilmari Vacklin [this message]
2013-06-24 19:46     ` [9fans] VMwaCan't " 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=3fec02d0-7f2e-423a-bee7-eab0ea27b552@me.com \
    --to=ilmari.vacklin@icloud.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).