pt_set_pc_ipv4
Configure a PC's static IPv4 address, subnet mask, and gateway in Packet Tracer to set up or correct host network connectivity.
Instructions
Configure a PC's static IPv4 address, mask and gateway. / 配置PC静态地址、掩码、网关。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Host port; default FastEthernet0. / PC接口。 | |
| device | Yes | PC name. / PC名称。 | |
| address | Yes | IPv4 address. / IPv4地址。 | |
| gateway | Yes | IPv4 gateway in the same subnet. / 同网段网关。 | |
| netmask | Yes | Dotted subnet mask. / 子网掩码。 |