IPv6 Dual Stack Lab Cisco Switch: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „ interface GigabitEthernet0/0 description to-router switchport access vlan 4 switchport mode access negotiation auto ! interface GigabitEthernet0/1 switch…“)
 
Zeile 1: Zeile 1:
 
+
=Schnittstellen=
 +
<pre>
 
interface GigabitEthernet0/0
 
interface GigabitEthernet0/0
 
  description to-router
 
  description to-router
Zeile 31: Zeile 32:
 
  ip address 192.168.45.1 255.255.255.0
 
  ip address 192.168.45.1 255.255.255.0
 
  ipv6 address 2A02:24D8:71:2445::1/64
 
  ipv6 address 2A02:24D8:71:2445::1/64
!
+
</pre>
 
+
=Statische Routen=
 +
<pre>
 
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
 
ipv6 route ::/0 2A02:24D8:71:2444::1
 
ipv6 route ::/0 2A02:24D8:71:2444::1
 +
</pre>
  
 
+
=Forwarding=
#ipv6 unicast-routing
+
ipv6 unicast-routing
#ip routing
+
ip routing

Version vom 11. Januar 2024, 05:59 Uhr

Schnittstellen

interface GigabitEthernet0/0
 description to-router
 switchport access vlan 4
 switchport mode access
 negotiation auto
!
interface GigabitEthernet0/1
 switchport access vlan 5
 switchport mode access
 negotiation auto
!
interface GigabitEthernet0/2
 switchport access vlan 5
 switchport mode access
 negotiation auto
!
interface GigabitEthernet0/3
 switchport access vlan 5
 switchport mode access
 negotiation auto


interface Vlan4
 description transit
 ip address 192.168.44.2 255.255.255.0
 ipv6 address 2A02:24D8:71:2444::2/64
!
interface Vlan5
 description lan
 ip address 192.168.45.1 255.255.255.0
 ipv6 address 2A02:24D8:71:2445::1/64

Statische Routen

ip route 0.0.0.0 0.0.0.0 192.168.44.1
ipv6 route ::/0 2A02:24D8:71:2444::1

Forwarding

ipv6 unicast-routing
ip routing