CONFIG GLOBAL OBJECT NETWORK NEW
Level
globalobject,modify
History
Appears in Netasq 6.0.0
Description
Add global network object
Usage
name=<netname> [ip=<network IPV4 address> mask=<netmask>|prefixlen=<prefixlen>] [ipv6=<network IPv6 address> prefixlenv6=<prefixlen>] [localfirst=0|1] [color=xxxxxx] [comment=<comment>] [update=<0|1|2>]
Remark
At least one ip (v4 or v6) must be specified
without update parameter, command will return an error if an object with the same name exists.
0.0.0.0 and 255.255.255.255 IPv4 netmasks are not allowed
/0 and /32 IPv4 prefix len are not allowed
/0 and /128 IPv6 prefix len are not allowed
With update=2, modules which use the object are not reloaded.
Example
CONFIG GLOBAL OBJECT NETWORK NEW name=net0 ip=10.0.0.0 prefixlen=16 localfirst=1 comment="Global IPv4 only network"
CONFIG GLOBAL OBJECT NETWORK NEW name=net1 ip=10.0.0.0 mask=255.0.0.0 localfirst=1 comment="Global IPv4 only network"
CONFIG GLOBAL OBJECT NETWORK NEW name=net2 ipv6=fe80:: prefixlenv6=64 localfirst=1 comment="Global IPv6 only network"
CONFIG GLOBAL OBJECT NETWORK NEW name=net3 ip=10.0.0.0 mask=255.0.0.0 ipv6=fe80:: prefixlenv6=64 localfirst=1 comment="Global IPv4v6 network"
Cache category
objects