Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ethernet renaming
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 546

PostPosted: Fri Nov 08, 2013 4:57 pm    Post subject: [SOLVED] ethernet renaming Reply with quote

Hi,

I don't know if anyone already asked this question here (my search didn't lead to much) but I'm wondering why the most recent installation media detect my ethernet devices with names differing from the standard old way (eg. eth*). The Gentoo handbook quickly mentions this here but doesn't explain why:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3

Does anyone know why this was introduced?
Is it really useful? If so, how?

Code:

# ifconfig
enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:ee:b1:02:9f:f3  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1d:60:39:e9:1b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.215.144.112  netmask 255.255.0.0  broadcast 10.215.255.255
        inet6 fe80::21d:60ff:fe39:f0ef  prefixlen 64  scopeid 0x20<link>
        ether 00:1d:60:39:f0:ef  txqueuelen 1000  (Ethernet)
        RX packets 3503216  bytes 4593754375 (4.2 GiB)
        RX errors 0  dropped 3753  overruns 0  frame 0
        TX packets 1663755  bytes 118912752 (113.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 408  bytes 7344 (7.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 408  bytes 7344 (7.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# ip addr list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1d:60:39:f0:ef brd ff:ff:ff:ff:ff:ff
    inet 10.215.144.112/16 brd 10.215.255.255 scope global enp4s0
       valid_lft forever preferred_lft forever
    inet6 fe80::21d:60ff:fe39:f0ef/64 scope link
       valid_lft forever preferred_lft forever
3: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:1d:60:39:e9:1b brd ff:ff:ff:ff:ff:ff
4: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:ee:b1:02:9f:f3 brd ff:ff:ff:ff:ff:ff


Thanks,

Vieri


Last edited by Vieri on Fri Nov 08, 2013 5:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 546

PostPosted: Fri Nov 08, 2013 5:12 pm    Post subject: Reply with quote

Never mind.
Found this link that explains it all:
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum