Date: Thu, 22 Apr 2021 12:32:56 +0200 From: Daniel Dettlaff <dmilith@me.com> To: Peter Blok <pblok@bsd4all.org> Cc: freebsd-hackers@freebsd.org Subject: Re: 32-bit jail on 64-bit host Message-ID: <06CAF4FA-CBC1-4F89-9CA9-532A6B370E51@me.com> In-Reply-To: <F9E8A7E3-C041-49C6-93E3-F44CB83A0858@bsd4all.org> References: <F9E8A7E3-C041-49C6-93E3-F44CB83A0858@bsd4all.org>
next in thread | previous in thread | raw e-mail | index | archive | help
If you need to run 32bit software with 64bit base system just try = creating 64bit jail with lib32 subsystem present. Then 32bit software = should be able to run properly in such jail, but you can't run 32bit = jail on 64bit base as Eugene said. > On 22 Apr 2021, at 10:36, Peter Blok <pblok@bsd4all.org> wrote: >=20 > Hi, >=20 > I have created a 32-bit jail on a 64-bit running 12-STABLE. The jail = is also build using the same source. >=20 > The jail gives me a 32-bit environment. I=E2=80=99m getting an IP = address and I can ping others on the same network segment. >=20 > But I can=E2=80=99t set a default route. >=20 > route add default 192.168.1.1 > route: writing to routing socket: Invalid argument > add net default: gateway 192.168.1.1 fib 0: Invalid argument >=20 > # netstat -rn > Routing tables > (0) (0) UH=20 > (0) (0) U=20 > (0) (0) UHS=20 > (0) (0) UH=20 > (0) (0) U=20 > (0) (0) UHS >=20 > # ifconfig -a > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> > e0b_websip: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> = metric 0 mtu 1500 > options=3D8<VLAN_MTU> > ether 0e:88:d7:20:99:80 > hwaddr 02:80:ad:6e:79:0b > inet 192.168.1.205 netmask 0xffffff00 broadcast 192.168.1.255 > groups: epair > media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) > status: active > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >=20 > Any idea how to fix this? >=20 > I=E2=80=99m using vnet bridge >=20 > Peter > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06CAF4FA-CBC1-4F89-9CA9-532A6B370E51>