Netsh is a Windows command used to display and modify the network configuration of a currently running local or remote computer. These activities will show you how to use the netsh command to configure IPv6 6to4.
Note: To complete this activity, you must have an administrative user account or know the username and password of an administrator account you can enter when prompted.
Preparation[edit | edit source]
To prepare for this activity:
- Start Windows.
- Log in if necessary.
Activity 1 - Display 6to4 Status[edit | edit source]
To display 6to4 status:
- Open an elevated/administrator command prompt.
- Type netsh interface 6to4 show state and press Enter.
- Observe the 6to4 status.
- Type netsh interface 6to4 show relay and press Enter.
- Observe the 6to4 relay router.
Activity 2 - Enable 6to4[edit | edit source]
To enable 6to4:
- Type netsh interface 6to4 set state enabled and press Enter.
- Use ipconfig to display 6to4 settings. Note: 6to4 only works with a public IPv4 address. If you have a private IPv4 address, 6to4 will show the media state as disconnected.
Activity 3 - Disable 6to4[edit | edit source]
To disable 6to4:
- Type netsh interface 6to4 set state disabled and press Enter.
- Use ipconfig to confirm that 6to4 was disabled.
- Close the command prompt to complete this activity.