IPv6 Cisco Router: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 44: Zeile 44:
  
 
=Test=
 
=Test=
*ping ipv6 2a02:24d8:71:2444::1
+
*ping ipv6 2A02:24D8:71:3034::1
  Sending 5, 100-byte ICMP Echos to 2A02:24D8:71:2444::1, timeout is 2 seconds:
+
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/2/5 ms
+
  Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
 +
 
 
=Default Route=
 
=Default Route=
 
*configure terminal
 
*configure terminal

Version vom 20. April 2024, 08:57 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:2444::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 2001:4860:4860::8888
  • ip name-server 8.8.8.8
  • 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