tplink tl-sg2016d 802.1q vlan settings

I want to divide wan_net,lan_net and iptv net in the home ethernet. 2 switches are response to divide vlan, which are tl-sg2016d and tl-sg2008d.

I always use 1 cable cat-6 line of port 1 for single line multiplexing. Port 1 is responsible for the transmission of 3 VLAN. Port 2 is responsible for wan_lan. Port 3 is responsible for iptv. Port 4 and all the remaining ports are responsible for lan network.

1.set 802.1Q VLAN of switches

1.1 set tl-sg2016d

2016d_802.1Q_VLAN
pic1. 2016d_802.1Q_VLAN

Set wan_net, lan_net, iptv of tl-sg2016d respectively. like pic 1.

1.2 set tl-sg2008d

2008d_802.1Q_VLAN
pic2. 2008d_802.1Q_VLAN

Set wan_net, lan_net, iptv of tl-sg2008d respectively. like pic 2.

2.modified 802.1Q VLAN PVID to assign vlan tag

2.1 set tl-sg2016d

2016d_PVID
pic3. 2016d_PVID

Assign port 4-16 as VLAN 3(lan_net).Assign port 2 as VLAN 2(wan_net).Assign port 3 as VLAN 4(iptv).Assign port 1 as VLAN 1(default).

2.2 set tl-sg2008d

2008d_PVID
pic4. 2008d_PVID

Assign port 4-8 as VLAN 3(lan_net).Assign port 2 as VLAN 2(wan_net).Assign port 3 as VLAN 4(iptv).Assign port 1 as VLAN 1(default).

3. Other thing about ip address

You can assign a lan_net ip address and gateway to switch to replace ip 10.18.18.251 to manage it in the local network.

reference:

1.https://resource.tp-link.com.cn/pc/docCenter/showDoc?productId=1239&type=USER_MANUAL&id=1734588904915967

Upgrade wordpress to 4.1.40

We have upgrade word press from 3.8.3 to 4.1.40 on 17th, Jan,2025.

Just stop web server, and rename the old site directory name, and rename the 4.1.40 to original directory name, chmod the right of directories. Copy the upload content if it exists.

Execute the wp-admin/upgrade to alter the database structure.

Excute the Permalinks to re-generate the pages link.

Stay for a while, and remove snapshot on vps and backup.

Finally, we could use WordPress app on ipad of  ios 17.

How to disable comment on a post article?

If you have disabled comments in the settings, but you can still receive comments on some post article, do this.

Just click “quick edit” of a post article , then un-click the “allow comment” and “allow ping” checkbox, update it.

To alter all the post articles by using “quick edit”.