[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Mirage unikernels and network setup


  • To: mirageos-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Hannes Mehnert <hannes@xxxxxxxxxxx>
  • Date: Thu, 3 Jan 2019 13:27:16 +0100
  • Delivery-date: Thu, 03 Jan 2019 12:27:44 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Openpgp: id=11B5464249B5BD858FFF6328BC896588DF7C28EE

Hi,

On 02/01/2019 15:51, Armael wrote:
> I'm trying to run the "network" unikernel (from mirage-skeleton [1]) on
> my server, which uses Xen. I'm able to run linux VMs on this server, and
> the network setup seems to be working for them (my main VM is running,
> and I also created a fresh debian VM just to test that).
> However it doesn't seem to be working for mirage unikernels...
> 
> The unikernel starts, but just trying to ping it or connect to it (from
> the dom0) fails.
> 
> I've attached the console log from the unikernel, the tcpdump log, and
> the log from the host.

From the unikernel output:
2018-12-30 15:09:20 -00:00: DBG [application] Establishing or updating
listener for stack mac=00:16:3e:0e:6f:04,ip=10.0.42.20

In your host system, what does "arp -an" report for 10.0.42.20?

2018-12-30 15:09:40 -00:00: DBG [arpv4] notifying: 10.0.42.1 ->
fe:ff:ff:ff:ff:ff

This mac address looks suspicious to me - what is the mac address on the
host system for 10.0.42.1 (you can use "arp -an" to investigate)?

> Interestingly, if I try to ping the unikernel, it seems to receive the
> ping packet, but doesn't reply.
> 
> Would anyone have a clue?

Could you as well debug with "tcpdump -E -i br0 host 10.0.42.20" this
will capture all packets to and from this host, including the ethernet
headers.


hannes

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.