Type the command to change your Ethernet interface eth0 to the IP 10.4.4.100 with a class C subnet mask.

Type the command to change your Ethernet interface eth0 to the IP 10.4.4.100 with a class C subnet mask.

Type the command to change your Ethernet interface eth0 to the IP 10.4.4.100 with a class C subnet mask.

Answer: ifconfig eth0 10.4.4.100 netmask 255.255.255.0

Explanation:
From the man pages:
ifconfig – configure a network interface
SYNOPSIS
ifconfig [-v] [-a] [-s] [interface]
ifconfig [-v] interface [aftype] options | address …

ifconfig eth0 10.4.4.100 netmask 255.255.255.0 is equal to ifconfig eth0 10.4.4.100/24



Leave a Reply 0

Your email address will not be published. Required fields are marked *