ZyWALL Series CLI Reference Guide
460
CHAPTER 52
Addresses
This chapter describes how to set up addresses and address groups for the Zyxel Device.
52.1 Address Overview
Address objects can represent a single IP address or a range of IP addresses. Address groups are
composed of address objects and other address groups.
You can create IP address objects based on an interface’s IP address, subnet, or gateway. The Zyxel
Device automatically updates these objects whenever the interface’s IP address settings change. This
way every rule or setting that uses the object uses the updated IP address settings. For example, if you
change the LAN1 interface’s IP address, the Zyxel Device automatically updates the corresponding
interface-based, LAN1 subnet address object. So any configuration that uses the LAN1 subnet address
object is also updated.
Address objects and address groups are used in dynamic routes, firewall rules, application patrol,
content filtering, and VPN connection policies. For example, addresses are used to specify where
content restrictions apply in content filtering. Please see the respective sections for more information
about how address objects and address groups are used in each one.
Address groups are composed of address objects and address groups. The sequence of members in the
address group is not important.
52.2 Address Commands Summary
The following table describes the values required for many address object and address group
commands. Other values are discussed with the corresponding commands.
The following sections list the address object and address group commands.
Table 259 Input Values for Address Commands
LABEL DESCRIPTION
object_name
The name of the address. You may use 1-31 alphanumeric characters, underscores(_), or
dashes (-), but the first character cannot be a number. This value is case-sensitive.
group_name
The name of the address group. You may use 1-31 alphanumeric characters,
underscores(
_), or dashes (-), but the first character cannot be a number. This value is case-
sensitive.
interface_name
The name of the interface. This depends on the Zyxel Device model.
For some models, use gex, x = 1 ~ N, where N equals the highest numbered Ethernet
interface for your Zyxel Device model.
For other models, use a name such as wan1, wan2, opt, lan1, or dmz.