Connecting IPv6 Isl ands with IPv4 MPLS
2012-07-09 15:55
483 查看
Juniper,Junos 6PE-LAB。
Many service providers are looking for ways to provide new revenue-generating services
to their customers. One such service is Internet Protocol version 6 (IPv6). Some enterprise
customers are beginning to experiment with this new version of IP , but are reluctant to
deploy it broadly. Interconnecting multiple sites that use IPv6 can be challenging. Also,
most service providers would prefer to carry this traffic without making major
modifications to their core network.
绿城百合@RTA# show
r1 {
interfaces {
fe-0/3/2 {
unit 12 {
vlan-id 12;
family inet6 {
address 8001::1/126;
}
}
}
lo0 {
unit 1 {
family inet6 {
address 9001::1/128;
}
}
}
}
protocols {
bgp {
group to-R2-p1 {
type external;
local-address 8001::1;
family inet6 {
unicast;
}
export policy1;
peer-as 100;
neighbor 8001::2;
}
}
}
policy-options {
policy-statement policy1 {
term 1 {
from {
family inet6;
route-filter 9001::1/128 exact;
}
then accept;
}
term 2 {
then reject;
}
}
}
routing-options {
autonomous-system 200;
}
}
r2 {
interfaces {
fe-0/3/2 {
unit 23 {
vlan-id 23;
family inet {
address 10.255.2.1/30;
}
family inet6;
family mpls;
}
}
fe-0/3/3 {
unit 12 {
vlan-id 12;
family inet6 {
address 8001::2/126;
}
}
}
lo0 {
unit 2 {
family inet {
address 10.255.255.16/32;
}
}
}
}
protocols {
rsvp {
interface fe-0/3/2.23;
}
mpls {
ipv6-tunneling;
label-switched-path to-p2 {
to 10.255.255.15;
}
interface fe-0/3/2.23;
}
bgp {
group to-pe2 {
type internal;
local-address 10.255.255.16;
family inet {
unicast;
}
family inet6 {
labeled-unicast {
explicit-null;
}
}
export nhs;
neighbor 10.255.255.15;
}
group to-ce1-r1 {
type external;
local-address 8001::2;
family inet6 {
unicast;
}
peer-as 200;
neighbor 8001::1;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface fe-0/3/2.23;
interface lo0.2 {
passive;
}
}
}
}
policy-options {
policy-statement nhs {
term 1 {
from protocol bgp;
then {
next-hop self;
}
}
}
}
routing-options {
autonomous-system 100;
}
}
r3 {
interfaces {
fe-0/3/3 {
unit 23 {
vlan-id 23;
family inet {
address 10.255.2.2/30;
}
family mpls;
}
unit 34 {
vlan-id 34;
family inet {
address 10.255.3.1/30;
}
family mpls;
}
}
lo0 {
unit 3 {
family inet {
address 10.255.255.220/32;
}
}
}
}
protocols {
rsvp {
interface fe-0/3/3.23;
interface fe-0/3/3.34;
}
mpls {
interface fe-0/3/3.23;
interface fe-0/3/3.34;
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface fe-0/3/3.23;
interface fe-0/3/3.34;
interface lo0.0 {
passive;
}
}
}
}
}
r4 {
interfaces {
fe-0/3/2 {
unit 34 {
vlan-id 34;
family inet {
address 10.255.3.2/30;
}
family inet6;
family mpls;
}
unit 45 {
vlan-id 45;
family inet6 {
address 8002::1/126;
}
}
}
lo0 {
unit 4 {
family inet {
address 10.255.255.15/32;
}
}
}
}
protocols {
rsvp {
interface fe-0/3/2.34;
}
mpls {
ipv6-tunneling;
label-switched-path to-p1 {
to 10.255.255.16;
}
interface fe-0/3/2.34;
}
bgp {
group to-pe1 {
type internal;
local-address 10.255.255.15;
family inet {
unicast;
}
family inet6 {
labeled-unicast {
explicit-null;
}
}
export red-export;
neighbor 10.255.255.16;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface fe-0/3/2.34;
interface lo0.4 {
passive;
}
}
}
ripng {
group to-ce2 {
export red-import;
neighbor fe-0/3/2.45;
}
}
}
policy-options {
policy-statement red-export {
term 1 {
from protocol ripng;
then accept;
}
term 2 {
then reject;
}
}
policy-statement red-import {
from protocol bgp;
then accept;
}
}
routing-options {
autonomous-system 100;
}
}
r5 {
interfaces {
fe-0/3/3 {
unit 45 {
vlan-id 45;
family inet6 {
address 8002::2/126;
}
}
}
lo0 {
unit 5 {
family inet6 {
address 9001::5/128;
}
}
}
}
protocols {
ripng {
group to-pe2 {
export policy1;
neighbor fe-0/3/3.45;
}
}
}
policy-options {
policy-statement policy1 {
term 1 {
from {
family inet6;
route-filter 9001::5/128 exact;
}
then accept;
}
term 2 {
then reject;
}
}
}
routing-options {
autonomous-system 300;
}
}
[edit logical-systems]
本文出自 “绿城百合” 博客,请务必保留此出处http://junipers.blog.51cto.com/5355766/925030
Many service providers are looking for ways to provide new revenue-generating services
to their customers. One such service is Internet Protocol version 6 (IPv6). Some enterprise
customers are beginning to experiment with this new version of IP , but are reluctant to
deploy it broadly. Interconnecting multiple sites that use IPv6 can be challenging. Also,
most service providers would prefer to carry this traffic without making major
modifications to their core network.
绿城百合@RTA# show
r1 {
interfaces {
fe-0/3/2 {
unit 12 {
vlan-id 12;
family inet6 {
address 8001::1/126;
}
}
}
lo0 {
unit 1 {
family inet6 {
address 9001::1/128;
}
}
}
}
protocols {
bgp {
group to-R2-p1 {
type external;
local-address 8001::1;
family inet6 {
unicast;
}
export policy1;
peer-as 100;
neighbor 8001::2;
}
}
}
policy-options {
policy-statement policy1 {
term 1 {
from {
family inet6;
route-filter 9001::1/128 exact;
}
then accept;
}
term 2 {
then reject;
}
}
}
routing-options {
autonomous-system 200;
}
}
r2 {
interfaces {
fe-0/3/2 {
unit 23 {
vlan-id 23;
family inet {
address 10.255.2.1/30;
}
family inet6;
family mpls;
}
}
fe-0/3/3 {
unit 12 {
vlan-id 12;
family inet6 {
address 8001::2/126;
}
}
}
lo0 {
unit 2 {
family inet {
address 10.255.255.16/32;
}
}
}
}
protocols {
rsvp {
interface fe-0/3/2.23;
}
mpls {
ipv6-tunneling;
label-switched-path to-p2 {
to 10.255.255.15;
}
interface fe-0/3/2.23;
}
bgp {
group to-pe2 {
type internal;
local-address 10.255.255.16;
family inet {
unicast;
}
family inet6 {
labeled-unicast {
explicit-null;
}
}
export nhs;
neighbor 10.255.255.15;
}
group to-ce1-r1 {
type external;
local-address 8001::2;
family inet6 {
unicast;
}
peer-as 200;
neighbor 8001::1;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface fe-0/3/2.23;
interface lo0.2 {
passive;
}
}
}
}
policy-options {
policy-statement nhs {
term 1 {
from protocol bgp;
then {
next-hop self;
}
}
}
}
routing-options {
autonomous-system 100;
}
}
r3 {
interfaces {
fe-0/3/3 {
unit 23 {
vlan-id 23;
family inet {
address 10.255.2.2/30;
}
family mpls;
}
unit 34 {
vlan-id 34;
family inet {
address 10.255.3.1/30;
}
family mpls;
}
}
lo0 {
unit 3 {
family inet {
address 10.255.255.220/32;
}
}
}
}
protocols {
rsvp {
interface fe-0/3/3.23;
interface fe-0/3/3.34;
}
mpls {
interface fe-0/3/3.23;
interface fe-0/3/3.34;
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface fe-0/3/3.23;
interface fe-0/3/3.34;
interface lo0.0 {
passive;
}
}
}
}
}
r4 {
interfaces {
fe-0/3/2 {
unit 34 {
vlan-id 34;
family inet {
address 10.255.3.2/30;
}
family inet6;
family mpls;
}
unit 45 {
vlan-id 45;
family inet6 {
address 8002::1/126;
}
}
}
lo0 {
unit 4 {
family inet {
address 10.255.255.15/32;
}
}
}
}
protocols {
rsvp {
interface fe-0/3/2.34;
}
mpls {
ipv6-tunneling;
label-switched-path to-p1 {
to 10.255.255.16;
}
interface fe-0/3/2.34;
}
bgp {
group to-pe1 {
type internal;
local-address 10.255.255.15;
family inet {
unicast;
}
family inet6 {
labeled-unicast {
explicit-null;
}
}
export red-export;
neighbor 10.255.255.16;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface fe-0/3/2.34;
interface lo0.4 {
passive;
}
}
}
ripng {
group to-ce2 {
export red-import;
neighbor fe-0/3/2.45;
}
}
}
policy-options {
policy-statement red-export {
term 1 {
from protocol ripng;
then accept;
}
term 2 {
then reject;
}
}
policy-statement red-import {
from protocol bgp;
then accept;
}
}
routing-options {
autonomous-system 100;
}
}
r5 {
interfaces {
fe-0/3/3 {
unit 45 {
vlan-id 45;
family inet6 {
address 8002::2/126;
}
}
}
lo0 {
unit 5 {
family inet6 {
address 9001::5/128;
}
}
}
}
protocols {
ripng {
group to-pe2 {
export policy1;
neighbor fe-0/3/3.45;
}
}
}
policy-options {
policy-statement policy1 {
term 1 {
from {
family inet6;
route-filter 9001::5/128 exact;
}
then accept;
}
term 2 {
then reject;
}
}
}
routing-options {
autonomous-system 300;
}
}
[edit logical-systems]
本文出自 “绿城百合” 博客,请务必保留此出处http://junipers.blog.51cto.com/5355766/925030
相关文章推荐
- NAT64 Technology: Connecting IPv6 and IPv4 Networks
- Connecting IPv6 Islands over IPv4 MPLS Using IPv6 Provider Edge Routers (6PE)
- gateways for IPv4 and IPv6
- getaddrinfo 进行域名解析 ipv4 and ipv6
- C Language Examples of IPv4 and IPv6 Raw Sockets for Linux
- IPv4 and IPv6
- Mobile Internetworking with IPv6: Concepts, Principles and Practices
- How to support both ipv4 and ipv6 address for JAVA code.
- Sdm prefer dual-ipv4-and-ipv6 default
- Tcp/Ip: Architcture, Protocols, and Implementation With Ipv6 and Ip Security
- C Language Examples of IPv4 and IPv6 Raw Sockets for Linux
- Accepting connections from both IPv6 and IPv4 clients
- Handbook of IPv4 to IPv6 Transition: Methodologies for Institutional and Corporate Networks
- How to enable packet forwarding for IPv4 and IPv6
- MTU of IPV4 and IPV6
- Network interface operations for IPv4 and IPv6 on AIX Version 5.3
- Netsh Commands for Interface (IPv4 and IPv6)
- Flex 2.0 @ Work in combination with Spring and Hibernate
- Learning Joomla! Extension Development: Creating Modules, Components, and Plugins with PHP
- Visual Studio 2013 Update 2 and with Update 2