From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_0Hlty/DnmJMTGrws07qTug)" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> From: Ilmari Vacklin Date: Mon, 24 Jun 2013 18:18:54 +0000 Message-id: <3fec02d0-7f2e-423a-bee7-eab0ea27b552@me.com> In-reply-to: <47321d0ab055389a9d08b8a0d2440ca6@lyons.quanstro.net> Subject: Re: [9fans] VMwaCan't use DNS because cs fails? Topicbox-Message-UUID: 681af45c-ead8-11e9-9d60-3106f5b1d025 --Boundary_(ID_0Hlty/DnmJMTGrws07qTug) Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: quoted-printable On 24 Jun, 2013,at 04:07 PM, erik quanstrom wrote: > > Looking in /net/ndb, my network looks like this: > > > > ip=3D127.0.0.1 ipmask=3D/104 ipgw=3D:: > > sys=3Dgnot > > sys=3Dgnot > > dom=3Dgnot.localdomain > > dns=3D192.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 (:: =3D 0:0:0:0:0:0:0:0) is not on the > same network. so 192.168.220.2 can't be reached. =20 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 w= as wrong? In other words: After installing a new Plan 9 instance (in VMware), what s= hould I do to get it online?=EF=BB=BF > > 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? =20 /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 --Boundary_(ID_0Hlty/DnmJMTGrws07qTug) Content-type: multipart/related; boundary="Boundary_(ID_QD+wGJ+wQwIKUa7Et0B6WA)"; type="text/html" --Boundary_(ID_QD+wGJ+wQwIKUa7Et0B6WA) Content-type: text/html; CHARSET=US-ASCII Content-transfer-encoding: quoted-printable
On 24 Jun, 2013,at 04:07 PM, erik quanstrom <quanstro@quanstro.net= > wrote:
> Looking in /net/ndb, my network looks like this:=
>
> ip=3D127.0.0.1 ipmask=3D/104 ipgw=3D::
> sys=3D= gnot
> sys=3Dgnot
> dom=3Dgnot.localdomain
> dns=3D19= 2.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 (:: =3D 0:0:0:0:0:0:0:0) is not on the
same network. so 192.16= 8.220.2 can't be reached.
 
T= hank 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 wa= s wrong?

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

> Debugging furth= er, it turns out I can query my DNS server directly:
>
> te= rm% ndb/dnsdebug @192.168.220.2 www.google.com
> 31846.1: sendi= ng to 192.168.220.2/192.168.220.2 www.google.com ip
> 31846: rc= vd 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&nb= sp; 192.168.220.2   4    none   -
19= 2.168.220.0   /120 192.168.220.0   4i   ifc&= nbsp;   1
192.168.220.0   /128 192.168.220.0 &= nbsp; 4b   ifc    -
192.168.220.128 /128 192.1= 68.220.128 4u   ifc    1
192.168.220.255 /128 = 192.168.220.255 4b   ifc    -
127.0.0.0 &= nbsp;     /104 127.0.0.0     =   4i   ifc    -
127.0.0.0  &nbs= p;    /128 127.0.0.0       4b=    ifc    -
127.0.0.1    &= nbsp;  /128 127.0.0.1       4u &nb= sp; ifc    -
127.255.255.255 /128 127.255.255.255 4b&nbs= p;  ifc    -
255.255.255.255 /128 255.255.255.255 4= b   ifc    1
= --Boundary_(ID_QD+wGJ+wQwIKUa7Et0B6WA)-- --Boundary_(ID_0Hlty/DnmJMTGrws07qTug)--