configure_host_ipv6
Set IPv6 configuration on a Packet Tracer PC, laptop, or server: static address, SLAAC, or off, with optional gateway and DNS. Returns port addresses.
Instructions
Set the IPv6 configuration of a PC, laptop or server, like the IPv6 part of IP Configuration: static with an address such as 2001:db8:10::20/64, auto for SLAAC, or off; optional gateway (usually the router's link-local fe80::1) and DNS. Returns the addresses Packet Tracer now has on the port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | IPv6 DNS server. | |
| mode | No | `static` (default), `auto` for SLAAC, or `off`. | static |
| port | No | Network port to configure. Defaults to `FastEthernet0`. | |
| device | Yes | PC, laptop or server name. | |
| address | No | Static address with its prefix length, for example `2001:db8:10::20/64`. | |
| gateway | No | Default gateway, usually the router's link-local address such as `fe80::1`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | ||
| mode | Yes | ||
| port | Yes | ||
| device | Yes | ||
| gateway | No | ||
| addresses | Yes | Addresses on the port as `address/prefix`, read back from Packet Tracer. |