Solved Jail interface keeps losing network if left idle

I've just noticed a problem on one of my new jails where it loses the network if left idle for too long even though other machines on the vlan/subnet can still reach it by its IP. It can also ping itself.

If I restart the jail, everything is fine again. If I connect to the jail over the network via ssh, the problem goes away.

This only affects outbound jail traffic such as accessing the internet or pinging other devices on its subnet.

I have multiple routes setup / vlans and FIB 2 / vlan60 is assigned to this jail. My other 2 jails are unaffected.

All my jails are setup exactly the same. This is the first jail I started to adding ports in (www/apache24, lang/php56, deskutils/egroupware) and I hadn't noticed the issue until I started installing although that may just indicate that I became aware because I was using the network. The other jails are just empty jails right now.

I'm thinking the vlan interface in the jail is going offline even though it indicates "UP".

Any ideas?
 
It looks like the problem cleared itself overnight. I had a leftover dmesg arp notice that another device was using the same IP adress which was from when I first setup the jail ( I forgot my DHCP scope range was so low, it gave x.x.6.2 to my laptop as well but I had immediately corrected it ) Perhaps that confusion is what was causing weird behavior from the x.x.6.2 interface or maybe even the routing table and it just needed some time for the arp cache to clear?
 
Back
Top