Solved Jails is not connected to external network

Dear All,

I am sorry to bother with this question, I do this just for pleasure without a solid background, hence when a problem comes out I have often limits to troubleshoot it.

I did my jails and everything worked fine, all my steps are documented here:

gemini://gnuser.land/gemlog/2021-11-19-telescope-on-freebsd-jail.gmi

However after the thanksgiving break the jails is not connected anymore with the external internet. First thing I noticed the "jail/etc/resolv.conf" was changed, I tried thus to bind it to the real OS or using a symbolic link from the OS to the jail but both didn't work out hence I updated the resolv.conf manually and restarted the jail but also this didn't work out.

Looking at both "ifconfig" everything seems to be "correct":

Host:
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<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=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 22:4d:fb:19:d0:b1
    inet 192.168.170.198 netmask 0xffffff00 broadcast 192.168.170.255
    inet 192.168.32.214 netmask 0xffffffff broadcast 192.168.32.214
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 fe80::1%lo1 prefixlen 64 scopeid 0x3
    inet 127.0.1.1 netmask 0xffffffff
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

JAIL:
Code:
ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    groups: lo
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 22:4d:fb:19:d0:b1
    inet 192.168.32.214 netmask 0xffffffff broadcast 192.168.32.214
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet 127.0.1.1 netmask 0xffffffff
    groups: lo

Nothing has actually changed by the last time the jail worked hence I am not sure about what is preventing the jail to go on the internet.

Thanks in advance,
TGL
 
Back
Top