[j-nsp] link-local IPv6 addresses on SONET interfaces

Harry Reynolds harry at juniper.net
Sat Apr 28 12:25:54 EDT 2007


Hello,
I believe the command you want is of the form:

[edit]
regress at vpn12# show interfaces so-0/2/0 | display set 
set interfaces so-0/2/0 unit 0 family inet6 address 2000::/64 eui-64

While gives us:

[edit]
regress at vpn12# run show interfaces so-0/2/0              
Physical interface: so-0/2/0, Enabled, Physical link is Up
  Interface index: 136, SNMP ifIndex: 30
  Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode,
Speed: OC3,
  Loopback: None, FCS: 16, Payload scrambler: Enabled
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000
  Link flags     : Keepalives
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 0 (never), Output: 0 (never)
  LCP state: Down
  NCP state: inet: Not-configured, inet6: Not-configured, iso:
Not-configured, mpls:
  Not-configured
  CHAP state: Closed
  PAP state: Closed
  CoS queues     : 4 supported, 4 maximum usable queues
  Last flapped   : 2007-04-27 10:39:14 PDT (22:42:19 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 72 bps (0 pps)
  SONET alarms   : None
  SONET defects  : None

  Logical interface so-0/2/0.0 (Index 64) (SNMP ifIndex 72) 
    Flags: Hardware-Down Point-To-Point SNMP-Traps Encapsulation: PPP
    Protocol inet6, MTU: 4470
      Flags: Protocol-Down, Is-Primary
      Addresses, Flags: Dest-route-down Is-Default Is-Preferred
Is-Primary
        Destination: 2000::/64, Local: 2000::2a0:a5ff:fe12:2b62
      Addresses, Flags: Dest-route-down Is-Preferred
        Destination: fe80::/64, Local: fe80::2a0:a5ff:fe12:2b62

For interfaces that do not have their won mac, the system borrows the
first mac address that it find (Link Local address need not be unique,
expect on a given link, so tecnically the same LL can be use on every
interface in the system. In this case the box is using the mac asociated
with the fxp0 port (first mac found), which uses the intell OUI:

LL = fe80::2a0:a5ff:fe12:2b62

Eui-64 = 2a0:a5ff:fe12:2b62

EUI-48 (MAC) = 00:a0:a5:12:2b:62

[edit interfaces fe-1/0/2]
regress at vpn12# run show interfaces fxp0 | match 00:a0:a5:12:2b:62 
  Current address: 00:a0:a5:12:2b:62, Hardware address:
00:a0:a5:12:2b:62

HTHs



> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net 
> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of 
> Aaron Daubman
> Sent: Friday, April 27, 2007 1:51 PM
> To: juniper-nsp
> Subject: [j-nsp] link-local IPv6 addresses on SONET interfaces
> 
> Greetings,
> 
> I'm hoping somebody can tell me how inet6 link-local 
> addresses are generated for SONET interfaces and if an EUI-64 
> id can be specified (or whatever is being used can be changed).
> 
> ...I realize I could just set the link local address, however 
> it would seem cleaner to set the EUI-46, and then be able to 
> have it auto-gen the link-local as well as specify a prefix 
> to use and set it to use the EUI-64 for the last 64 as well...
> 
> (e.g. set address 2001:0123:abcd::/64 eui-64)
> 
> Thanks,
>      ~Aaron
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net 
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 



More information about the juniper-nsp mailing list