SOLVED Jail can't access internet

NinthWave

Contributor
Joined
Jan 9, 2021
Messages
129
I had en emby jail in the same subnet than my admin. I wanted to move it in the IOT VLAN. Since I made this, I can't ping the internet so something must be wrong with my setup. I'll post the GUI screen shots but CLI is required, I'll post them provided I'm told how to.

1642385718806.png

1642385589408.png

1642385612873.png

1642385636689.png


[EDIT 22/01/17 09:00 EST]
1642428971064.png

1642429037930.png
 

Attachments

  • 1642385556914.png
    1642385556914.png
    54.8 KB · Views: 129
Last edited:

NinthWave

Contributor
Joined
Jan 9, 2021
Messages
129
I had en emby jail in the same subnet than my admin. I wanted to move it in the IOT VLAN. Since I made this, I can't ping the internet so something must be wrong with my setup. I'll post the GUI screen shots but CLI is required, I'll post them provided I'm told how to.

View attachment 52364
View attachment 52361
View attachment 52362
View attachment 52363
Code:
root@embyserver:~ # cat /etc/resolv.conf
resolver 10.0.10.1
root@embyserver:~ # ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=60 time=13.967 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=60 time=14.158 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=60 time=14.879 ms
^C
--- 1.1.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 13.967/14.335/14.879/0.392 ms
root@embyserver:~ # ping google.com
ping: cannot resolve google.com: Host name lookup failure
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Set the vnet_default_interface to "auto"
 

NinthWave

Contributor
Joined
Jan 9, 2021
Messages
129

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
In my setup "resolver" is set to "/etc/resolv.conf"
see the popup note
 

NinthWave

Contributor
Joined
Jan 9, 2021
Messages
129

NinthWave

Contributor
Joined
Jan 9, 2021
Messages
129
What solved it was: in the Network tab, under resolver, I had typed : « resolver 10.0.10.1»
Where it should have been : « nameserver 10.0.10.1»

For jails in VLANs, one should read:
 
Top