Views:
Table 1. configure network interface

Configures the IP address for the network interface card (NIC).

Syntax:

configure network interface [ipv4 | ipv6] <interface> <ip> <mask>

View

Privileged

Parameters

ipv4: Configure IPv4 settings

ipv6: Configure IPv6 settings

<interface>: NIC name

<ip>: IP address for the interface

<mask>: Network mask for the NIC

Example:

To configure an NIC with the following values:

  • Interface: eth0

  • IPv4 address: 192.168.10.10

  • IPv4 subnet mask: 255.255.255.0

configure network interface ipv4 eth0 192.168.10.10 255.255.255.0