|
From: Michael K. <mic...@ip...> - 2025-08-27 07:09:52
|
Thanks Lonnie
So considering my MAC addresses are fa:16:3e:* could I comment out the following line from this file and reboot:
# do not use "locally administered" MAC address
# ENV{MATCHADDR}=="?[2367abef]:*", ENV{MATCHADDR}=""
I would only edit for multi interface VM’s which are currently only our softswitch servers.
What do you think? Or I could just build a manual one?
Regards
Michael Knill
From: Lonnie Abelbeck <li...@lo...>
Date: Wednesday, 27 August 2025 at 10:27 am
To: AstLinux Users Mailing List <ast...@li...>
Subject: Re: [Astlinux-users] When is '/etc/udev/rules.d/70-persistent-net.rules' created
Hi Michael,
That [1] file is generated by this udev rule:
--
/usr/lib/udev/rules.d/75-persistent-net-generator.rules
--
Not trivial to follow, but you can see how some interfaces are skipped.
For many VM guests, no [1] file is auto-generated.
None of my KVM Hypervisor Guest VMs have a [1] file. Though in all cases the first interface is "eth0".
I have never needed it, but you could add a manual [1] file (with specific MAC addresses) if needed.
Lonnie
[1] /etc/udev/rules.d/70-persistent-net.rules
> On Aug 26, 2025, at 6:54 PM, Michael Knill <mic...@ip...> wrote:
>
> Hi All
>
> Im just wondering when '/etc/udev/rules.d/70-persistent-net.rules’ is created. I have Astlinux in an OpenStack VM and the NIC assignments appear to be pretty random and Im concerned that they could change on a reboot.
>
> I looked for this file but I could not find it:
> 12810-IPCPROD-SSFE1 kd # ls -la /etc/udev/rules.d/
> total 24
> drwxrwxr-x 1 root root 120 Jul 5 2023 .
> drwxrwxr-x 1 root root 80 Jul 5 2023 ..
> -rw-r--r-- 1 root root 11589 Jul 5 2023 62-nut-usbups.rules
> -rw-r--r-- 1 root root 753 Jul 5 2023 dahdi.rules
> -rw-r--r-- 1 root root 185 Jul 5 2023 usbtty.rules
> -rw-r--r-- 1 root root 531 Jul 5 2023 xpp.rules
>
> I thought this file was auto created as I usually have to delete it if I change NIC’s so wondering how it all works?
>
> Regards
> Michael Knill
> Managing Director
> D: +61 2 6189 1360
> P: +61 2 6140 4656
> E: mic...@ip...
> W: ipcsolutions.com.au
> <image001.png>Smarter Business Communications
> _______________________________________________
> Astlinux-users mailing list
> Ast...@li...
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to pa...@kr....
_______________________________________________
Astlinux-users mailing list
Ast...@li...
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to pa...@kr....
|