Hello,
@sakar wrote:
But, section 2.5.6 restricts Link-Local address as FE80::/64 which would mean addresses from FE80:: through FE80::FFFF:FFFF:FFFF:FFFF
Not true. RFC 4291 section 2.5.6 only says is that the first 10 bits are FE80 and subsequent 54 bits are 0. It does not say what the mask is and You are not restricted to using /64 netmask for link local addressing.
@sakar wrote:
How do other vendors handle Link-Local addressing?
JUNOS also allows You to configure link local addresses with masks shorter than 64:
## Using /48 netmask
[edit interfaces ge-0/0/1]
regress@R1# set unit 0 family inet6 address fe80::1111:2222:3333:4444/48
[edit interfaces ge-0/0/1]
regress@R1# show
unit 0 {
family inet {
address 10.0.113.2/24;
address 203.0.113.6/29;
}
family inet6 {
address fe80::1111:2222:3333:4444/48;
}
}
[edit interfaces ge-0/0/1]
regress@R1# commit
commit complete
[edit interfaces ge-0/0/1]
regress@R1# run show interfaces ge-0/0/1.0
Logical interface ge-0/0/1.0 (Index 347) (SNMP ifIndex 637)
Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 7612
Output packets: 18549
Protocol inet, MTU: 1500
Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 1, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re, Is-Primary
Addresses, Flags: Is-Default Is-Preferred Is-Primary
Destination: 10.0.113/24, Local: 10.0.113.2, Broadcast: 10.0.113.255
Addresses, Flags: Is-Preferred
Destination: 203.0.113.0/29, Local: 203.0.113.6, Broadcast: 203.0.113.7
Protocol inet6, MTU: 1500
Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Is-Primary
Addresses, Flags: Is-Preferred
Destination: fe80::/48, Local: fe80::1111:2222:3333:4444
INET6 Address Flags: Tentative
Protocol multiservice, MTU: Unlimited
## Using /63 netmask
[edit interfaces ge-0/0/1]
regress@R1# show | compare
[edit interfaces ge-0/0/1 unit 0 family inet6]
+ address fe80::1:2:3:4/63;
- address fe80::1111:2222:3333:4444/48;
[edit interfaces ge-0/0/1]
regress@R1# commit check
configuration check succeeds
[edit interfaces ge-0/0/1]
regress@R1# commit
commit complete
[edit interfaces ge-0/0/1]
regress@R1# run show interfaces ge-0/0/1.0
Logical interface ge-0/0/1.0 (Index 347) (SNMP ifIndex 637)
Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 7612
Output packets: 18561
Protocol inet, MTU: 1500
Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 1, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re, Is-Primary
Addresses, Flags: Is-Default Is-Preferred Is-Primary
Destination: 10.0.113/24, Local: 10.0.113.2, Broadcast: 10.0.113.255
Addresses, Flags: Is-Preferred
Destination: 203.0.113.0/29, Local: 203.0.113.6, Broadcast: 203.0.113.7
Protocol inet6, MTU: 1500
Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Is-Primary
Addresses, Flags: Is-Preferred
Destination: fe80::/63, Local: fe80::1:2:3:4
@sakar wrote:
Or, is there an error in RFC?
No.
HTH
Thx
Alex