Professional Documents
Culture Documents
ENVIRONMENT
Algorithmic translation
§ Overwrite high order bits
Stateless translation
Checksum neutral
No requirement for routing symmetry
By default, supports inbound connection requests
Hosts numbered from the lower half of the SAB normally receive
inbound traffic from Upstream Provider #1
Hosts numbered from the higher half of the SAB normally receive
inbound traffic from Upstream Provider #2
Selected hosts can receive inbound traffic from both Upstream
Provider #1 and Upstream Provider #2
§ These hosts have multiple SAB addresses
§ At least one address is drawn from the lower half of the SAB
§ At lease one address is drawn from the higher half of the SAB
Inbound
• If the 64 high-order bits of the destination address match the 64 high-order
bits of CNB #1, overwrite those bits with the 64 bits that identify the lower
half of the SAB
• Same if 64 high-order bits match CNB#2
• Else silently discard
Outbound
• If the 64 high-order bits of the source address match the 64 bits that identify
the lower half of the SAB, overwrite those bits with the 64 high order bits of
CNB #1
• Same if 64 high-order bits match higher half of SAB
• Else silently discard
ISP #1
Backup Backup
PE #1 ISP #2
PE #2
PE #1 PE #2
Outside
Outside Multi-hop Multi-hop
interface
interface EBGP EBGP
NPTv6
NPTv6
#2
#1
Multi-homed Site
iBGP
iBGP Advertise CNB#1
Next-hop self
Advertise CNB#1 Low Pref
ISP #1
Next-hop self
Backup Backup
High Pref ISP #2
PE #1 PE #2
PE #1 PE #2
Outside
Outside Multi-hop Multi-hop
interface
interface EBGP EBGP
NPTv6
NPTv6
#2
#1
Multi-homed Site
Outbound
§ Controlled by site
§ Traffic can exit through either NPTv6 gateway
§ Redundancy
§ Transport-layer survivability
§ Load balancing
§ Address independence
§ Prevent excessive growth of global routing tables
IPv4 address of
www.example.com
IPv4
IPv6
IPv6 clients
www.example.com
DNS AAAA 2001:…
NAT 64
Translator
Cloud
IPv6 IPv6
IPv6 IPv6/IPv4 IPv6/IPv4
2001:db8:0200:0002::/96
Host IPv6
DNS64
IPv6 IPv6 IPv6
NAT64
10.2.1.0/24
IPv4
x.x.x.x
IPv6 IPv6
IPv6 IPv6/IPv4 IPv6/IPv4
2001:db8:0200:0002::/96
Host IPv6
DNS64
IPv6 IPv6 IPv6
NAT64
10.2.1.0/24
{master}[edit interfaces]
lab@re0.lab-mx480.lab.boe# show ge-5/0/0.0
family inet;
IPv4 10.1.1.2/30 Web Content v4
family inet6 {
service {
input { IPv4
service-set NAT64_npu1 service-filter NAT64_only;
}
output {
service-set NAT64_npu1 service-filter NAT64_only; x.x.x.x
}
}
address 2001:db8:0200:0001::1/64;
}
16 Copyright © 2011 Juniper Networks, Inc. | www.juniper.net
LAB TOPOLOGY – NAT64
IPv6 IPv6
IPv6 IPv6/IPv4 IPv6/IPv4
2001:db8:0200:0002::/96
Host IPv6
DNS64
IPv6 IPv6 IPv6
NAT64
lab@re0.lab-mx480.lab.boe# show service-set NAT64_npu1
syslog { 10.2.1.0/24
host local {
class { IPv4 10.1.1.2/30 Web Content v4
nat-logs;
}
}
} IPv4
nat-rules NAT64_npu1;
interface-service {
service-interface sp-1/0/0.0; x.x.x.x
}
{master}[edit interfaces]
lab@re0.lab-mx480.lab.boe# show sp-1/0/0.0
family inet;
17 inet6;
family Copyright © 2011 Juniper Networks, Inc. | www.juniper.net
LAB TOPOLOGY – NAT64
IPv6 IPv6
IPv6 IPv6/IPv4 IPv6/IPv4
{master}[edit services nat]
lab@re0.lab-mx480.lab.boe# show
pool NAT64_npu1 { 2001:db8:0200:0002::/96
address-range low 10.2.1.1 high 10.2.1.250;
Host IPv6
port {
automatic; DNS64
} IPv6 IPv6 IPv6
}
rule NAT64_npu1 {
2001:db8:0200:0001::/64
match-direction input; IPv6 IPv6
term 1 {
from { NAT64
destination-address { 10.2.1.0/24
2001:db8:0200:0002::/96;
}
}
IPv4 10.1.1.2/30 Web Content v4
then {
translated {
source-pool NAT64_npu1; IPv4
destination-prefix 2001:db8:0200:0002::/96;
translation-type {
stateful-nat64;
} x.x.x.x
}
}
}
}
18 Copyright © 2011 Juniper Networks, Inc. | www.juniper.net
LOG OPTIMIZATION TECHNIQUES
§ XFF