I tried everything and then gave up jailhouse-images for RPi4. I was 
successful in porting jailhouse on my own kernel, I was only missing some 
kernel flags, like:

CONFIG_IVSHMEM_NET=y
CONFIG_UIO_IVSHMEM=y
Without these flags, there will be no drivers for pci devices, no veth and 
no inter-cell communication. The bridge can be easily made and I have not 
had any problems regarding bridging. 

Moustafa
On Friday, 10 December 2021 at 10:55:46 UTC+1 Bezdeka, Florian wrote:

> On Fri, 2021-12-10 at 01:53 -0800, Moustafa Nofal wrote:
> > Hello, 
> > I am using the latest jailhouse-image for Raspberry Pi4(RT version).
> > I
> > am trying to create a bridge between wlan0 and jailhouse NIC, I
> > learnt
> > that the Ethernet eth0 is used as physical jailhouse NIC. So, 
> > 1- Edited defconfig
> > CONFIG_IP_NF_IPTABLES=y 
> > CONFIG_BRIDGE=Y
>
> Sounds like CONFIG_IP_NF_NAT is missing. Just a guess...
>
> > 
> > 2- installed dhcpcd5, dnsmasq and iptables.
> > 3- I always get this error, while using iptables:
> > can't initialize iptables table `nat': Table does not exist (do you
> > need to insmod?) Perhaps iptables or your kernel needs to be
> > upgraded.
> > 
> > I understand that this is not Jailhouse specific, but I tried the
> > same way in a different kernel image and it was working fine.
> > 
> > Regards, 
> > Moustafa Noufale
>
>

-- 
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/49832756-b7b3-4855-b71a-ee13a766d30en%40googlegroups.com.

Reply via email to