2013/4/4 <c117...@rmqkr.net>

> term% cat /lib/ndb/local
>
> #
> #  files comprising the database, use as many as you like, see ndb(6)
> #
> database=
>         file=/lib/ndb/local
>         file=/lib/ndb/common
>
> auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com
>
> #
> #  because the public demands the name localsource
> #
> ip=127.0.0.1 sys=localhost dom=localhost
>
> ipnet=HOME
>         ip=10.0.0.0
>         ipmask=255.255.255.0
>         ipsubmask=255.255.255.0
>         ipgw=10.0.0.138
>         auth=9pi
>         cpu=9pi
>         fs=9pi
>         dns=1.2.3.4
>         dns=8.8.8.8
>         dns=8.8.4.4
>         dns=10.0.0.138
>         dnsdomain=HOME
>
> ip=10.0.0.13 sys=9pi dom=9pi.HOME proto=il
>
> auth=10.0.0.13 authdom=9pi.HOME
>
> term% ndb/query sys $sysname
> ip=10.0.0.13 sys=9pi dom=9pi.HOME proto=il
>
> Thanks !
>
>
Suppose you have

ip=10.0.0.13 sys=9pi1 dom=9pi.HOME proto=il

ip=10.0.0.14 sys=9pi4 dom=9pi.HOME proto=il

which one is this machine?
add the 'ether='

excerpt from my /lib/ndb/local:

ipnet=9front ip=10.0.2.0 ipmask=255.255.255.0
ipgw=10.0.2.2
dns=10.150.128.15

sys=thor ether=525400123456 dom=thor.9front
ip=10.0.2.15


and the output on my qemu terminal looks like this:

term% ndb/query sys $sysname
ip=10.0.2.15 ipmask=/120 ipgw=10.0.2.2 sys=thor dns=10.150.128.15
sys=thor ether=525400123456 dom=thor.9front ip=10.0.2.15
term%

Reply via email to