[clug] SEC: UNCLASSIFIED - ifconfig

Lisman, Jarrad FLGOFF Jarrad.Lisman at defence.gov.au
Thu Jun 5 08:47:05 EST 2003

Cheers, I did some more research and it turned up that it assigns by PCI
slot, first slot, second and so forth, like you said. Thanks heaps for that,
confirmed my suspicions. The only thing I woiuld like to know about now is
what does RUNNING mean :)


-----Original Message-----
From: Jepri [mailto:jepri at webone.com.au]
Sent: Thursday, 5 June 2003 8:45
To: Lisman, Jarrad FLGOFF
Cc: 'linux at lists.samba.org'
Subject: Re: [clug] SEC: UNCLASSIFIED - ifconfig

On 2003.06.05 08:18, "Lisman, Jarrad FLGOFF" wrote:
> OK stoopid question but... <shrug>
> when reading the output from ifconfig what does the RUNNING part mean.
> I
> have suspicions that it means there is a physical link present, ie.
> the
> cable is plugged from the NIC to a hub etc. Can anyone confirm or deny
> this?
> Oh and does Linux assign interface names to NIC's randomly or is there
> some
> logical order to it?

The order is clear, logical and useless - the first card it finds gets 
the first interface number, count up from there.

You can see this by, say, putting two network cards in, noting their 
interface numbers, then swapping them in their physical sockets.

It's a real bugger when dealing with PCMCIA cards, although there is a 
program that tries to associate IP addresses with known cards.

More information about the linux mailing list