Skip to content

Jail's network binding lost when router restarts #33

@czettnersandor

Description

@czettnersandor

I had to restart the router and noticed the jail is inaccessible from the outside. When I log in to NAS4Free, TheBrig shows something unusual. The Status reads "Stopped", but the Action button is "Stop". jls shows the jail didn't stop. The same is happening when I pull out the network cable and plug in back again.

From inside the Jail, dmesg:

re0: link state changed to DOWN
re0: link state changed to UP`

host's ifconfig after the restart:

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 70:71:bc:86:fb:0c
        inet6 fe80::7271:bcff:fe86:fb0c%re0 prefixlen 64 scopeid 0x1 
        inet 192.168.0.11 netmask 0xffffff00 broadcast 192.168.0.255 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <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 0x2 
        inet 127.0.0.1 netmask 0xff000000

(note the jail's IP address is missing)

The jail is still running regarding jls:

$ jls
   JID  IP Address      Hostname                      Path
     1  192.168.0.111   owncloud.local                /mnt/storage/Jail/owncloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions