Difference between revisions of "TDC IPv6 kursus 5 dages/Øvelse BGP"
From Teknologisk videncenter
m (→IPv4) |
m (→IPv6) |
||
Line 59: | Line 59: | ||
</source> | </source> | ||
− | ===IPv6=== | + | ===IPv6 overordnet=== |
#Konfigurer IPv6 adresser på Fa0/0 og Fa0/1 | #Konfigurer IPv6 adresser på Fa0/0 og Fa0/1 | ||
#Konfigurer IPv6 IS-IS på fa0/0 og Fa0/1 | #Konfigurer IPv6 IS-IS på fa0/0 og Fa0/1 | ||
Line 65: | Line 65: | ||
#Konfigurer IPv6 eBGP til nabo AS'et (R1 og R8 konfigurerer default gateway til Lag 3 switch) | #Konfigurer IPv6 eBGP til nabo AS'et (R1 og R8 konfigurerer default gateway til Lag 3 switch) | ||
#Test der er fuld IPv6 Konnektivitet | #Test der er fuld IPv6 Konnektivitet | ||
+ | ====IPv6 adresser==== | ||
+ | <source lang=cli> | ||
+ | interface loopback 0 | ||
+ | ipv6 address 2001:16d8:dd85:a501::1/128 | ||
+ | ! | ||
+ | interface FastEthernet0/0 | ||
+ | ipv6 address 2001:16D8:DD85:A500::1/64 | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | ipv6 address 2001:16D8:DD85:A400::2/64 | ||
+ | </source> | ||
+ | ====IPv6 IS-IS==== | ||
+ | <source lang=cli> | ||
+ | interface FastEthernet0/0 | ||
+ | ipv6 router isis | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | ipv6 router isis | ||
+ | isis circuit-type level-2-only | ||
+ | </source> | ||
+ | ====IPv6 iBGP til nabo i AS==== | ||
+ | <source lang=cli> | ||
+ | router bgp 300 | ||
+ | bgp router-id 192.168.217.1 | ||
+ | neighbor 2001:16D8:DD85:A500::2 remote-as 300 | ||
+ | neighbor 2001:16D8:DD85:A500::2 update-source Loopback0 | ||
+ | ! | ||
+ | address-family ipv6 | ||
+ | neighbor 2001:16D8:DD85:A500::2 activate | ||
+ | exit-address-family | ||
+ | </source> | ||
+ | ====IPv6 eBGP til nabo AS==== | ||
+ | <source lang=cli> | ||
+ | router bgp 300 | ||
+ | neighbor 2001:16D8:DD85:A400::1 remote-as 400 | ||
+ | neighbor 2001:16D8:DD85:A400::1 update-source FastEthernet0/1 | ||
+ | ! | ||
+ | address-family ipv6 | ||
+ | neighbor 2001:16D8:DD85:A400::1 activate | ||
+ | </source> | ||
{{Source cli}} | {{Source cli}} | ||
[[Category:IPv6]] | [[Category:IPv6]] |
Revision as of 07:56, 24 November 2011
Contents
ToDo
Grundkonfiguration af Router
- Slet tidligere konfigurationer
R5# <input>erase startup</input>
R5# <input>reload</input>
- Kør setup programmet vælg cisco,class og cisco som passwords-
IPv4 overordnet
- Konfigurer IPv4 adresser på Fa0/0, Fa0/1 og Looopback 0
- Konfigurerer IPv4 IS-IS inden for de enkelte AS (Anvend loopback 0 til at finde NSAP adresse)
- Konfigurer IPv4 iBGP mellem routerne i AS'et
- Konfigurer IPv4 eBGP til nabo AS (R1 og R8 konfigurerer default gateway til Lag 3 switch)
- Test at der er fuld IPv4 konnektivitet
IPv4 adresser på interfaces
interface Loopback0
ip address 192.168.217.1 255.255.255.255
!
interface FastEthernet0/0
description Link to R6
ip address 192.168.216.1 255.255.255.0
!
interface FastEthernet0/1
description Link to R4
ip address 192.168.212.2 255.255.255.0
IPv4 IS-IS indenfor AS'et
ip routing
!
router isis
net 49.0000.1921.6821.7001.00
is-type level-2-only
metric-style wide
!
interface Loopback0
ip router isis
!
interface FastEthernet0/0
ip router isis
iBGP indenfor AS'et
router bgp 300
no synchronization
neighbor 192.168.217.2 remote-as 300
neighbor 192.168.217.2 update-source Loopback0
no auto-summary
eBGP til nabo-as
router bgp 300
neighbor 192.168.212.1 remote-as 200
neighbor 192.168.212.1 update-source FastEthernet0/1
IPv6 overordnet
- Konfigurer IPv6 adresser på Fa0/0 og Fa0/1
- Konfigurer IPv6 IS-IS på fa0/0 og Fa0/1
- Konfigurer IPv6 iBGP til routere i AS'et
- Konfigurer IPv6 eBGP til nabo AS'et (R1 og R8 konfigurerer default gateway til Lag 3 switch)
- Test der er fuld IPv6 Konnektivitet
IPv6 adresser
interface loopback 0
ipv6 address 2001:16d8:dd85:a501::1/128
!
interface FastEthernet0/0
ipv6 address 2001:16D8:DD85:A500::1/64
!
interface FastEthernet0/1
ipv6 address 2001:16D8:DD85:A400::2/64
IPv6 IS-IS
interface FastEthernet0/0
ipv6 router isis
isis circuit-type level-2-only
!
interface FastEthernet0/1
ipv6 router isis
isis circuit-type level-2-only
IPv6 iBGP til nabo i AS
router bgp 300
bgp router-id 192.168.217.1
neighbor 2001:16D8:DD85:A500::2 remote-as 300
neighbor 2001:16D8:DD85:A500::2 update-source Loopback0
!
address-family ipv6
neighbor 2001:16D8:DD85:A500::2 activate
exit-address-family
IPv6 eBGP til nabo AS
router bgp 300
neighbor 2001:16D8:DD85:A400::1 remote-as 400
neighbor 2001:16D8:DD85:A400::1 update-source FastEthernet0/1
!
address-family ipv6
neighbor 2001:16D8:DD85:A400::1 activate