Categories
Linux Mastering Development

Can’t connect to the Internet from jail on XigmaNas inside Hyper-V

I installed XigmaNas 12.1.0.4 inside Hyper-V virtual machine. XigmaNas has access to the Internet.

But from jail AeMcSiteJail I can’t connect to the internet. I can connect other jails and XigmaNas, but can’t ping any other devices.
What should I do to allow internet connection inside jail?

jls command on XigmaNas output:

JID  IP Address      Hostname                      Path
     1  192.168.1.31    DiscordBotJail.local          /mnt/Data/Files/Jails/DiscordBotJail
     2  192.168.1.32    MySQLJail.local               /mnt/Data/Files/Jails/MySQLJail
     3                  AeMcSiteJail.local            /mnt/Data/Files/Jails/AeMcSiteJail

XigmaNas arp -a

nas4free.local (192.168.1.30) at 02:59:b3:ee:d6:14 on bridge20 permanent [bridge]
? (192.168.1.1) at 50:ff:20:04:bc:a1 on hn0 expires in 1199 seconds [ethernet]
? (192.168.1.32) at 00:15:5d:01:64:03 on hn0 permanent [ethernet]
? (192.168.1.3) at a4:50:46:20:de:9f on hn0 expires in 1049 seconds [ethernet]
? (192.168.1.100) at 0a:e0:af:a1:0f:1d on hn0 expires in 946 seconds [ethernet]
? (192.168.1.56) at 4c:cc:6a:d1:1c:cc on hn0 expires in 904 seconds [ethernet]
? (192.168.1.31) at 00:15:5d:01:64:03 on hn0 permanent [ethernet]
nas4free.local (192.168.1.30) at 00:15:5d:01:64:03 on hn0 permanent [ethernet]

XigmaNas ifconfig

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>
hn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80019<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
        ether 00:15:5d:01:64:03
        inet 192.168.1.30 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.31 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.32 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vlan0: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
        ether 00:00:00:00:00:00
        groups: vlan
        vlan: 0 vlanpcp: 0 parent interface: <none>
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bridge20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:59:b3:ee:d6:14
        inet 192.168.1.30 netmask 0xffffff00 broadcast 192.168.1.255
        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: epair3a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 5 priority 128 path cost 2000
        member: hn0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 2 priority 128 path cost 2000
        groups: bridge
        nd6 options=1<PERFORMNUD>
epair3a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:57:19:71:33:0a
        inet6 fe80::57:19ff:fe71:330a%epair3a prefixlen 64 scopeid 0x5
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Jail arp -a

? (192.168.1.1) at 50:ff:20:04:bc:a1 on epair3b expires in 1185 seconds [ethernet]
? (192.168.1.33) at 02:57:19:71:33:0b on epair3b permanent [ethernet]
? (192.168.1.30) at 00:15:5d:01:64:03 on epair3b expires in 1038 seconds [ethernet]

Jail ifconfig

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
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
epair3b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:57:19:71:33:0b
        hwaddr 02:57:19:71:33:0b
        inet6 fe80::57:19ff:fe71:330b%epair3b prefixlen 64 scopeid 0x2
        inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair

Hyper-V settings:
enter image description here
enter image description here
enter image description here

The Brig setup:
Main page
Jail config

Leave a Reply

Your email address will not be published. Required fields are marked *