Configuring Interface Ipv4 Addresses - Juniper EX2200 Hardware Manual

Junos osfor exseries ethernetswitches
Hide thumbs Also See for EX2200:
Table of Contents

Advertisement

Configuring Interface IPv4 Addresses

Copyright © 2015, Juniper Networks, Inc.
Whether the router or switch automatically generates the host number portion of
interface addresses—The
traffic, in which the prefix length of the address is 64 bits or less, and the low-order 64
bits of the address are zero. This option does not apply to the loopback interface (
because IPv6 addresses configured on the loopback interface must have a 128-bit
prefix length.
Whether this address is the preferred address—Each subnet on an interface has a
preferred local address. If you configure more than one address on the same subnet,
the preferred local address is chosen by default as the source address when you
originate packets to destinations on the subnet.
By default, the preferred address is the lowest-numbered address on the subnet. To
override the default and explicitly configure the preferred address, include the
statement when configuring the address.
Whether this address is the primary address—Each interface has a primary local address.
If an interface has more than one address, the primary local address is used by default
as the source address when you send packets from an interface where the destination
provides no information about the subnet (for example, some
By default, the primary address on an interface is the lowest-numbered non-127 (in other
words, non-loopback) preferred address on the interface. To override the default and
explicitly configure the preferred address, include the
the address.
Configuring Interface IPv4 Addresses on page 49
Configuring Interface IPv6 Addresses on page 51
You can configure router or switch interfaces with a 32-bit IP version 4 (IPv4) address
and optionally with a destination prefix, sometimes called a subnet mask. An IPv4 address
utilizes a 4-octet dotted decimal address syntax (for example,
with destination prefix utilizes a 4-octet dotted decimal address syntax with a destination
prefix appended (for example,
To configure an IPv4 address on routers and switches running Junos OS, use the
interface interface-name unit number family inet address a.b.c.d/nn
interfaces]
hierarchy level.
NOTE:
Juniper Networks routers and switches support
when used in point-to-point Ethernet configurations; however, they are not
supported by many other devices, such as hosts, hubs, routers, or switches.
You must determine if the peer system also supports
before configuration.
statement applies only to interfaces that carry IPv6
eui-64
primary
).
192.16.1.1/30
Chapter 2: Configuration Tasks
lo0
preferred
commands).
ping
statement when configuring
). An IPv4 address
192.16.1.1
edit
statement at the
[edit
destination prefixes
/31
destination prefixes
/31
49
)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents