<div dir="ltr"><div><div>So the new NetworkManager has the ability to do much, MUCH more than the old on in 6.5 (which was turned off by default by me).<br><br></div>The IPV4 section will add as manay additional IPs as needed creating a file like this:<br><br>TYPE=Ethernet<br>BOOTPROTO=none<br>IPADDR0=170.140.61.59<br>PREFIX0=24<br>GATEWAY0=170.140.61.2<br>IPADDR1=192.168.100.1<br>PREFIX1=24<br>DNS1=170.140.1.1<br>DNS2=170.140.2.1<br>DEFROUTE=yes<br>IPV4_FAILURE_FATAL=no<br>IPV6INIT=yes<br>IPV6_AUTOCONF=no<br>IPV6_DEFROUTE=yes<br>IPV6_FAILURE_FATAL=no<br>NAME=enp0s25<br>UUID=f00e6346-be4c-40ce-b1db-17f926a8edba<br>DEVICE=enp0s25<br>ONBOOT=yes<br>HWADDR=00:26:B9:8E:73:29<br><br></div>Yes. ifconfig is now dead (<sob>). Must learn new tool that give craptons of data in either pretty or terse format.<br><br><br><div>nmcli d show (give loads in terse format).<br><br>nmcli d show<br>GENERAL.DEVICE: enp0s25<br>GENERAL.TYPE: ethernet<br>GENERAL.HWADDR: 00:26:B9:8E:73:29<br>GENERAL.MTU: 1500<br>GENERAL.STATE: 100 (connected)<br>GENERAL.CONNECTION: enp0s25<br>GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2<br>WIRED-PROPERTIES.CARRIER: on<br>IP4.ADDRESS[1]: ip = <a href="http://170.140.61.59/24">170.140.61.59/24</a>, gw = 170.140.61.2<br>IP4.ADDRESS[2]: ip = <a href="http://192.168.100.1/24">192.168.100.1/24</a>, gw = 170.140.61.2<br>IP4.DNS[1]: 170.140.1.1<br>IP4.DNS[2]: 170.140.2.1<br>IP6.ADDRESS[1]: ip = fe80::226:b9ff:fe8e:7329/64, gw = ::<br><br>GENERAL.DEVICE: lo<br>GENERAL.TYPE: loopback<br>GENERAL.HWADDR: 00:00:00:00:00:00<br>GENERAL.MTU: 65536<br>GENERAL.STATE: 10 (unmanaged)<br>GENERAL.CONNECTION: --<br>GENERAL.CON-PATH: --<br>IP4.ADDRESS[1]: ip = <a href="http://127.0.0.1/8">127.0.0.1/8</a>, gw = 0.0.0.0<br>IP6.ADDRESS[1]: ip = ::1/128, gw = ::<br><br><br>nmcli -p d show<br>===============================================================================<br> Device details (enp0s25)<br>===============================================================================<br>GENERAL.DEVICE: enp0s25<br>-------------------------------------------------------------------------------<br>GENERAL.TYPE: ethernet<br>-------------------------------------------------------------------------------<br>GENERAL.HWADDR: 00:26:B9:8E:73:29<br>-------------------------------------------------------------------------------<br>GENERAL.MTU: 1500<br>-------------------------------------------------------------------------------<br>GENERAL.STATE: 100 (connected)<br>-------------------------------------------------------------------------------<br>GENERAL.CONNECTION: enp0s25<br>-------------------------------------------------------------------------------<br>GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2<br>-------------------------------------------------------------------------------<br>WIRED-PROPERTIES.CARRIER: on<br>-------------------------------------------------------------------------------<br>IP4.ADDRESS[1]: ip = <a href="http://170.140.61.59/24">170.140.61.59/24</a>, gw = 170.140.61.2<br>IP4.ADDRESS[2]: ip = <a href="http://192.168.100.1/24">192.168.100.1/24</a>, gw = 170.140.61.2<br>IP4.DNS[1]: 170.140.1.1<br>IP4.DNS[2]: 170.140.2.1<br>-------------------------------------------------------------------------------<br>IP6.ADDRESS[1]: ip = fe80::226:b9ff:fe8e:7329/64, gw = ::<br>-------------------------------------------------------------------------------<br><br>===============================================================================<br> Device details (lo)<br>===============================================================================<br>GENERAL.DEVICE: lo<br>-------------------------------------------------------------------------------<br>GENERAL.TYPE: loopback<br>-------------------------------------------------------------------------------<br>GENERAL.HWADDR: 00:00:00:00:00:00<br>-------------------------------------------------------------------------------<br>GENERAL.MTU: 65536<br>-------------------------------------------------------------------------------<br>GENERAL.STATE: 10 (unmanaged)<br>-------------------------------------------------------------------------------<br>GENERAL.CONNECTION: --<br>-------------------------------------------------------------------------------<br>GENERAL.CON-PATH: --<br>-------------------------------------------------------------------------------<br>IP4.ADDRESS[1]: ip = <a href="http://127.0.0.1/8">127.0.0.1/8</a>, gw = 0.0.0.0<br>-------------------------------------------------------------------------------<br>IP6.ADDRESS[1]: ip = ::1/128, gw = ::<br>-------------------------------------------------------------------------------<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 2:07 PM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I did a direct file edit and no luck. I did do old-school one file per IP. I'll go try again with NetworkManager. I see it has a way to add additional IPs in the gui.<br><br></div>This is for a simple issue: new switch has a 192.168.100.X IP. Need to be able to connect to it to get it set up so I can install more bit-slinging happy toys in a rack.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Sep 30, 2014 at 1:23 PM, Lightner, Jeff <span dir="ltr"><<a href="mailto:JLightner@dsservices.com" target="_blank">JLightner@dsservices.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div link="blue" vlink="purple" lang="EN-US">
<p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did you do the setup using the config tool or did you do it by editing a file from command line?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Haven’t done it on RHEL7 yet but on later versions of RHEL6 it was using the Network Manager rather than the network to do configurations and I noticed that
alias IPs (along with the primary IP) had to be configured in the main ifcfg-eth0 file in /etc/sysconfig/network-scripts rather than in a separate ifcfg-eth0:1 file as they did previously. In RHEL6 we disabled Network Manager to return to previous functionality
mainly because we couldn’t see the aliases with the old tool (there was a newer one to see them but it annoyed others).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">My note at the time said:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You can’t see the aliases with ifconfig but can with nm-tool<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This link is the one I found that helped me and I added comments when I worked on it that may be helpful:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="https://access.redhat.com/site/solutions/32652" target="_blank">https://access.redhat.com/site/solutions/32652</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org" target="_blank">ale-bounces@ale.org</a>]
<b>On Behalf Of </b>Jim Kinney<br>
<b>Sent:</b> Tuesday, September 30, 2014 12:09 PM<br>
<b>To:</b> Atlanta Linux Enthusiasts - Yes! We run Linux!<br>
<b>Subject:</b> [ale] vips in rhel/centos 7<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Anyone running virtual IPs in RHEL/Centos 7? I set up a new desktop and did my usual eth0 -> eth0:1 vip setup (OK so it's enp0s25 -> enp0s25:1) and a restarting of NetworkManager shows no new virtual interface.<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><br>
-- <u></u><u></u></p>
<div>
<p class="MsoNormal">-- <br>
James P. Kinney III<br>
<i><br>
</i>Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br>
<i><br>
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a></i><u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
<p></p>
<p> </p>
<p></p>
<p><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY:Arial;FONT-SIZE:10pt">Athena<font size="1">®</font>, Created for the Cause</font><font size="1">™
</font></font></font></p>
<p><font face="Arial">Making a Difference in the Fight Against Breast Cancer</font></p>
<p><font face="Arial">_________________________________________________________</font></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">CONFIDENTIALITY NOTICE: This e-mail may contain privileged</font></span></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">or confidential information and is for the sole use of the intended</font></span></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">recipient(s). If you are not the intended recipient, any disclosure,</font></span></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">copying, distribution, or use of the contents of this information</font></span></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">is prohibited and may be unlawful. If you have received this
</font></span><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">electronic</font></span></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">transmission in error, please reply immediately to
</font></span><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">the sender that</font></span></p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt"><font color="#7d7d7d">you have received the message in error, and delete it. Thank you.<br>
</font></span></p>
<p></p>
<p></p>
<p></p>
</div>
<br></div></div><span class="">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></span></blockquote></div><br><br clear="all"><span class=""><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</div>