Hi everyone,

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.

Interestingly, if I try to ping the unikernel, it seems to receive the
ping packet, but doesn't reply.

Would anyone have a clue?

Cheers, and happy new year,
Armaƫl


[1]
https://github.com/mirage/mirage-skeleton/blob/master/device-usage/network/unikernel.ml
# nc 10.0.42.20 2345
hello
^C
# ping 10.0.42.20
PING 10.0.42.20 (10.0.42.20) 56(84) bytes of data.
^C
--- 10.0.42.20 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6128ms
# tcpdump "port 2345" -i br0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:09:26.591790 IP 10.0.42.1.46212 > 10.0.42.20.2345: Flags [S], seq 3255497704, win 29200, options [mss 1460,sackOK,TS val 39448992 ecr 0,nop,wscale 7], length 0
16:09:27.612434 IP 10.0.42.1.46212 > 10.0.42.20.2345: Flags [S], seq 3255497704, win 29200, options [mss 1460,sackOK,TS val 39449248 ecr 0,nop,wscale 7], length 0
16:09:29.628449 IP 10.0.42.1.46212 > 10.0.42.20.2345: Flags [S], seq 3255497704, win 29200, options [mss 1460,sackOK,TS val 39449752 ecr 0,nop,wscale 7], length 0
16:09:33.884443 IP 10.0.42.1.46212 > 10.0.42.20.2345: Flags [S], seq 3255497704, win 29200, options [mss 1460,sackOK,TS val 39450816 ecr 0,nop,wscale 7], length 0
# xl create network.xl -c
Parsing config from network.xl
MirageOS booting...
Initialising timer interface
Initialising console ... done.
2018-12-30 15:09:20 -00:00: INF [net-xen:frontend] connect 0
2018-12-30 15:09:20 -00:00: INF [net-xen:frontend] create: id=0 domid=0
2018-12-30 15:09:20 -00:00: INF [net-xen:frontend]  sg:true gso_tcpv4:true rx_copy:true rx_flip:false smart_poll:false
2018-12-30 15:09:20 -00:00: INF [net-xen:frontend] MAC: 00:16:3e:0e:6f:04
2018-12-30 15:09:20 -00:00: INF [ethif] Connected Ethernet interface 00:16:3e:0e:6f:04
2018-12-30 15:09:20 -00:00: INF [arpv4] Connected arpv4 device on 00:16:3e:0e:6f:04
2018-12-30 15:09:20 -00:00: DBG [arpv4] ARP: sending gratuitous from MAC 00:16:3e:0e:6f:04 (IP 10.0.42.20) -> MAC ff:ff:ff:ff:ff:ff (IP 10.0.42.20): ARP operation Request
2018-12-30 15:09:20 -00:00: INF [udp] UDP interface connected on 10.0.42.20
2018-12-30 15:09:20 -00:00: INF [tcpip-stack-direct] stack assembled: mac=00:16:3e:0e:6f:04,ip=10.0.42.20
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
2018-12-30 15:09:20 -00:00: INF [application] Listening on port 2345 (TCP)
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
2018-12-30 15:09:40 -00:00: DBG [arpv4] notifying: 10.0.42.1 -> fe:ff:ff:ff:ff:ff
2018-12-30 15:09:40 -00:00: DBG [icmpv4] ICMP echo-request received: ICMP type Echo_request, code 0, subheader [subheader: id: 8412, sequence 1] (payload
b4 df 28 5c 00 00 00 00  48 e2 0c 00 00 00 00 00
10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37  )
_______________________________________________
MirageOS-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/mirageos-devel

Reply via email to