wiki:centos_7_interface_naming
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:centos_7_interface_naming [2017/03/09 19:53] – created walkeradmin | wiki:centos_7_interface_naming [2017/03/09 20:14] – walkeradmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== CentOS 7 Interface Naming ====== | ====== CentOS 7 Interface Naming ====== | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | ---- | ||
+ | <color red> | ||
+ | \\ | ||
+ | \\ | ||
+ | From CentOS 7 onwards the way the interfaces are named has changed. Gone are the traditional eth0, eth1 etc. This is slightly annoying for those of use that are used to it. | ||
+ | \\ | ||
+ | \\ | ||
+ | An interface name is now comprised of an identifier followed by a value for the interface. | ||
+ | <sxh [txt][; options for SyntaxHighlighter]> | ||
Two character prefixes based on the type of interface: | Two character prefixes based on the type of interface: | ||
* en -- ethernet | * en -- ethernet | ||
Line 9: | Line 21: | ||
* ww -- wwan | * ww -- wwan | ||
* ib -- Infiniband | * ib -- Infiniband | ||
+ | |||
Type of names: | Type of names: | ||
* | * | ||
Line 18: | Line 31: | ||
-- PCI geographical location | -- PCI geographical location | ||
* | * | ||
- | | + | </ |
+ | \\ | ||
+ | Here is an example of a CentOS 7.2 installation, | ||
+ | \\ | ||
+ | < | ||
+ | ens513f0: <NO-CARRIER, | ||
+ | ens513f1: <NO-CARRIER, | ||
+ | ens513f2: < | ||
+ | ens513f3: < | ||
+ | enp4s0f0: < | ||
+ | enp4s0f3: < | ||
+ | </ | ||
+ | \\ | ||
+ | So <color red> | ||
+ | \\ | ||
+ | \\ | ||
+ | <color red> | ||
+ | \\ | ||
+ | \\ | ||
+ | In this above example, the server has two onboard interfaces (what we shall refer to as eth0 and eth1) and a PCI board that has four interfaces. This is why two of the interfaces have the letter p and four have the letter s. Where this letter comes from I have not yet worked out. | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <color red></ |
wiki/centos_7_interface_naming.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1