User Tools

Site Tools


products:ict:communications:courses:cisco:ccna:configuring_ipv6_addresses_on_network_devices

Configuring IPv6 addresses on network devices can be done manually or dynamically using various methods. Here's how to configure IPv6 addresses on network devices:

### Manual Configuration:

1. Interface Configuration:

  1. Access the device's configuration interface (e.g., CLI, web GUI).
  2. Enter global configuration mode.
  3. Access the interface configuration mode for the interface where you want to configure the IPv6 address.

```

 Router(config)# interface GigabitEthernet0/0
 Router(config-if)#
 ```

2. Assign IPv6 Address:

  1. Configure the IPv6 address on the interface.

```

 Router(config-if)# ipv6 address <IPv6_address>/<prefix_length>
 ```
 Example:
 ```
 Router(config-if)# ipv6 address 2001:db8::1/64
 ```

3. Enable the Interface:

  1. Ensure that the interface is enabled.

```

 Router(config-if)# no shutdown
 ```

4. Exit Configuration Mode:

  1. Exit interface configuration mode and return to global configuration mode.

```

 Router(config-if)# exit
 Router(config)#
 ```

5. Save Configuration:

  1. Save the configuration to ensure that the changes persist after a reboot.

```

 Router(config)# end
 Router# copy running-config startup-config
 ```

### Dynamic Configuration:

1. Stateless Address Autoconfiguration (SLAAC):

  1. Ensure that the router advertisements (RAs) are enabled on the router's interfaces.
  2. Devices on the network will automatically configure their IPv6 addresses based on the prefix information provided in the RAs.

2. Dynamic Host Configuration Protocol for IPv6 (DHCPv6):

  1. Set up a DHCPv6 server on the network (can be on the router or a dedicated server).
  2. Configure DHCPv6 address pools and options.
  3. Devices can obtain IPv6 addresses dynamically by sending DHCPv6 requests to the server.

### Verification:

- After configuring IPv6 addresses, verify the configuration using the following commands:

  1. `show ipv6 interface brief`: Displays the status and IPv6 addresses of all interfaces.
  2. `show ipv6 interface <interface>`: Displays detailed information about a specific interface, including its IPv6 configuration.
  3. `show ipv6 neighbors`: Displays the IPv6 neighbors (devices) that are directly connected to the router.
  4. `show ipv6 route`: Displays the IPv6 routing table, showing known routes and next-hop information.

### Example:

Here's an example of configuring an IPv6 address manually on a Cisco router:

``` Router> enable Router# configure terminal Router(config)# interface GigabitEthernet0/0 Router(config-if)# ipv6 address 2001:db8::1/64 Router(config-if)# no shutdown Router(config-if)# exit Router(config)# end Router# copy running-config startup-config ```

This configures the IPv6 address `2001:db8::1/64` on interface GigabitEthernet0/0 and ensures that the interface is enabled. The configuration is then saved to ensure persistence.

products/ict/communications/courses/cisco/ccna/configuring_ipv6_addresses_on_network_devices.txt · Last modified: 2024/04/01 00:10 by wikiadmin