<kakekongen>
apache2: ahh, so you think I would need to reinstall it with that particular flag?
pie__ has joined #mirage
<kakekongen>
I have a bridge interface with a number of taps attached. When I attach a new tap, and it wants to send a request, it first broadcasts an arp request for 10.0.0.2 (which is tap0), but there is no reply from the unikernel at tap0. Are there any changes to the networking setup required for ARP to work as I expect it to in Mirage? Because I can't remember ever running into this issue earlier.
<kakekongen>
Another strange thing to me is that initially, all are able to talk to each other, but it seems the new one is not able to get the MAC of the other unikernels, and thus is unable to talk to them
<kakekongen>
Any ideas?
<hannes>
kakekongen: "arp request for 10.0.0.2 (which is tap0)" what does this mean? in MirageOS, the default ip address is 10.0.0.2 -- which means on startup the unikernel broadcasts a gratuitious arp for 10.0.0.2
<hannes>
in MirageOS, as well the default gateway is the 10.0.0.1 -- so you should/could use 10.0.0.1 as IP on your host system (e.g. configured on the bridge) to be able to communicate with the unikernel
Haudegen has quit [Remote host closed the connection]
<kakekongen>
All my unikernels have their IP set at boot (10.0.0.x/24 at tap(x-2) connected to br0 which has route 10.0.0.0 with src 10.0.0.1), and they all send gratuitous ARP requests. Does that mean that if the new unikernel does not observe the gratuitous request for 10.0.0.2, that it will not know of it?
jnavila has joined #mirage
<hannes>
I don't fully understand. If you observe on your host system the gratuitious arps from your unikernels, you should be able to ping them -- if the host system has an IP configured on the same bridge and there's no firewall involved.
Haudegen has joined #mirage
<kakekongen>
I think I may have discovered the issue - 10.0.0.2 requests out to 129.242.181.244 which starts a unikernel and returns 200 OK if successful. It then waits for the new unikernel to register and it to be added to the internal routing table. I now fear that it might be blocking, resulting 10.0.0.2 not being able to respond to the ARP request from 10.0.0.5, meaning it will not be able to make the registration
<kakekongen>
request. Thus; 10.0.0.2 will never find the new unikernel - effectively creating a deadlock.
<kakekongen>
Does that analysis make sense? That each request will be handled fully sequentially, and two requests can't be handled at the same time?
<hannes>
(the behaviour in unix/macosx/xen is very much the same last time i looked at the code)
<hannes>
i still don't understand your ip and network configuration.
<hannes>
but then, i'm slightly short on time - at least today... sorry.. you may have better luck by writing a mail to mirageos-devel@lists.xenproject
<apache2>
kakekongen: re: scrypt not working: I'm not sure why it doesn't work :-( It looks like it should work for ocaml-freestanding (hvt etc).
pie__ has quit [Ping timeout: 250 seconds]
<kakekongen>
apache2 ack
<kakekongen>
Feel like I'm having all of the questions here; but here goes. Merlin does not seem to be able to resolve Key_gen. based on the Key.abstract defined in config.ml. Any solutions for this?
<Drup>
kakekongen: configure your unikernel
<kakekongen>
Ahh, it needs to be built beforehand. I retract my question ^^
zkms has joined #mirage
jnavila has quit [Ping timeout: 246 seconds]
jnavila has joined #mirage
Haudegen has quit [Remote host closed the connection]