3
Addressing
65
Example: Adding an Ethernet address
The
following
example
adds
an
Ethernet
Address
object
named
wwwsrv1_mac
with
the
numerical
MAC
address
08
‐
a3
‐
67
‐
bc
‐
2e
‐
f2
.
Device:/>
add
Address
EthernetAddress
wwwsrv1_mac
Address=08
‐
a3
‐
67
‐
bc
‐
2e
‐
f2
Auto-generated address objects
To
simplify
the
configuration,
a
number
of
address
objects
in
the
address
book
are
automatically
created
by
the
SEG
when
the
system
starts
for
the
first
time
and
these
objects
are
used
in
various
parts
of
the
initial
configuration.
Generated objects
The
following
address
objects
are
auto
‐
generated:
•
Interface
addresses:
For
each
Ethernet
interface
in
the
system,
two
IPv4
address
objects
are
predefined;
one
object
for
the
IP
address
of
the
actual
interface,
and
one
object
representing
the
local
network
for
that
interface.
Interface
IPv4
address
objects
are
named
<interface
‐
name>_ip
and
network
objects
are
named
<interface
‐
name>_net
.
For
example,
an
interface
named
sfp1
will
have
an
associated
interface
IP
object
named
sfp1_ip
,
and
a
network
object
named
sfp1_net
.
•
all
‐
nets
‐
ip4:
The
all
‐
nets
‐
ip4
IPv4
address
object
is
initialized
to
the
IPv4
address
0.0.0.0/0
,
which
represents
all
possible
IP4
addresses.
The
all
‐
nets
‐
ip4
IP
object
is
used
extensively
in
the
configuration
of
the
SEG
and
it
is
important
to
understand
its
significance.
•
all
‐
nets
‐
ip6:
The
all
‐
nets
‐
ip6
object
performs
the
same
function
as
all
‐
nets
‐
ip4
but
for
the
IP6
address
space.
•
all
‐
nets:
The
all
‐
nets
object
includes
all
IP4
and
IP6
addresses.
The
netobjects
command
shows
the
current
address
book
contents.
For
example:
Device:/>
netobjects
all
‐
nets
0.0.0.0/0,
::/0
all
‐
nets
‐
ip4
0.0.0.0/0
all
‐
nets
‐
ip6
::/0
Assigning multiple IP addresses to an interface
As
discussed
in
Ethernet
interfaces
on
page
55
,
it
is
possible
to
assign
multiple
addresses
to
a
single
Ethernet
interface.
This
is
done
by
assigning
the
addresses
to
the
interface’s
address
object.
For
example:
Device:/>
set
Address
IPAddress
sfp1_ip
Address=10.1.1.2,2001:DB8::1
A
maximum
of
six
IPv4
plus
six
IPv6
addresses
can
be
assigned
to
a
single
Ethernet
interface.
Addresses
in
excess
of
this
number
will
be
ignored.