Difference between revisions of "IS-IS IPv6 Cisco IOS"

From Teknologisk videncenter
Jump to: navigation, search
m (IPv6 IS-IS through IPv4 only islands)
m (IPv6 IS-IS through IPv4 only islands)
Line 19: Line 19:
 
==IPv6 IS-IS through IPv4 only islands==
 
==IPv6 IS-IS through IPv4 only islands==
 
Because IS-IS uses [[CLNP]] and not [[IPv6]] a standard [[IPv6-over-IPv4-Tunnel]] can't be used. A [[GRE]] tunnel through IPv4 is necessary.
 
Because IS-IS uses [[CLNP]] and not [[IPv6]] a standard [[IPv6-over-IPv4-Tunnel]] can't be used. A [[GRE]] tunnel through IPv4 is necessary.
 +
=Building the tunnel=
 +
[[Image:GRE tunnel 1.png|600px]]
 +
==R1==
 
<source lang=cli>
 
<source lang=cli>
 +
hostname R1
 +
!
 +
interface Tunnel10
 +
description GRE tunnel over IPv4-only network to R2
 +
ip address 192.168.218.1 255.255.255.0
 +
ip router isis
 +
ipv6 address 2001:16D8:DD85:A600::1/64
 +
ipv6 enable
 +
ipv6 router isis
 +
isis circuit-type level-2-only
 +
tunnel source FastEthernet0/1
 +
tunnel destination 91.16.45.44
 +
!
 +
interface Loopback0
 +
ip address 192.168.217.1 255.255.255.255
 +
ip router isis
 +
ipv6 address 2001:16D8:DD85:A501::1/128
 +
ipv6 router isis
 +
isis circuit-type level-2-only
 +
!
 +
interface FastEthernet0/1
 +
description Connection to IPv4 only network
 +
ip address 83.90.56.5 255.255.255.252
 +
!
 
router isis
 
router isis
  net 49.0001.1921.6801.0001.00
+
  net 49.0000.1921.6821.7002.00
 +
is-type level-2-only
 +
metric-style wide
 
!
 
!
interface tunnel0
+
router bgp 3642
  ip address 222.2.2.2 255.255.255.0
+
bgp router-id 192.168.217.1
  ipv6 address 2001:410:ffff:1::1/64
+
no bgp default ipv4-unicast
  tunnel source ethernet0
+
neighbor PG-IPv6 peer-group
  tunnel destination 132.214.1.3
+
neighbor PG-IPv6 remote-as 3642
  tunnel mode gre ip
+
neighbor PG-IPv6 update-source Loopback0
 +
neighbor PG-IPv4 peer-group
 +
neighbor PG-IPv4 remote-as 3642
 +
neighbor PG-IPv4 update-source Loopback0
 +
neighbor 2001:16D8:DD85:A600::2 peer-group PG-IPv6
 +
neighbor 192.168.225.1 peer-group PG-IPv4
 +
!
 +
address-family ipv4
 +
neighbor 192.168.225.1 activate
 +
no auto-summary
 +
no synchronization
 +
exit-address-family
 +
!
 +
address-family ipv6
 +
neighbor 2001:16D8:DD85:A600::2 activate
 +
exit-address-family
 +
</source>
 +
=R2=
 +
<source lang=cli>
 +
 
 +
hostname R2
 +
!
 +
interface Tunnel10
 +
description GRE tunnel over IPv4-only network to R1
 +
  ip address 192.168.226.1 255.255.255.0
 +
ip router isis
 +
  ipv6 address 2001:16D8:DD85:A600::2/64
 +
ipv6 enable
 +
ipv6 router isis
 +
isis circuit-type level-2-only
 +
  tunnel source FastEthernet0/1
 +
  tunnel destination 83.90.56.5
 +
!
 +
interface Loopback0
 +
  ip address 192.168.225.1 255.255.255.255
 
  ip router isis
 
  ip router isis
 +
ipv6 address 2001:16D8:DD85:A701::1/128
 
  ipv6 router isis
 
  ipv6 router isis
 
  isis circuit-type level-2-only
 
  isis circuit-type level-2-only
 +
!
 +
interface FastEthernet0/1
 +
description Connection to IPv4 only network
 +
ip address 91.16.45.44 255.255.255.252
 +
!
 +
router isis
 +
net 49.0000.1921.6822.5001.00
 +
is-type level-2-only
 +
metric-style wide
 +
!
 +
router bgp 3642
 +
bgp router-id 192.168.225.1
 +
no bgp default ipv4-unicast
 +
neighbor PG-IPv4 peer-group
 +
neighbor PG-IPv6 remote-as 3642
 +
neighbor PG-IPv6 update-source Loopback0
 +
neighbor PG-IPv4 peer-group
 +
neighbor PG-IPv4 remote-as 3642
 +
neighbor PG-IPv4 update-source Loopback0
 +
neighbor 2001:16D8:DD85:A501::1 peer-group PG-IPv6
 +
neighbor 192.168.217.1 peer-group PG-IPv4
 +
!
 +
