Re: persistent name from ifcfg-internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/11/18 11:52 AM, sean darcy wrote:
On 12/11/18 12:54 AM, Samuel Sieb wrote:
On 12/10/18 4:22 PM, sean darcy wrote:
I'm trying to get the interface on a multi-homed machine named "internal"

ifconfig
enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
         ether 50:7b:9d:0b:8a:ab  txqueuelen 1000  (Ethernet)

Is that the full ifconfig output for that interface or does it have the right IP address as well?

I haven't connected the port yet. Before I do I need to make sure I've got the correct internet name.

As I understand, NM scans the ifcfg files for HWADDR's. If there's a match, it names the interface the DEVICE name.

What does "nmcli d" give you?
_______________________________________________


nmcli d
DEVICE  TYPE      STATE        CONNECTION
wlp2s0  wifi      connected    1stFloor_5GHz 2
enp1s0  ethernet  unavailable  --
lo      loopback  unmanaged    --

sean
_______________________________________________

And, FWIW:

cat /etc/udev/rules.d/40-persistent-net.rules
# this is the pci ethernet port
# udevadm info -a -p  /sys/class/net/enp1s0/
# r8169 0000:01:00.0 eth0: RTL8168g/8111g, 50:7b:9d:0b:8a:ab, XID 50900880, IRQ 44 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="50:7b:9d:0b:8a:ab", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="internal"

But now nm handles naming , not udev, correct ?

sean



_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux