On 02/02/16 03:39, Christopher Hesse wrote:
As to why you are getting an impossible network configuration from dhcp, I
am not sure. Maybe it's a dhcp client bug. Can you tell what sort of
network configuration you get if you run some other OS?
I booted linux and got the following:
sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.240.0.1 0.0.0.0 UG 0 0 0 eth0
10.240.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
sudo ifconfig
eth0 Link encap:Ethernet HWaddr 42:01:0a:f0:00:02
inet addr:10.240.0.2 Bcast:10.240.0.2 Mask:255.255.255.255
Humh, same thing. Apparently a /32 subnet mask is a thing:
https://code.google.com/p/google-compute-engine/issues/detail?id=77
Never encountered that one before.
So, I guess someone(tm) has to hack the dhcp client to add an explicit
route to the gateway in the /32 case.
I tried to boot the rumprun iso with a static IP address (which is a
little odd on GCE since I had to guess the IP address the instance
would be assigned). It booted and produced no errors. Running the
following netcat hung for a long time before I eventually killed it
and produced nothing in the serial console:
I seriously doubt that networking will actually work unless you use DHCP
to retrieve the address, even if you guess correctly.
Has a rumprun iso with networking been run successfully on GCE and/or EC2?
Guess I didn't test networking when I was testing that virtio-scsi works
on GCE ...
EC2 definitely works. The server I started in August or September seems
to still be up: http://52.2.126.166/
(well, ok, you need to use "ec2" instead of "iso" for ec2, and a xen
build instead of hw, but almost the same thing)