Hello,
Recently I ran into an issue with DNS not working in a jail. The full story can be read here: https://forums.freebsd.org/threads/dns-inside-jail-not-working.49695/page-1
To make a long story short however, I purchased an Xbox One about 2 weeks ago and saw that they had a Plex app. I installed the app but was unable to get it to find my Plex server (FreeBSD Jail) since it was an outdated version. I then wanted to upgrade the plexmediaserver, so I needed to use the
The reason I mention this is because of those changes (perhaps), and information that was discovered in the thread above numerous people mentioned that my broadcast/subnet information for my interfaces was a bit peculiar (note the netmask differences and lack out output in the jail). Now after I have upgraded the plex server in the jail it cannot be found and the logs indicated that I have no loopback interface.
I have a parent/host FreeBSD 10.0 install with 3 jails running under it. One of which is the plex server. I have posted the results below of both the host and the jail output from
Recently I ran into an issue with DNS not working in a jail. The full story can be read here: https://forums.freebsd.org/threads/dns-inside-jail-not-working.49695/page-1
To make a long story short however, I purchased an Xbox One about 2 weeks ago and saw that they had a Plex app. I installed the app but was unable to get it to find my Plex server (FreeBSD Jail) since it was an outdated version. I then wanted to upgrade the plexmediaserver, so I needed to use the
pkg command or build it via ports. I soon discovered that my DNS was failing and after posting on here (that thread above) we discovered that my DNS was failing because I needed to enable unbound.The reason I mention this is because of those changes (perhaps), and information that was discovered in the thread above numerous people mentioned that my broadcast/subnet information for my interfaces was a bit peculiar (note the netmask differences and lack out output in the jail). Now after I have upgraded the plex server in the jail it cannot be found and the logs indicated that I have no loopback interface.
I have a parent/host FreeBSD 10.0 install with 3 jails running under it. One of which is the plex server. I have posted the results below of both the host and the jail output from
ifconfig.
Code:
brad@mercury:/home/brad$ ifconfig
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether b8:97:5a:23:26:32
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:14:d1:2b:9c:b5
inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.104 netmask 0xffffffff broadcast 192.168.0.104
inet 192.168.0.103 netmask 0xffffffff broadcast 192.168.0.103
inet 192.168.0.102 netmask 0xffffffff broadcast 192.168.0.102
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
brad@mercury:/home/brad$ jls
JID IP Address Hostname Path
1 192.168.0.104 plexJail /usr/jails/plexJail
2 192.168.0.103 ircJail /usr/jails/ircJail
3 192.168.0.102 apacheJail /usr/jails/apacheJail
brad@mercury:/home/brad$ sudo jexec 2 sh
# ifconfig
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether b8:97:5a:23:26:32
media: Ethernet autoselect (none)
status: no carrier
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:14:d1:2b:9c:b5
inet 192.168.0.103 netmask 0xffffffff broadcast 192.168.0.103
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
# exit