Recent Changes - Search:

Softwares

.

Static-IP-address-assignment


Static IP address assignment:

DESCRIPTION

Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed.

If no arguments are given, ifconfig displays the status of the currently active interfaces. If a single interface argument is given, it displays the status of the given interface only; if a single -a argument is given, it displays the status of all interfaces, even those that are down. Otherwise, it configures an interface.

/sbin/ifconfig eth0 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255
  • Network address by convention would be the lowest: 192.168.10.0
  • Broadcast address by convention would be the highest: 192.168.10.255
  • The gateway can be anything, but following convention: 192.168.10.1
NAME
       ifconfig - configure a network interface

SYNOPSIS
       ifconfig [-v] [-a] [-s] [interface]
       ifconfig [-v] interface [aftype] options | address ...

Edit - History - Print - Recent Changes - Search
Page last modified on August 20, 2012, at 04:28 PM