Dual NICs on system
Using kickstart to build system.
I would like to hard code certain NIC to always be etho. I know I can do this after the kickstart installation is completed but trying to find away that I can accomplish this during the kickstart installation, so the lowest MAC address is always eth0, next MAC address is always eth1 (I am assuming sometimes that NIC comes up slower then the other NIC so the higher MAC address gets the eth0 designation). I am using kickstart installation to be used in the field to bring up a crashed system in emergency and don't want to worry about the NIC's after the fact. Its seems like most of the time the lowest MAC is eth0 but every now and then it gets assigned as eth1. Any help would be appreciated.
Thanks,
Dan
NIC changes after reboot sometimes from ETH0 to ETH1
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: NIC changes after reboot sometimes from ETH0 to ETH1
The new naming convention prevents that, but obviously you are not using it (maybe a VM ?).
In this case, you can use udev to take care of the NIC.
In this case, you can use udev to take care of the NIC.
Re: NIC changes after reboot sometimes from ETH0 to ETH1
The kickstart has option 'network':
https://access.redhat.com/documentation ... art-syntax
You could perhaps achieve something with it. Perhaps '--device=link'
"lowest MAC"? Honestly, I've never even considered sorting MACs.
To me, the network that the interface links to matters.
What do you bind to the names anyway?
https://access.redhat.com/documentation ... art-syntax
You could perhaps achieve something with it. Perhaps '--device=link'
"lowest MAC"? Honestly, I've never even considered sorting MACs.
To me, the network that the interface links to matters.
What do you bind to the names anyway?