I had some problems figuring out how to get VLANs configured thru a
reboot. After reading thru the archive I saw a few different options -
one of which was a modified vlan config file in
/etc/network/if-pre-up.d.

Just so everyone knows, you don't need to change anything, you just have
to specify the VLAN-RAW-DEVICE in /etc/network/interfaces.

For example,

# May not need this
auto eth1

iface eth1 inet static

        address 0.0.0.0

        masklen 0

        broadcast 0.0.0.0

 

 

auto eth1.25

iface eth1.25 inet static

        vlan-raw-device eth1

        address 10.10.10.1

        masklen 24

        broadcast 10.10.10.255  

Works Great! Could somebody please add this to the FAQ or add a note in
the vlan file, because it really isn't immediately obvious......






-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to