Cisco: Dual Stack

From OnnoWiki
Revision as of 09:38, 27 December 2023 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Tool:

  • GNS3
  • Cisco C7200 + PA-8E in one slot
  • 2 VPC
  • Switch

Connection:

  • Cisco C7200 Ethernet 1/0 -> Switch Ethernet 0
  • Switch Ethernet 1 -> PC1
  • Switch Ethernet 2 -> PC2


Konfigurasi R1 C7200

configure
interface Ethernet 1/0
no shutdown
ipv6 address 2001:1234:ABCD::1/64
ip address 192.168.1.1 255.255.255.0
exit
ipv6 unicast-routing

Konfigurasi R1 DHCP IPv4

ip dhcp pool ipv4
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8

Konfigurasi R1 DHCPv6

ipv6 dhcp pool ipv6
address prefix 2001:1234:ABCD::1/64
dns-server 2001:4860:4860::8888
domain-name itts.ac.id
exit
interface gigaEthernet 1/0/1
ipv6 dhcp server ipv6 
ipv6 nd managed-config-flag
ipv6 nd other-config-flag
ipv6 nd prefix 2001:1234:ABCD::/64
infinite infinite no-auconfig