Date: Mon, 2 Oct 2023 12:30:49 +0200 (CEST) From: felix.reichenberger@tuta.io To: Benoit Chesneau <benoitc@enki-multimedia.eu> Cc: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: Re: ipv6 only host and no IPV4 in jail? Message-ID: <Nfjw-wM--3-9@tuta.io> In-Reply-To: <t1d4CimLo2K345CiV8mGDaQrW5KW1Kz335yZOtRdu-XGYjY7m2zHVkxBOSxxLXavsgCVxWSVVO1JXNQ9F294ywF7MWuGh0L6HrYbKKvB2rA=@enki-multimedia.eu-Nfjo6s_----9> References: <t1d4CimLo2K345CiV8mGDaQrW5KW1Kz335yZOtRdu-XGYjY7m2zHVkxBOSxxLXavsgCVxWSVVO1JXNQ9F294ywF7MWuGh0L6HrYbKKvB2rA=@enki-multimedia.eu> <t1d4CimLo2K345CiV8mGDaQrW5KW1Kz335yZOtRdu-XGYjY7m2zHVkxBOSxxLXavsgCVxWSVVO1JXNQ9F294ywF7MWuGh0L6HrYbKKvB2rA=@enki-multimedia.eu-Nfjo6s_----9>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, since your VNET jail has its own network stack, it shouldn't matter that yo= ur host is IPv6-only. I myself run dual-stack Bastille jails on IPv6-only hosts without any probl= ems. What kind of errors do you get when trying to access the internet via IPv4 = from your jail, and does it work with IPv6? Regards 2. Okt. 2023, 11:55 von benoitc@enki-multimedia.eu: > Hi all,=C2=A0 > > I have a weird issue there, > > I have an ipv6 only host aon which I am starting a jail.Jalil have a vnet= interface =C2=A0through a bridge created on the host: > > For some reason the jail can't get access and is not accessible to intern= et when I setup an IPV4 on it (and right gateway). Is this something expect= ed? SHould the Host be also IPV4 aware? > > Host config: > > Host: > ``` > vlan200bridge: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metri= c 0 mtu 9000 > ether 58:9c:fc:10:fc:41 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: e0a_bastille4 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> > =C2=A0 =C2=A0 =C2=A0 =C2=A0ifmaxaddr 0 port 8 priority 128 path cost 2000 > member: tap0 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> > =C2=A0 =C2=A0 =C2=A0 =C2=A0ifmaxaddr 0 port 9 priority 128 path cost 2000= 000 > member: tap1 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> > =C2=A0 =C2=A0 =C2=A0 =C2=A0ifmaxaddr 0 port 10 priority 128 path cost 200= 0000 > member: vlan200 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> > =C2=A0 =C2=A0 =C2=A0 =C2=A0ifmaxaddr 0 port 6 priority 128 path cost 800 > groups: bridge > > e0a_bastille4: flags=3D8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAS= T> metric 0 mtu 9000 > description: vnet host interface for Bastille jail fpcouchdb > options=3D8<VLAN_MTU> > ether 02:20:9c:4c:84:f0 > hwaddr 02:c4:b5:3a:91:0a > groups: epair > media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) > status: active > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > ``` > > Guest > > ``` > # ifconfig vnet0 > vnet0: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 > options=3D8<VLAN_MTU> > ether 0e:20:9c:4c:84:f0 > hwaddr 02:c4:b5:3a:91:0b > inet6 XXXX:XXXX:XXXX:200::30 prefixlen 64 > inet6 fe80::c20:9cff:fe4c:84f0%vnet0 prefixlen 64 scopeid 0x2 > inet 10.200.1.8 netmask 0xffffff00 broadcast 10.200.1.255 > groups: epair > media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) > status: active > nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> > # netstat -rn4 > Routing tables > > Internet: > Destination =C2=A0 =C2=A0 =C2=A0 =C2=A0Gateway =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Flags =C2=A0 =C2=A0 Netif Expire > default =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A010.200.1.1 =C2=A0 =C2=A0= =C2=A0 =C2=A0 UGS =C2=A0 =C2=A0 =C2=A0 vnet0 > 10.200.1.0/24 =C2=A0 =C2=A0 =C2=A0link#2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 U =C2=A0 =C2=A0 =C2=A0 =C2=A0 vnet0 > 10.200.1.8 =C2=A0 =C2=A0 =C2=A0 =C2=A0 link#2 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 UHS =C2=A0 =C2=A0 =C2=A0 =C2=A0 lo0 > 127.0.0.1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0link#1 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 UH =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lo0 > ``` > > Beno=C3=AEt Chesneau, Enki Multimedia > =E2=80=94 > t. +33608655490=C2=A0 > > Sent with > Proton Mail <https://proton.me/>> secure email. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Nfjw-wM--3-9>