1 Mar 2007 04:11
Re: Re: booting a terminal in qemu
erik quanstrom <quanstro <at> quanstro.net>
2007-03-01 03:11:18 GMT
2007-03-01 03:11:18 GMT
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 <arcepi <at> arcepi.net> 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 |(Continue reading)
RSS Feed