Working in the CLI
VLAN and Subnet Command Notes
The
vlan
context defines Equalizer’s network connectivity. Each VLAN definition defines the front
panel ports that are configured for the VLAN, the VLAN ID (VID), and the subnets that belong to
the VLAN.
VLAN Subnets
A single VLAN can have more than one subnet assigned to it. In most configurations, there is a
one-to-one relationship between VLANs and subnets, but some practical problems are sometimes
solved by adding an additional subnet to a VLAN. For example, if all the IP addresses on the
subnet assigned to a VLAN are exhausted, the easiest way to add more IP addresses without
reconfiguring the network is to add an additional subnet to the VLAN.
VLAN IP Addresses
A VLAN IP address is defined on all subnets in a VLAN and is Equalizer’s IP address on that subnet.
Subnet IP addresses must be specified in CIDR format (e.g. 172.16.0.200/21). A VLAN can contain
multiple subnets with a mix of IPv4 and IPv6 addresses on different subnets in the same VLAN.
VLAN Services
A VLAN can have several
services
running on it: the GUI can be available on the VLAN IP address
via HTTP and/or HTTPS; and, SSH login on the VLAN IP can be enabled as well. It is not required
that any of these services be enabled on any VLAN.
If
services
are enabled on the VLAN, they must also be enabled in the global context in order to be
functional on the VLAN. See the
services
command in
Routing Between VLANs
By default, packets are not routed between VLANs. In other words, if a packet for a destination
address that is configured on
vlan2
arrives at a port that is configured for
vlan1
only
, the packet is
dropped. Routing from
vlan1
to
vlan2
is configured by adding
vlan2
to the list of permitted VLANs for
vlan1
.
For example, let’s say port 1 is configured for
vlan1
and subnet 10.10.10.0/24; port 2 is configured
for
vlan2
and subnet 172.16.0.0/24. If servers are connected to both ports, and these servers need
to communicate with one another through Equalizer, you would execute the following commands
to enable routing between
vlan1
and
vlan2
:
eqcli >
vlan vlan1 permit vlan2
eqcli >
vlan vlan2 permit vlan1
Using the
permit
command in the
vlan
context, as above, enables packet forwarding between
all
the
subnets defined in the current VLAN context, and the VLAN specified as an argument to
permit
.
226
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......