Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

linux mac parameters

Posted on 11/01/2021 7:24:28 PM PDT by djf

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-26 last
To: djf

ifconfig


21 posted on 11/01/2021 7:54:13 PM PDT by perfect_rovian_storm
[ Post Reply | Private Reply | To 1 | View Replies]

To: djf
ifconfig -a will show everything you need.
22 posted on 11/01/2021 8:20:09 PM PDT by Myrddin
[ Post Reply | Private Reply | To 1 | View Replies]

To: djf; ShadowAce; Swordmaker; martin_fierro

...


23 posted on 11/01/2021 8:38:27 PM PDT by SunkenCiv (Imagine an imaginary menagerie manager imagining managing an imaginary menagerie.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: djf
"man" is the most important *NIX command.


Eliminate a little of the clutter:

$ ifconfig | grep broadcast && ifconfig | grep Ethernet

inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
ether 42:e5:34:20:b1:33 txqueuelen 1000 (Ethernet)

24 posted on 11/01/2021 9:49:02 PM PDT by Paal Gulli
[ Post Reply | Private Reply | To 1 | View Replies]

To: djf; All
ifconfig is being deprecated.

Use the command ip a as the replacement, if your distro provides it.

25 posted on 11/02/2021 4:29:55 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
ip link show This will show you the information for EVERY interface in your computer. So you need to look at the line set for the link/ether [eg MAC address] of the interface you need to report. Example:

3: enp0s25.2@enp0s25: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 18:03:73:b0:ea:10 brd ff:ff:ff:ff:ff:ff

Here is what you need to provide: 18:03:73:b0:ea:10

Some system administrators will require you to reformat this address to match what the router they are using expects. For example, for some Cisco equipment they will want 1803.73b0.ea10 -- if said sysadmin is a real tool.

26 posted on 11/02/2021 6:41:31 AM PDT by asinclair (Political hot air is a renewable energy resource)
[ Post Reply | Private Reply | To 25 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-26 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson