My first post.
I'm attempting to use VLANs on my Ethernet interfaces for my Raspberry Pi running Raspbian Jessie. The VLAN interfaces will work if I manually configure the interfaces using ifconfig. I cannot reboot the Pi and have the interfaces remain.
From studying postings I know the old way of doing this is to add entries into /etc/network/interfaces. This file apparently is not read by default now.
I can successfully set a static IP for eth0 for example by adding lines to the end of dhcpcd.conf.
I cannot set VLAN interfaces or I don't know the proper syntax. I've tried coping the above changing to something like interface eth0.2 with no success.
How can this be done now with dhcpcd.conf? If not how do I change things such that /etc/network/interfaces is used?
I've looked around and haven't found an answer to this specific question. Any help would be appreciated.