Difference between revisions of "TDC IPv6 kursus 5 dages/netværk i lokalet"
From Teknologisk videncenter
m (→Konfiguration af Default Gateway) |
m (→Konfiguration af fælles Default Gateway) |
||
Line 109: | Line 109: | ||
ip route 192.168.224.0 255.255.252.0 192.168.146.107 | ip route 192.168.224.0 255.255.252.0 192.168.146.107 | ||
ip route 192.168.228.0 255.255.252.0 192.168.146.108 | ip route 192.168.228.0 255.255.252.0 192.168.146.108 | ||
− | + | ! | |
+ | ipv6 router ospf 1 | ||
+ | redistribute static | ||
</source> | </source> | ||
{{source cli}} | {{source cli}} | ||
[[Category:IPv6kursus]] | [[Category:IPv6kursus]] |
Revision as of 06:09, 7 June 2011
IP adresser i lokale 308
IPv6
- IPv6 Prefix 2001:16D8:DD85:146::/64
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
- IPv6 DNS Server: 2001:16d8:dd85:4:fc9f:e6f8:e994:130d
IPv4
- ipv4 Prefix 192.168.146.0/24
- IPv4 Default Gateway: 192.168.146.1
- IPv4 DNS Server: 172.16.4.16
IP Adresser til Grupper
Gruppe 1
IPv4
- IPv4 Prefix: 192.168.200.0/22
- IPv4 adresse i lokale 308: 192.168.146.101/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A100::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:1111:1111:1111:1111
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 2
IPv4
- IPv4 Prefix: 192.168.204.0/22
- IPv4 adresse i lokale 308: 192.168.146.102/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A200::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:2222:2222:2222:2222
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 3
IPv4
- IPv4 Prefix: 192.168.208.0/22
- IPv4 adresse i lokale 308: 192.168.146.103/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A300::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:3333:3333:3333:3333
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 4
IPv4
- IPv4 Prefix: 192.168.212.0/22
- IPv4 adresse i lokale 308: 192.168.146.104/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A400::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:4444:4444:4444:4444
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 5
IPv4
- IPv4 Prefix: 192.168.216.0/22
- IPv4 adresse i lokale 308: 192.168.146.105/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A500::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:5555:5555:5555:5555
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 6
IPv4
- IPv4 Prefix: 192.168.220.0/22
- IPv4 adresse i lokale 308: 192.168.146.106/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A600::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:6666:6666:6666:6666
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 7
IPv4
- IPv4 Prefix: 192.168.224.0/22
- IPv4 adresse i lokale 308: 192.168.146.107/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A700::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:7777:7777:7777:7777
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Gruppe 8
IPv4
- IPv4 Prefix: 192.168.228.0/22
- IPv4 adresse i lokale 308: 192.168.146.108/32
- IPv4 Default Gateway: 192.168.146.1
IPv6
- IPv6 Prefix: 2001:16d8:dd85:A100::/56
- IPv6 adresse i lokale 308: 2001:16D8:DD85:146:8888:8888:8888:8888
- IPv6 Default Gateway: 2001:16D8:DD85:146::1/128
Konfiguration af fælles Default Gateway
Denne konfiguration er udført på lokalets fælles IPv4 og IPv6 Default Gateway
ipv6 route 2001:16D8:DD85:A100::/56 2001:16D8:DD85:146:1111:1111:1111:1111
ipv6 route 2001:16D8:DD85:A200::/56 2001:16D8:DD85:146:2222:2222:2222:2222
ipv6 route 2001:16D8:DD85:A300::/56 2001:16D8:DD85:146:3333:3333:3333:3333
ipv6 route 2001:16D8:DD85:A400::/56 2001:16D8:DD85:146:4444:4444:4444:4444
ipv6 route 2001:16D8:DD85:A500::/56 2001:16D8:DD85:146:5555:5555:5555:5555
ipv6 route 2001:16D8:DD85:A600::/56 2001:16D8:DD85:146:6666:6666:6666:6666
ipv6 route 2001:16D8:DD85:A700::/56 2001:16D8:DD85:146:7777:7777:7777:7777
ipv6 route 2001:16D8:DD85:A800::/56 2001:16D8:DD85:146:8888:8888:8888:8888
!
ip route 192.168.200.0 255.255.252.0 192.168.146.101
ip route 192.168.204.0 255.255.252.0 192.168.146.102
ip route 192.168.208.0 255.255.252.0 192.168.146.103
ip route 192.168.212.0 255.255.252.0 192.168.146.104
ip route 192.168.216.0 255.255.252.0 192.168.146.105
ip route 192.168.220.0 255.255.252.0 192.168.146.106
ip route 192.168.224.0 255.255.252.0 192.168.146.107
ip route 192.168.228.0 255.255.252.0 192.168.146.108
!
ipv6 router ospf 1
redistribute static