Setting up 2nd guest network.
Posted: Tue Sep 12, 2017 8:25 pm
Hi buddies, I am here once again trying to setup my 2nd guest network. I'm aiming at 192.168.1.1/25. I've stepped up my sysadmin game, so this time i think i almost nailed it.
The following configurations end up in my TP-Link Archer C7 v2:
From what i have tested, the devices connect, get an ip address, and have internet access, in both networks. But the guest network is still getting the same IP range as the regular network.
Some toughts:
-SSH access was a breeze, but I had issues with SFTP, It turned out it had to be installed.
-Tried to reset an IP from a connected device by deleting /tmp/dhcp.leases and rebooting the router, even rebooting the PC itself. But it was still getting the same IP than before. Not static asignaments.
-Any plans to this guest network configs in the GUI?
The following configurations end up in my TP-Link Archer C7 v2:
Code: Select all
#DHCP
config dhcp 'guest'
option interface 'guest'
option leasetime '12h'
option start '130'
option limit '125'
#FIREWALL
config zone
option name 'guest'
list network 'guest'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config forwarding
option src 'guest'
option dest 'wan'
#NETWORK
config interface 'guest'
option _orig_ifname 'wlan1-1'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '192.168.1.129'
option netmask '255.255.255.128'
#WIRELESS
config wifi-iface 'ap_gn_g'
option device 'radio1'
option mode 'ap'
option network 'guest'
option disassoc_low_ack '0'
option is_guest_network '1'
option macaddr '16:2a:96:a4:4a:67'
option ssid 'XXXXX'
option isolate '1'
option encryption 'psk2'
option key 'XXXXX'
Some toughts:
-SSH access was a breeze, but I had issues with SFTP, It turned out it had to be installed.
-Tried to reset an IP from a connected device by deleting /tmp/dhcp.leases and rebooting the router, even rebooting the PC itself. But it was still getting the same IP than before. Not static asignaments.
-Any plans to this guest network configs in the GUI?