<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 23, 2021 at 4:49 PM Colin Law <<a href="mailto:clanlaw@gmail.com">clanlaw@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 23 Oct 2021 at 18:54, Jerry Geis <<a href="mailto:jerry.geis@gmail.com" target="_blank">jerry.geis@gmail.com</a>> wrote:<br>
><br>
> I am converting machines that used eth0 and eth1 in the past.<br>
><br>
> I need to specify the eno1, eno2, ens3, ens4 etcc... name on the "kernel" boot line - as I am doing a static IP install and the kernel command line needs to know - in addition the machine has two NICS - and I have to know which NIC is which ... as eth0 does not have internet access - but eth1 does.<br>
><br>
> So on an old centos 6/7 machine - how do I know what the network will be named to so I can specify it on the kernel command line like:<br>
><br>
> ip=192.168.122.200::192.168.122.1:255.255.255.0:ens4:none<br>
<br>
This explains how the interface names are derived from the hardware<br>
configuration<br>
<a href="https://en.wikipedia.org/wiki/Consistent_Network_Device_Naming" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Consistent_Network_Device_Naming</a><br>
<br>
Colin<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></blockquote><div><br></div><div>Thanks - is there a command that spits out these names on a system ?</div><div>I tried biosdevname as a command - does not seem to be present.</div><div><br></div><div>Jerry </div></div></div>