address-family ipv4
 +
neighbor PEER next-hop-self
 +
neighbor 192.168.217.1 activate
 +
no auto-summary
 +
no synchronization
 +
exit-address-family
 +
!
 +
address-family ipv6
 +
neighbor 2001:16D8:DD85:A501::1 activate
 +
exit-address-family
 
</source>
 
</source>
 +
 
=Testing=
 
=Testing=
 
[[CLNS]] throgh tunnel
 
[[CLNS]] throgh tunnel

Revision as of 10:06, 27 November 2011

For generel IS-IS and IS-IS for Ipv4 see IS-IS

Configuring IPv6 IS-IS

Example

float
hostname R1
!
router isis
 address-family ipv6
  redistribute static
 exit-address-family
 net 49.0001.1921.6801.0001.00
!
interface fastethernet0/0
 address 2001:410:ffff:1::1/64
 ipv6 router isis 
 isis circuit-type level-2-only

IPv6 IS-IS through IPv4 only islands

Because IS-IS uses CLNP and not IPv6 a standard IPv6-over-IPv4-Tunnel can't be used. A GRE tunnel through IPv4 is necessary.

Building the tunnel

GRE tunnel 1.png

R1

hostname R1
!
interface Tunnel10
 description GRE tunnel over IPv4-only network to R2
 ip address 192.168.218.1 255.255.255.0
 ip router isis
 ipv6 address 2001:16D8:DD85:A600::1/64
 ipv6 enable
 ipv6 router isis
 isis circuit-type level-2-only
 tunnel source FastEthernet0/1
 tunnel destination 91.16.45.44
!
interface Loopback0
 ip address 192.168.217.1 255.255.255.255
 ip router isis
 ipv6 address 2001:16D8:DD85:A501::1/128
 ipv6 router isis
 isis circuit-type level-2-only
!
interface FastEthernet0/1
 description Connection to IPv4 only network
 ip address 83.90.56.5 255.255.255.252
!
router isis
 net 49.0000.1921.6821.7002.00
 is-type level-2-only
 metric-style wide
!
router bgp 3642
 bgp router-id 192.168.217.1
 no bgp default ipv4-unicast
 neighbor PG-IPv6 peer-group
 neighbor PG-IPv6 remote-as 3642
 neighbor PG-IPv6 update-source Loopback0
 neighbor PG-IPv4 peer-group
 neighbor PG-IPv4 remote-as 3642
 neighbor PG-IPv4 update-source Loopback0
 neighbor 2001:16D8:DD85:A600::2 peer-group PG-IPv6
 neighbor 192.168.225.1 peer-group PG-IPv4
 !
 address-family ipv4
 neighbor 192.168.225.1 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family ipv6
 neighbor 2001:16D8:DD85:A600::2 activate
 exit-address-family

R2

hostname R2
!
interface Tunnel10
 description GRE tunnel over IPv4-only network to R1
 ip address 192.168.226.1 255.255.255.0
 ip router isis
 ipv6 address 2001:16D8:DD85:A600::2/64
 ipv6 enable
 ipv6 router isis
 isis circuit-type level-2-only
 tunnel source FastEthernet0/1
 tunnel destination 83.90.56.5
!
interface Loopback0
 ip address 192.168.225.1 255.255.255.255
 ip router isis
 ipv6 address 2001:16D8:DD85:A701::1/128
 ipv6 router isis
 isis circuit-type level-2-only
!
interface FastEthernet0/1
 description Connection to IPv4 only network
 ip address 91.16.45.44 255.255.255.252
!
router isis
 net 49.0000.1921.6822.5001.00
 is-type level-2-only
 metric-style wide
!
router bgp 3642
 bgp router-id 192.168.225.1
 no bgp default ipv4-unicast
 neighbor PG-IPv4 peer-group
 neighbor PG-IPv6 remote-as 3642
 neighbor PG-IPv6 update-source Loopback0
 neighbor PG-IPv4 peer-group
 neighbor PG-IPv4 remote-as 3642
 neighbor PG-IPv4 update-source Loopback0
 neighbor 2001:16D8:DD85:A501::1 peer-group PG-IPv6
 neighbor 192.168.217.1 peer-group PG-IPv4
 !
 address-family ipv4
 neighbor PEER next-hop-self
 neighbor 192.168.217.1 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 address-family ipv6
 neighbor 2001:16D8:DD85:A501::1 activate
 exit-address-family

Testing

CLNS throgh tunnel

R7#<input>show clns neighbors</input>
System Id      Interface   SNPA                State  Holdtime  Type Protocol
Hold8          Fa0/0       001b.548b.3f82      Up     27        <notice>L2</notice>   IS-IS
R6       <notice>Tu10</notice>        192.168.220.1       Up     28        <notice>L2</notice>   IS-IS

Testing

R7#<input>traceroute clns  49.0000.1921.6821.7002.00</input>

Type escape sequence to abort.
Tracing the route to 49.0000.1921.6821.7002.00
  1 49.0000.1921.6821.7002.00 0 msec ! 0 msec ! 0 msec !