Grandstream GWN78XX Inter-VLAN and Static Routes

Grandstream GWN78XX - InterVLAN and Static Routes


VLANs require a router or Layer 3 device for inter-VLAN communication, while a Layer 3 switch can perform routing between VLANs internally, eliminating the need for an external router. This guide describes the steps on how to create static routes in Grandstream Wi-Fi router GWN7062 and Layer 3 managed network switch GWN781x series. In this example, GWN781X acts as a DHCP server.


At the switch

① Create VLAN IP Interfaces

② Enable DHCP service

③ Define Address Pool

④ Create VLANs and define the port type (trunk and access)

⑤ Create static routes (destination IP to the router

At the router

⑥ Create static routes to each VLAN in the router

How to

① Create VLAN IP Interfaces

Figure 1 Define the VLAN IP Interface in the switch: VLAN ID 100, Static type, Mask Length 24. Repeat this step for VLAN ID 200.
Figure 2 shows the Interface Settings of VLAN 100 and VLAN 200
Figure 3 Enable DHCP Service because the switch acts as a DHCP server which assigns IP Addresses to the devices in the network
Figure 4 Define the Address Pool for the respective VLAN IPv4 Interface (for eg
Figure 5 Configure Public DNS Server and router IP under the DNS Server. This allows the PC to browse the internet.
Figure 6 At each VLAN, set port 1/0/2 as Tagged that is connected to the router directly; configure the other ports as Untagged that are connected to phones or PCs.
Figure 7. Configure a static route with Destination IP and Next Hop (router’s LAN IP)
Figure 8 In the router, create Static Routes for each VLAN. Destination IP Address ‘′, Outgoing Interface ‘Default LAN‘ and Next Hop to be ‘switch IP‘.


The PC can

  • ping the router
  • ping the phone
  • browse the internet (access WAN)