From 7be9f638a8f4d788e5e4985d5dff6beb6e3585e2 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Thu, 3 Nov 2016 01:04:38 +0200 Subject: [PATCH] Update network configurations --- .../etc/config/network | 19 ++++++---- files/wdr-4300/etc/config/system | 2 +- files/wr-1043nd/etc/config/#network# | 36 ------------------- files/wr-1043nd/etc/config/network | 8 ++--- files/wr-1043nd/etc/config/system | 4 +-- 5 files changed, 19 insertions(+), 50 deletions(-) rename files/{wdr-4300-dual-trunk => wdr-4300-dual-trunk-video}/etc/config/network (71%) delete mode 100644 files/wr-1043nd/etc/config/#network# diff --git a/files/wdr-4300-dual-trunk/etc/config/network b/files/wdr-4300-dual-trunk-video/etc/config/network similarity index 71% rename from files/wdr-4300-dual-trunk/etc/config/network rename to files/wdr-4300-dual-trunk-video/etc/config/network index 8b0a12d..a18c792 100644 --- a/files/wdr-4300-dual-trunk/etc/config/network +++ b/files/wdr-4300-dual-trunk-video/etc/config/network @@ -5,16 +5,16 @@ config interface 'loopback' option netmask '255.0.0.0' config interface 'management' - option ifname 'eth0.100' + option ifname 'eth0.20' option proto 'static' option ipaddr '' option netmask '255.255.255.0' - option gateway '10.100.0.1' - option dns '10.100.0.1' + option gateway '10.20.0.1' + option dns '10.20.0.1' option ipv6 'no' config interface 'wireless' - option ifname 'eth0.102' + option ifname 'eth0.22' option proto 'none' option ipv6 'no' option force_link '1' @@ -27,15 +27,20 @@ config switch config switch_vlan option device 'switch0' - option vlan '25' + option vlan '5' option ports '0 1 2' config switch_vlan option device 'switch0' - option vlan '100' + option vlan '20' option ports '0t 1t 2t' config switch_vlan option device 'switch0' - option vlan '102' + option vlan '22' option ports '0 1t 2t' + +config switch_vlan + option device 'switch0' + option vlan '23' + option ports '0t 1t 2t 4' diff --git a/files/wdr-4300/etc/config/system b/files/wdr-4300/etc/config/system index a7d1422..817e61a 100644 --- a/files/wdr-4300/etc/config/system +++ b/files/wdr-4300/etc/config/system @@ -2,7 +2,7 @@ config system option hostname '' option zonename 'Europe/Sofia' option timezone 'EET-2EEST,M3.5.0/3,M10.5.0/4' - option log_ip '10.100.0.1' + option log_ip '10.20.0.1' option log_remote '1' config timeserver 'ntp' diff --git a/files/wr-1043nd/etc/config/#network# b/files/wr-1043nd/etc/config/#network# deleted file mode 100644 index aaf8588..0000000 --- a/files/wr-1043nd/etc/config/#network# +++ /dev/null @@ -1,36 +0,0 @@ -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.100.0.1' - option dns '10.100.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_vlan - option device 'switch0' - option vlan '100' - option ports '5t 6' - -config switch_vlan - option device 'switch0' - option vlan '102' - option ports '0 5t' diff --git a/files/wr-1043nd/etc/config/network b/files/wr-1043nd/etc/config/network index 06bcfca..3e4b677 100644 --- a/files/wr-1043nd/etc/config/network +++ b/files/wr-1043nd/etc/config/network @@ -9,8 +9,8 @@ config interface 'management' option proto 'static' option ipaddr '' option netmask '255.255.255.0' - option gateway '10.100.0.1' - option dns '10.100.0.1' + option gateway '10.20.0.1' + option dns '10.20.0.1' option ipv6 'no' config interface 'wireless' @@ -27,10 +27,10 @@ config switch config switch_vlan option device 'switch0' - option vlan '100' + option vlan '20' option ports '1t 6' config switch_vlan option device 'switch0' - option vlan '102' + option vlan '22' option ports '0 1t' diff --git a/files/wr-1043nd/etc/config/system b/files/wr-1043nd/etc/config/system index 8db7fc2..7048d53 100644 --- a/files/wr-1043nd/etc/config/system +++ b/files/wr-1043nd/etc/config/system @@ -3,7 +3,7 @@ config system option hostname '' option zonename 'Europe/Sofia' option timezone 'EET-2EEST,M3.5.0/3,M10.5.0/4' - option log_ip '10.100.0.1' + option log_ip '10.20.0.1' option log_remote '1' config timeserver 'ntp' @@ -17,4 +17,4 @@ config timeserver 'ntp' config led 'led_system' option name 'SYSTEM' option sysfs 'tp-link:green:system' - option trigger 'heartbeat' \ No newline at end of file + option trigger 'heartbeat'