Jail loses connection to lan: isc_socket_bind: address not available

Status
Not open for further replies.

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
The error comes when I try to run any normal network activity such as portsnap fetch, or ssh a server or something like that. In addition, the services I run on the jail are unreachable. The only thing I have found that works is to reboot the server.

There are no logs in the jail that I can see reflect any change or anything interesting, but on the host this is in /var/log/messages:

Code:
Mar 29 20:47:50 freenas kernel: em0: link state changed to DOWN
Mar 29 20:47:54 freenas kernel: em0: link state changed to UP
Mar 29 20:48:31 freenas kernel: em0: link state changed to DOWN
Mar 29 20:48:35 freenas kernel: em0: link state changed to UP
Mar 29 20:48:36 freenas dhclient: New IP Address (em0): 192.168.2.85
Mar 29 20:48:36 freenas dhclient: New Subnet Mask (em0): 255.255.255.0
Mar 29 20:48:36 freenas dhclient: New Broadcast Address (em0): 192.168.2.255
Mar 29 20:48:36 freenas dhclient: New Routers (em0): 192.168.2.1
Mar 29 20:49:36 freenas dhclient: New IP Address (em0): 192.168.2.85
Mar 29 20:49:36 freenas dhclient: New Subnet Mask (em0): 255.255.255.0
Mar 29 20:49:36 freenas dhclient: New Broadcast Address (em0): 192.168.2.255
Mar 29 20:49:36 freenas dhclient: New Routers (em0): 192.168.2.1
Mar 29 20:49:37 freenas dhclient: New Routers (em0): 192.168.2.1
 

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
OK
It's been a couple of days, and I think that solved it. I have no idea how, though. And more importantly: that fixed a fault I have no idea when/where/how I "unfixed".

But hey, why rock the boat :)
 

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
Oh, and I couldn't do them one at a time obviously, cause the error manifested randomly throughout the day, and I don't have that kind of time.
 

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
Update: It still happens, but far less frequently. It's down from once a day to maybe twice a week.
 

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
New point of interest: I think this is related to my internet connection. Whenever I get disconnected from the internet, the jail loses the connection to the LAN. This is weird.
 
Status
Not open for further replies.
Top