Ubuntu Server Tips: ifconfig -a

Bug #414618 reported by Kendall Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Tips
Invalid
Undecided
Unassigned

Bug Description

ifconfig -a will show you your configured network interfaces.

Revision history for this message
hexdump (mvh-alt) wrote :

Suggestion for addition: Can one then pull a cable in a multi-network setup, re-execute the command, and see or deduce from the command output the name (path) of the interface whose cable has been pulled? What would those command output differences be?

Revision history for this message
Kendall Price (kpauburn) wrote : Re: [Bug 414618] Re: Ubuntu Server Tips: ifconfig -a

If you disconnect a cable, the interface will lose its RUNNING indication.
For example:

cable connected:

$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0c:29:fb:5a:c0
          inet addr:192.168.42.128 Bcast:192.168.42.255 Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fefb:5ac0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:37 errors:36 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5334 (5.3 KB) TX bytes:7855 (7.8 KB)
          Interrupt:19 Base address:0x2024

cable disconnected:

$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0c:29:fb:5a:c0
          inet6 addr: fe80::20c:29ff:fefb:5ac0/64 Scope:Link
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:37 errors:36 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5334 (5.3 KB) TX bytes:7855 (7.8 KB)
          Interrupt:19 Base address:0x2024

On Mon, Aug 17, 2009 at 6:18 PM, hexdump <email address hidden> wrote:

> Suggestion for addition: Can one then pull a cable in a multi-network
> setup, re-execute the command, and see or deduce from the command output
> the name (path) of the interface whose cable has been pulled? What would
> those command output differences be?
>
> --
> Ubuntu Server Tips: ifconfig -a
> https://bugs.launchpad.net/bugs/414618
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Server Tips: New
>
> Bug description:
> ifconfig -a will show you your configured network interfaces.
>

Revision history for this message
Nick Barcet (nijaba) wrote :

Not sure this proposal is at the right level. Ubuntu server users should not be considered complete noob...

Changed in ubuntu-server-tips:
status: New → Invalid
Revision history for this message
Kendall Price (kpauburn) wrote :

I was trying not to make any assumptions about the level of knowledge of the user.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.