Differences
This shows you the differences between the selected revision and the current version of the page.
howto:vlan 2008/12/31 02:32 | howto:vlan 2017/09/06 18:38 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | The DNS-323 can support 802.1q vlans/frame tagging. The native kernel does not support this, however. To make it work, you must load an 8021q.ko kernel module into your kernel. You should have a chroot debian install to accomplish this. I will spare you the trouble of having to compile the module yourself. | + | ====== VLAN Frame Tagging Support (802.1q trunking) ====== |
- | Here is a link to the file: [[http://rapidshare.com/files/178306707/8021q.ko|8021q.ko]]. | ||
- | One reason you may want to do this is that you want to configure jumbo frames for (potentially) faster DNS-323 performance, but don't want to/can't activate frames on your primary network because some devices don't support it. (Jumbo frames require a Gigabit switch, but not all Gigabit switches and NIC's support jumbo frames) | + | The DNS-323 can support 802.1q vlans/frame tagging. The native kernel does not support this, however. To make it work, you must load an 8021q.ko kernel module into your kernel. You should have a chroot debian install to accomplish this. I will spare you the trouble of having to compile the module yourself. |
+ | |||
+ | Here is a link to the file: [[http://rapidshare.com/files/178306707/8021q.ko|8021q.ko]]. **Warning: I have only tested this with firmware 1.06, but may work with earlier versions. Use at your own risk!** | ||
- | - #Put the file in the proper location | + | One reason you may want to do this is that you want to configure jumbo frames for (potentially) faster DNS-323 performance, but don't want to/can't activate jumbo frames on your primary network because some devices don't support it. (Jumbo frames require a Gigabit switch, but not all Gigabit switches and NIC's support jumbo frames) |
- | - //sudo mkdir /lib/modules/2.6.12.6-arm1// | + | <code bash> |
- | - //sudo cp 8021q.ko /lib/modules/2.6.12.6-arm1// | + | #Put the file in the proper location |
- | - //sudo depmod -a// | + | sudo mkdir /lib/modules/2.6.12.6-arm1 |
- | - #Load the module into the kernel | + | sudo cp 8021q.ko /lib/modules/2.6.12.6-arm1 |
- | - //sudo modprobe 8021q// | + | sudo depmod -a |
- | - #Install the vlan package - This enables management of vlans | + | #Load the module into the kernel |
- | - //sudo apt-get install vlan// | + | sudo modprobe 8021q |
- | - #Use the vconfig command to configure your new trunked sub-interface | + | #Install the vlan package - This enables management of vlans |
- | - //sudo vconfig add egiga0 <vlan number>// | + | sudo apt-get install vlan |
- | - #Use //sudo ifconfig// to configure your new interface. It should appear as egiga0.<vlan>. Don't forget to bring the interface up! | + | #Use the vconfig command to configure a new trunked sub-interface |
+ | sudo vconfig add egiga0 <vlan number> | ||
+ | </code> | ||
+ | Use //sudo ifconfig// to configure your new interface. It should appear as egiga0.<vlan>. Don't forget to bring the interface up! | ||
Be sure to save the config steps to //your fun_plug// or //linuxrc// file **(after you test this first!)** so this is persistent across reboots. | Be sure to save the config steps to //your fun_plug// or //linuxrc// file **(after you test this first!)** so this is persistent across reboots. |