[Ilugc] NIC information

  • From: smohan@xxxxxxxx (S Mohan)
  • Date: Tue Jul 27 11:43:50 2004

-----Original Message-----
From: ilugc-bounces@xxxxxxxxxxxxx 
[mailto:ilugc-bounces@xxxxxxxxxxxxx] On Behalf Of Shakthi Kannan
Sent: Tuesday, July 27, 2004 10:32 AM
To: ilugc@xxxxxxxxxxxxx
Subject: Re: [Ilugc] NIC information

Hi!

$/sbin/ifconfig -a

will show you the complete information for the interfaces. It 
will give you the MAC address associated with each interface,

Regards,

Shaks

.--- Viveka Nathan K <vivek@xxxxxxxxxxxx> wrote:
Dear all,

    If I have 2 network cards connected, how can I know which is 
belonging to eth0 and eth1? .
    where the information will be stored ?

Thanks & Regards,
Vivek

You could also use nameif which allows the user to assign interface names.
Uses a startup file called /etc/mactab. Useful if you do not want to change
configuration or need specific interfaces (known MACs) to be called by known
device names as discovery sequence is not known. 

Regards
Mohan

Other related posts: