From 5c8654e5b33dc9959d9f97802bb6075e5ee6a73c Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Thu, 3 Nov 2016 04:59:20 +0200 Subject: [PATCH] Introduce video vlan DAP config --- files/dap2965-video/etc/config/network | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/dap2965-video/etc/config/network diff --git a/files/dap2965-video/etc/config/network b/files/dap2965-video/etc/config/network new file mode 100644 index 0000000..ac09187 --- /dev/null +++ b/files/dap2965-video/etc/config/network @@ -0,0 +1,46 @@ +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config interface 'management' + option ifname 'eth0' + option proto 'static' + option ipaddr '' + option netmask '255.255.255.0' + option gateway '10.20.0.1' + option dns '10.20.0.1' + option ipv6 'no' + +config interface 'wireless' + option ifname 'eth1' + option proto 'none' + option ipv6 'no' + option force_link '1' + option type 'bridge' + +config switch + option name 'switch0' + option reset '1' + option enable_vlan '1' + +config switch + option name 'switch0' + option reset '1' + option enable_vlan '1' + +config switch_vlan + option device 'switch0' + option vlan '20' + option ports '0 2t' + +config switch_vlan + option device 'switch0' + option vlan '22' + option ports '2t 6' + +config switch_vlan + option device 'switch0' + option vlan '23' + option ports '2t 3'