Re: adding a new network interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When your system is up you can start your eth2 by just one command,

--ifconfig eth2 add "ip-address" netmask "netmask" up

or you can make one file (If you are using Redhat)
# cd /etc/sysconfig/network-scripts
make here new file called "ifcfg-eth2" and contens should be as below:

DEVICE=eth2
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0e:56:58:A2:86
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
>TYPE=Ethernet


On Tue, Oct 14, 2008 at 8:45 PM, Nikhil Talpallikar <nikhil.talpallikar@xxxxxxxxx> wrote:

Hi,

how do I add a new network interface or adapter.
I want to add a new interface eth2 and configure it in such a way so that eth2 is up at boot time but has no ip address so that i can configure its ip after it boots.

thanks.

cheers,
nikhil


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux