User Tools

Site Tools


howtos:vlan_tagging_on_rpi

Just wanted to report that 801.1q seems to work great and I thought I would leave the steps here so people do not have to search around.

3 months ago~ vlan support was added to the kernel config so if you are having issues first thing todo would be to update. ( https://github.com/raspberrypi/firmware/issues/60 )

apt-get intall vlan modprobe 8021q ( i didnt add it to /etc/modules so I am not sure if this is required in the end as this modules persists to load after reboot)

and then setup my interface ( /etc/network/interfaces)

    auto lo

    iface lo inet loopback
    iface eth0 inet dhcp
    auto eth0.69
    iface eth0.69 inet static
            address 192.168.69.3
            netmask 255.255.255.0
       #    network 10.10.10.0
      #     broadcast 10.10.10.255
            vlan_raw_device eth0

This has proved great for accessing the raspberrypi when there are dhcp issues/or the ip address of dhcp is unknown.


Source: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=7&t=3041

howtos/vlan_tagging_on_rpi.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1