Define a New VLAN
Applies To: Locally-managed Fireboxes
Some of the features described in this version of Fireware Help are only available to participants in the WatchGuard Beta program. If a feature described in this topic is not available in your version of Fireware, it is a beta-only feature.
Before you create a new VLAN, make sure you understand all the VLAN concepts and restrictions described in About Virtual Local Area Networks (VLANs).
This topic explains how to:
- Configure a VLAN
- Use DHCP on a VLAN
- Configure DHCP Relay on a VLAN
- Apply Firewall Policies to Intra-VLAN Traffic
- Configure Network Settings for a VLAN on the External Interface
- Enable IPv6 on a VLAN
- Configure VLAN Secondary IP Addresses
- Enable Spanning Tree Protocol
- Enable 802.1p Marking for VLAN Interfaces
Configure a VLAN in Fireware Web UI
When you configure a VLAN in Fireware Web UI, you must select a VLAN tag setting for at least one VLAN interface. Before you create the VLAN, you must configure at least one interface as a VLAN interface.
- Select Network > Interfaces.
- Select the interface that is connected to your VLAN switch, then click Edit.
- From the Interface Type drop-down list, select VLAN.
- Click Save.
- Select Network > VLAN.
The VLAN page opens with a list of existing user-defined VLANs and their settings.
You can also configure network interfaces from the Interfaces list.
- Click Add.
The VLAN Settings page opens.
Security zones correspond to aliases for interface security zones. For example, VLANs of type Trusted are handled by policies that use the alias Any-Trusted as a source or destination.
- In the Name text box, type a name for the VLAN. The name cannot contain spaces.
- (Optional) In the Description text box, type a description of the VLAN.
- In the VLAN ID text box, type or select a value for the VLAN.
- From the Security Zone drop-down list, select Trusted, Optional, Custom, or External.
- In the IP Address text box, type the address of the VLAN gateway.
Any computer in this new VLAN must use this IP address as its default gateway. - In the Select a VLAN Tag Setting for Each Interface list, select one or more interfaces.
- From the Select Traffic drop-down list, select an option to apply to the selected interfaces:
- Tagged Traffic — The interface sends and receives tagged traffic.
- Untagged Traffic — The interface sends and receives untagged traffic.
- No Traffic — Remove the interface from this VLAN configuration.
- Click Save.
For information about the intra-VLAN traffic setting, go to the Apply Firewall Policies to Intra-VLAN Traffic section on this page.
Configure a VLAN in Policy Manager
In Policy Manager, you must create the VLAN before you can configure interfaces as members of that VLAN. The VLAN configuration settings in Policy Manager do not include the list of interfaces that are members of the VLAN.
- Select Network > Configuration.
The Network Configuration dialog box opens. - Select the VLAN tab.
A list of existing user-defined VLANs and their settings opens.
- Click Add.
The New VLAN Configuration dialog box opens.
Security zones correspond to aliases for interface security zones. For example, VLANs of type Trusted are handled by policies that use the alias Any-Trusted as a source or destination.
- In the Name (Alias) text box, type a name for the VLAN.
- (Optional) In the Description text box, type a description of the VLAN.
- In the VLAN ID text box, type or select a value for the VLAN.
- From the Security Zone drop-down list, select Trusted, Optional, Custom, or External.
- In the IP Address text box, type the address of the VLAN gateway.
Any computer in this new VLAN must use this IP address as its default gateway.
For information about the intra-VLAN traffic setting, go to the Apply Firewall Policies to Intra-VLAN Traffic section on this page.
After you create the VLAN, you can configure interfaces as members of the VLAN. For more information, go to Assign Interfaces to a VLAN.
View Which Interfaces Are Members of the VLAN
On the VLAN tab, you can view a summary of the VLAN configuration, and a list of interfaces that are members of the VLAN.
On the VLAN tab, the numbers in the Interfaces column show the physical interfaces that are members of this VLAN. The interface number in bold is the interface that sends untagged data to that VLAN.
Use DHCP on a VLAN
For a VLAN in the Trusted, Optional, or Custom security zone, you can configure the Firebox as a DHCP server for the computers on your VLAN network.
- In the VLAN settings, select the Network tab.
- From the DHCP Mode drop-down list, select DHCP Server.
- (Optional) In the Domain Name text box, type a domain name to supply it to the DHCP clients.
- To change the default lease time, type or select a number in the Lease Time text box and specify a unit of measurement in the drop-down list.
This is the time interval that a DHCP client can use an IP address that it receives from the DHCP server. When the lease time is about to expire, the client sends a request to the DHCP server to get a new lease. - To add an IP address pool, in the Address Pool section, click Add.
- In the Starting IP and Ending IP text boxes, type the first and last IP addresses in the pool.
You can configure a maximum of six address pools. - To reserve a specific IP address for a client, in the Reserved Address section, click Add.
- In the IP Address, Reservation Name, and MAC Address text boxes, type the values for the device, then click OK.
- To add DNS or WINS servers to your DHCP configuration, type the server address in the text box adjacent to the list. Click Add.
- To delete a server from the list, select the server from the list and click Remove.
- To configure DHCP options, click DHCP Options.
- (Fireware v12.1.1 or higher) By default, the Firebox IP address is the default gateway. To specify a different IP address as the default gateway, select Specify and type an IP address.
- In the New VLAN Configuration dialog box, select Use DHCP Server.
- To add an IP address pool, in the Address Pool section, click Add.
- Type the first and last IP addresses assigned for distribution, then click OK.
You can configure a maximum of six address pools. - To reserve a specific IP address for a client, in the Reserved Addresses section, click Add.
- Type a Reservation Name for the reservation, the IP Address you want to reserve, and the MAC Address of the client network card, then click OK.
- To change the default lease time, from the Leasing Time drop-down list, select a different time interval.
This is the time interval that a DHCP client can use an IP address that it receives from the DHCP server. When the lease time is about to expire, the client sends a request to the DHCP server to get a new lease. - To add DNS or WINS servers to your DHCP configuration, click Configure DNS/WINS Servers.
- (Optional) In the Domain Name text box, type a domain name to supply it to the DHCP clients.
- To configure DHCP options, click DHCP Options.
- (Fireware v12.1.1 or higher) By default, the Firebox IP address is the default gateway. To specify a different IP address as the default gateway, select Specify and type an IP address.
For more information about DNS/WINS and DHCP options for each interface, go to Configure an IPv4 DHCP Server.
Use DHCP Relay on a VLAN
- On the Network tab, from the DHCP Mode drop-down list, select DHCP Relay.
- Add the IP addresses of up to three DHCP servers.
- In the New VLAN Configuration dialog box, select Use DHCP Relay.
- Add the IP addresses of up to three DHCP servers.
Make sure to add a route to the DHCP server if necessary.
For more information about DHCP relay, go to Configure DHCP Relay.
Apply Firewall Policies to Intra-VLAN Traffic
You can configure more than one Firebox interface as a member of the same VLAN. For an example of this type of configuration, go to Configure One VLAN Bridged Across Two Interfaces.
To apply firewall policies to VLAN traffic between local interfaces, select the Apply Firewall Policies to Intra-VLAN Traffic check box.
Intra-VLAN traffic is traffic from a VLAN that is destined for the same VLAN. When you enable this feature, the Firebox applies policies to traffic that passes through the firewall between computers that are on the same VLAN. If you want to apply policies to intra-VLAN traffic, make sure that no alternate path exists between the source and destination. The VLAN traffic must go through the Firebox for firewall policies to apply.
On an external VLAN interface, you must enable this setting so that the Firebox can:
- Apply policy-based routing and VPN tunnel routes to traffic received and sent by the same external VLAN interface
- Apply firewall policies and NAT to traffic received and sent by the same external VLAN interface
Intra-VLAN policies are applied by IP address, user, or alias. If the intra-VLAN traffic does not match any defined policy, the traffic is denied as unhandled packets. Intra-VLAN non-IP packets are allowed.
Note: In Fireware v12.1.1 or higher, this check box is selected by default for new external VLAN interfaces.
Configure Network Settings for a VLAN on the External Interface
When you configure a VLAN on the external interface, you must configure how the VLAN gets the external IP address.
- On the VLAN Settings tab, from the Security Zone drop-down list, select External.
- Select the Network tab.
- From the Configuration Mode drop-down list, select Static IP, DHCP, or PPPoE.
- Configure the network settings with the same method you use for other external interfaces.
For more information, go to Configure an External Interface.
- From the Security Zone drop-down list, select External.
- Select an option: Use Static IP, Use DHCP Client, or Use PPPoE.
- Configure the network settings with the same method you use for other external interfaces.
For more information, go to Configure an External Interface.
Enable IPv6 on a VLAN
To enable IPv6 on a VLAN interface:
- Select the IPv6 tab.
- Select the Enable IPv6 check box.
- Configure the IPv6 network settings the same as you would for any other interface.
For information about how to configure the IPv6 settings, go to:
Configure VLAN Secondary IP Addresses
- Select the Secondary tab.
- Type an unassigned host IP address in slash notation from the secondary network.
- Click Add.
- Select the Secondary tab.
- Click Add.
- Type an unassigned host IP address from the secondary network.
- Click OK.
For more information about secondary interface IP addresses, go to Add a Secondary Network IP Address.
Enable Spanning Tree Protocol
You can enable Spanning Tree Protocol for some VLAN configurations. Not all VLAN configurations are supported. For more information about Spanning Tree Protocol, go to About Spanning Tree Protocol.
To change the default Spanning Tree Protocol settings, you must use the Fireware Command Line Interface (CLI). For more information about the default Spanning Tree Protocol settings, go to Configure Spanning Tree Protocol Settings in the CLI.
To enable Spanning Tree Protocol from the Web UI:
- Select the Bridge Protocols tab.
- Select the Enable Spanning Tree Protocol check box.
- Click Save.
To enable Spanning Tree Protocol in Policy Manager:
- Select the Bridge Protocols tab.
- Select the Enable Spanning Tree Protocol check box.
- Click OK.
Enable 802.1p Marking for VLAN Interfaces
Some of the features described in this section are only available to participants in the WatchGuard Beta program. If a feature described in this section is not available in your version of Fireware, it is a beta-only feature.
In Fireware v12.7 or higher, you can enable 802.1p priority marking (tagging) for VLAN interfaces on your Firebox.
802.1p is a quality of service (QoS) or class of service (CoS) method that operates at the MAC layer (Layer 2). Equipment that supports 802.1p can add and recognize a value that indicates the priority level of the Ethernet frame. You can enable 802.1p to help make sure there is a high level of quality for latency-sensitive real-time communications, such as Voice Over IP (VoIP).
In Fireware v2026.5 or higher, when you enable 802.1p marking, you can also configure the Control Traffic PCP setting. The Control Traffic PCP value is a priority from 0 (lowest) through 7 (highest) that the Firebox applies to ARP and PPPoE Discovery frames on tagged VLAN members. This setting does not apply to IP traffic.
For detailed information about 802.1p marking, go to About 802.1p Marking for VLAN Interfaces.
To enable 802.1p marking, from Fireware Web UI:
- Select Network > VLAN.
- Select an existing VLAN interface and click Edit.
- Select the Bridge Protocols tab.
- Select the Enable 802.1p Priority Tagging for Layer 2 Frames check box.
- From the Control Traffic PCP drop-down list, select a value from 0 through 7.
- Click Save.
To enable 802.1p marking, from Policy Manager:
- Select Network > Configuration > VLAN.
- Select an existing VLAN interface and click Edit.
- Select the Bridge Protocols tab.
- Select the Enable 802.1p Priority Tagging for Layer 2 Frames check box.
- From the Control Traffic PCP drop-down list, select a value from 0 through 7.
- Click OK.
Next Steps
Before you can save this VLAN, you must Assign Interfaces to a VLAN.