Hallo DonCamillo,
thank you for your response.
Did you check how the Zentyal Network module configures the '/etc/network/interfaces' file after configuring through webadmin? Did you check the firewall? eth0 is an external interface?
in /etc/interfaces eth0 is not configured:
auto zentyal-ppp-eth0.7
iface zentyal-ppp-eth0.7 inet ppp
pre-up /sbin/ifconfig eth0.7 up
post-down /sbin/ifconfig eth0.7 down
provider zentyal-ppp-eth0.7
offload-gro off
offload-gso off
offload-tso off
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
offload-gro off
offload-gso off
offload-tso off
auto zentyal-ppp-vlan7
iface zentyal-ppp-vlan7 inet ppp
vlan-raw-device eth0
pre-up /sbin/ifconfig vlan7 up
post-down /sbin/ifconfig vlan7 down
provider zentyal-ppp-vlan7
offload-gro off
offload-gso off
offload-tso off
An yes eth0 is physically my external interface.
The interface vlan7 was created by zentyal but with vlan7 I'm not able to connect via pppd. The device eth0.7 I created manually as described.
My problem is that I don't know where I have to start with scripting to change all from vlan7 to eth0.7 . I don't want to hardcode all in interface.mas.
The big difference is the naming of the virtual netowrk devices vlanxx vs. eth0.xx and the way how they will be created:
zentyal: config
manually I used iplink ...
I expect that the magic is done here: /etc/network/if-pre-up.d/vlan