IPv6 Cisco Router: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 33: | Zeile 33: | ||
==GigabitEthernet2== | ==GigabitEthernet2== | ||
*configure terminal | *configure terminal | ||
− | + | *interface GigabitEthernet2 | |
− | + | **description lan | |
− | + | **ip address 192.168.45.2 255.255.255.0 | |
− | + | **negotiation auto | |
− | + | **ipv6 address 2A02:24D8:71:3035::2/64 | |
− | |||
**ipv6 nd prefix default no-advertise | **ipv6 nd prefix default no-advertise | ||
**ipv6 nd ra suppress all | **ipv6 nd ra suppress all | ||
Zeile 45: | Zeile 44: | ||
=Test= | =Test= | ||
− | *ping ipv6 | + | *ping ipv6 2A02:24D8:71:3034::1 |
− | Sending 5, 100-byte ICMP Echos to 2A02:24D8:71: | + | Type escape sequence to abort. |
+ | Sending 5, 100-byte ICMP Echos to 2A02:24D8:71:3034::1, timeout is 2 seconds: | ||
!!!!! | !!!!! | ||
− | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/ | + | Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms |
+ | |||
=Default Route= | =Default Route= | ||
*configure terminal | *configure terminal | ||
− | *ipv6 route ::/0 2a02:24d8:71: | + | *ipv6 route ::/0 2a02:24d8:71:3030::1 |
*ip route 0.0.0.0 0.0.0.0 192.168.44.1 | *ip route 0.0.0.0 0.0.0.0 192.168.44.1 | ||
*end | *end | ||
Zeile 63: | Zeile 64: | ||
=IPv6 Nameserver= | =IPv6 Nameserver= | ||
*configure terminal | *configure terminal | ||
− | *ip name-server | + | *ip name-server 2A02:24D8:71:3030::1 |
− | |||
*end | *end | ||
Aktuelle Version vom 23. April 2024, 14:09 Uhr
Weiter geht es
- Wir bauen einen Cisco Router ein
- Dieser kommt an unser Transit Netz
- Wir Nutzen hier GigabitEthernet1
- IP 2a02:24d8:71:2444::2
- Wir stellen die Default Route auf 2a02:24d8:71:2444::1
- Wir testen
Schaubild
Einrichtung
Hostname
- configure terminal
- hostname cisco-router
- end
Forwarding von IPv6 Traffic
- configure terminal
- ipv6 unicast-routing
- ip routing
- end
Zurordnung zum Interface
GigabitEthernet1
- configure terminal
- interface GigabitEthernet1
- description to-opnsense
- ip address 192.168.44.2 255.255.255.0
- negotiation auto
- ipv6 address 2A02:24D8:71:3034::2/64
- exit
- end
GigabitEthernet2
- configure terminal
- interface GigabitEthernet2
- description lan
- ip address 192.168.45.2 255.255.255.0
- negotiation auto
- ipv6 address 2A02:24D8:71:3035::2/64
- ipv6 nd prefix default no-advertise
- ipv6 nd ra suppress all
- exit
- end
Test
- ping ipv6 2A02:24D8:71:3034::1
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2A02:24D8:71:3034::1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Default Route
- configure terminal
- ipv6 route ::/0 2a02:24d8:71:3030::1
- ip route 0.0.0.0 0.0.0.0 192.168.44.1
- end
Testen der Defaultroute
- ping ipv6 2001:4860:4860::8888
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:4860:4860::8888, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/7 ms
IPv6 Nameserver
- configure terminal
- ip name-server 2A02:24D8:71:3030::1
- end
Nameserver Test
- ping ipv6 google.de
Translating "google.de"...domain server (2A01:4F8:C17:2CC5::1) [OK] Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2A00:1450:4001:827::2003, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/6 ms