Configuring an IPv6 Address on an Interface

Problem

You want to configure an interface to work on an IPv6 network.

Solution

The IPv6 address configuration is very similar to that for IPv4:

	[edit]
	aviva@router1# set interfaces fe-0/0/3 unit 0 family 
inet6 address fec0:1:1:1::2/64

 

Discussion

For an interface to operate on an IPv6 network, it needs an IPv6 address in the inet6 address family. To see that the IPv6 address has been set, look at the logical interface:

	aviva@router1> show interfaces fe-0/0/3.0 brief
	 Logical interface fe-0/0/3.0
	 Flags: SNMP-Traps Encapsulation: ENET2
	 inet6 fe80::205:85ff:fe02:a403/64
	 fec0:1:1:1::2/64

 

See Also

Recipe 7.12


Router Configuration and File Management

Basic Router Security and Access Control

IPSec

SNMP

Logging

NTP

Router Interfaces

IP Routing

Routing Policy and Firewall Filters

RIP

IS-IS

OSPF

BGP

MPLS

VPNs

IP Multicast



JUNOS Cookbook
Junos Cookbook (Cookbooks (OReilly))
ISBN: 0596100140
EAN: 2147483647
Year: 2007
Pages: 290
Authors: Aviva Garrett

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net