From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom To: 9fans@cse.psu.edu, Armando Camarero References: <7d3530220702271130w3b4dac5fld4a48f8cc5626093@mail.gmail.com> <7d3530220702271440l1315137fm8522ff3a00d2f853@mail.gmail.com> <45E5D946.7080902@arcepi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <45E5D946.7080902@arcepi.net> Subject: Re: [9fans] Re: booting a terminal in qemu Message-Id: <20070301031118.60F131F35FD@medicine-bow.quanstro.net> Date: Wed, 28 Feb 2007 22:11:18 -0500 Cc: Topicbox-Message-UUID: 17036b7c-ead2-11e9-9d60-3106f5b1d025 you learn something new every day. i didn't know about the -p option to ip/ipconfig. the function that does the work for dhcp and ip/ipconfig is parseipmask(2). parseipmask does not differentiate between "255.255.255.0" and "/120", so it is not likely to be the problem. the other difference in your ndb entries is the missing dns entry in the second. how did you check that the network doesn't work? have you tried to ping the gateway? ip/ping 10.0.2.2 if that works, it's a dns problem. - erik Armando Camarero writes | I'm trying to manually configure the NIC in a normal Plan 9 install on | QEMU. If I run ip/ipconfig (so it gets configured using DHCP) /net/ndb | looks: | | ip=10.0.2.15 ipmask=255.255.255.0 ipgw=10.0.2.2 | dns=10.0.2.3 | | and network works fine. | | But if I run ip/ipconfig -g 10.0.2.2 ether /net/ether0 10.0.2.15 | 255.255.255.0 it looks: | | ip=10.0.2.15 ipmask=/120 ipgw=10.0.2.2 | | and I can't use network. Is "ipmask=/120" correct? | | Is this what makes Plan 9 not boot using network in QEMU? | | Armando.