Hi Yelena,

On 21/02/2023 18:23, Yelena Konyukh wrote:

Hi All,

I would be very grateful for any comments on the following issue:

I run Jailhouse on an arm64 platform with Xilinx kernel. I use ivshmem-net driver and the relevant cells and .DTBs configurations to support a virtual network interface in my root cell and my non-root Linux cell.

Generally speaking, everything works quite well - the virtual network interfaces communicate with each other and, once I have setup my root cell, which also has a physical network interface, to act as a router for my non-root Linux, my non-root cell has access to the external network.

However, I noticed that sometimes the IP which I setup on the root cell's virtual interface gets "lost". That is  - I assign an IP with ifconfig to the virtual NIC and after a period of time (sometimes it takes > 1 minute) the IP is no longer there. I keep re-setting the IP and eventually it "sticks"...
At some point I thought it is setting the IP on the root's NIC after
netif_carrier_on() is invoked for the root's NIC that makes the IP "stick", but it now looks like it is not the case and I no longer have any clue as to what causes the IP "stick".

Uhm, what distribution do you use for your root-cell?

Unless the NIC state doesn't change over time (which could explain the loss of the IP) it sounds to me like there is some Network Configuration Application that grabs the interface as soon as it exists and tries to reconfigure it. Then it maybe tries to DHCP on the interface and the IP is lost. Something like NetworkManager, systemd-networkd, … Is there any of those applications running in your root cell?

  Ralf


Has anyone seen anything similar?
Any comments would be very much appreciated.

Thank you

Best Regards,

Yelena


--
You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/e647559a-49c2-4c8e-95bf-692b8495f9ban%40googlegroups.com <https://groups.google.com/d/msgid/jailhouse-dev/e647559a-49c2-4c8e-95bf-692b8495f9ban%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/c7248484-26a9-b284-ad20-3ed41eacdc7e%40oth-regensburg.de.

Reply via email to