I want to start a ppp connection on my router on startup, but i need to have a vlan activated before. The problem is that if i ifup the vlan in the ppp interface, the vlan is not up when pppoe tries to connect.
this is how my /etc/network/interfaces looks like:
auto myprovider
iface myprovider inet ppp
pre-up /sbin/ifconfig eth0.2 up
provider myprovider
auto eth0.2
iface eth0.2 inet manual
The ppp device is phyiscaly located on eth0.