On Mon, Feb 1, 2016 at 2:30 AM, Antti Kantee <[email protected]> wrote:
> Haven't seen that error before, but if you look at the numbers above, you'll
> notice that your interface is on a /32 network, so you naturally can't reach
> the router, and I'm guessing that's why the arpresolve error messages are
> popping up.
>
> 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

          UP BROADCAST RUNNING MULTICAST  MTU:1460  Metric:1

          RX packets:201 errors:0 dropped:0 overruns:0 frame:0

          TX packets:211 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:40837 (39.8 KiB)  TX bytes:23253 (22.7 KiB)


lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Here is the dhcp output in syslog:

Feb  2 03:10:25 linux dhclient: Internet Systems Consortium DHCP Client 4.3.1

Feb  2 03:10:25 linux networking[182]: Configuring network
interfaces...Internet Systems Consortium DHCP Client 4.3.1

Feb  2 03:10:25 linux dhclient: Copyright 2004-2014 Internet Systems Consortium.

Feb  2 03:10:25 linux networking[182]: Copyright 2004-2014 Internet
Systems Consortium.

Feb  2 03:10:25 linux dhclient: All rights reserved.

Feb  2 03:10:25 linux networking[182]: All rights reserved.

Feb  2 03:10:25 linux dhclient: For info, please visit
https://www.isc.org/software/dhcp/

Feb  2 03:10:25 linux networking[182]: For info, please visit
https://www.isc.org/software/dhcp/

Feb  2 03:10:25 linux dhclient:

Feb  2 03:10:25 linux dhclient: Listening on LPF/eth0/42:01:0a:f0:00:02

Feb  2 03:10:25 linux dhclient: Sending on   LPF/eth0/42:01:0a:f0:00:02

Feb  2 03:10:25 linux dhclient: Sending on   Socket/fallback

Feb  2 03:10:25 linux dhclient: DHCPDISCOVER on eth0 to
255.255.255.255 port 67 interval 4

Feb  2 03:10:25 linux networking[182]: Listening on LPF/eth0/42:01:0a:f0:00:02

Feb  2 03:10:25 linux networking[182]: Sending on   LPF/eth0/42:01:0a:f0:00:02

Feb  2 03:10:25 linux networking[182]: Sending on   Socket/fallback

Feb  2 03:10:25 linux networking[182]: DHCPDISCOVER on eth0 to
255.255.255.255 port 67 interval 4

Feb  2 03:10:25 linux dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67

Feb  2 03:10:25 linux dhclient: DHCPOFFER from 169.254.169.254

Feb  2 03:10:25 linux networking[182]: DHCPREQUEST on eth0 to
255.255.255.255 port 67

Feb  2 03:10:25 linux networking[182]: DHCPOFFER from 169.254.169.254

Feb  2 03:10:25 linux dhclient: DHCPACK from 169.254.169.254

Feb  2 03:10:25 linux networking[182]: DHCPACK from 169.254.169.254

Feb  2 03:10:25 linux dhclient: bound to 10.240.0.2 -- renewal in 34678 seconds.

Feb  2 03:10:25 linux networking[182]: bound to 10.240.0.2 -- renewal
in 34678 seconds.

Feb  2 03:10:25 linux networking[182]: done.


The console output is here:
https://gist.github.com/christopherhesse/98718fe7106ffcbee798



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:

echo "test" | nc 10.240.0.2 5001

With the linux instance, it fails immediately with:

(UNKNOWN) [10.240.0.2] 5001 (?) : Connection refused

or if I run my code on the linux instance:

echo "test" | nc 10.240.0.2 5001

I got your message


The code I am running on the server is here:
https://gist.github.com/christopherhesse/c8dc88783af0e69ce5d3



So I guess DHCP would be a nice thing to try, except that it doesn't
seem to work for me.

Has a rumprun iso with networking been run successfully on GCE and/or EC2?

Reply via email to