User Tools

Site Tools


howtos:vlan_tagging_on_rpi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:vlan_tagging_on_rpi [d/m/Y H:i] (current)
Line 1: Line 1:
 +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)
 +
 +<​code>​
 +    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
 +</​code>​
 +
 +
 +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: d/m/Y H:i (external edit)