netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.68k stars 556 forks source link

MacVlan not support run over eth0.xxx #3630

Open micron10 opened 3 years ago

micron10 commented 3 years ago

Hi run with latest version and try this one:

firejail --noprofile --net=eth0.0706 --ip=192.168.1.254 --netmask=255.255.255.0 --dns=8.8.8.8 --defaultgw=192.168.1.1 --hostname=test --writable-var --writable-var-log --writable-etc --read-write=/ -- /bin/init2

and get this error:

Error: default gateway 192.168.1.1 is not in the range of any network

please write my where in source need to set vlanid or have options for this. If i set --net eth0 in dmesg i see :

[79825.705271] 8021q: adding VLAN 0 to HW filter on device eth0-2934209

hear i see vlanid is 0 if have options in source to set vlanid ?

Help please

osevan commented 9 months ago

I need this vlan Option too

Where i could change this?

osevan commented 1 month ago

Srill not possible?