Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

It seems to work if also the physical interface is set to auto:

auto eth0
auto eth0.2
auto myprovider

iface eth0 inet manual
iface eth0.2 inet manual

iface myprovider inet ppp
        pre-up /sbin/ifconfig eth0.2 up
        provider myprovider
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.