From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <72cdc41e787fc8f1d016b52a33f8f481@plan9.bell-labs.com> From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] networking troubles MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sat, 4 May 2002 01:52:18 -0400 Topicbox-Message-UUID: 87ea59b6-eaca-11e9-9e20-41e7f4b1d025 > * How does one test whether the network connection is up? ip/ping? netstat -i is a good start. > * Does 'ip/ipconfig ether /net/ether0 unbind' set the card to a > state where it can be reassigned with 'ip/ipconfig -g ga.te.way.addr > ether /net/ether0 ip.a.d.dr net.m.a.sk' or is there more to do? i think so. to be sure, you can do echo -n unbind >/net/ipifc/0/ctl > * Must the first server on the network (which will be the dhcp and > auth server) set it's ip in /rc/bin/termrc (or cpurc) or can a well > formed /ndb/local assign it? i think you have to set it in termrc or cpurc. for example, our standalone auth/dhcp server has two addresses and uses: # start network if(test -e /net/ipifc/clone){ ip/ipconfig -g 135.104.9.1 ether /net/ether0 135.104.9.7 255.255.255.0 ip/ipconfig ether /net/ether0 add 135.104.9.115 255.255.255.0 } > * If after assigning the ip in /rc/bin/termrc and not getting a > "cant look up my ip" error from /ndb/dns, one can't ip/ping anything > what are the possible problems? perhaps your routing table is wrong. cat /net/iproute try pinging yourself. that should work as long as the ip interface is set up, independent of routing. russ