Trying to set up VLANs with jail

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trying to set up VLANs with jail

marcel-2
Hi,

I try to set up VLANs following the howto of Shawn Debnath
http://shawndebnath.com/articles/2016/03/27/freebsd-jails-with-vlan-howto.html

Actually, I want to isolate each jails from the other so I thought
assign a VLAN ID to each jail was a good solution.

So, I correctly followed the howto of Shawn but my host can't no more
communicate with anything, when I try to ping 8.8.8.8, it says "sendto:
no route to host" while my netstat -r output is exactly the same as in
the howto. re0 is up and vlan0 has 192.168.2.6 ip, like in the howto
and my firewall is down.

So I decided to assign to re0 the ip 192.168.2.6 and to vlan0
192.168.2.7 and my host is now available remotely (with my ipfw rules
this time) and can ping 8.8.8.8 (but still doesn't resolve domain
name...) but I don't know if vlan work and I don't know how I can verify
it. I noticed thaht when I do ifconfig destroy vlan0, my host can
resolv domain name...

I am a little bit lost, can anyone give me some help or explanation
please ?

Thanks,

marcel
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[hidden email]"