Gordon Messmer
2016-Nov-14 22:30 UTC
[CentOS] Need help getting two NICs to work on CentOS 7
On 11/14/2016 12:47 PM, Sean Son wrote:> Any ideas on what > I am doing wrong here?Nothing obvious. Since your interfaces have static configurations, I'd suggest turning off NetworkManager and turning on the "network" service to determine whether or not that works correctly after a reboot. Assuming it does, fixing the issue might be as simple as getting NetworkManager to not rename one interface to "wired connection 1".
On Mon, Nov 14, 2016 at 5:30 PM, Gordon Messmer <gordon.messmer at gmail.com> wrote:> On 11/14/2016 12:47 PM, Sean Son wrote: > >> Any ideas on what >> I am doing wrong here? >> > > > Nothing obvious. Since your interfaces have static configurations, I'd > suggest turning off NetworkManager and turning on the "network" service to > determine whether or not that works correctly after a reboot. > > Assuming it does, fixing the issue might be as simple as getting > NetworkManager to not rename one interface to "wired connection 1". > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >Hello Gordon Thank you for your response. I disabled NetworkManager and started the network service, then I rebooted the VM and now 'ip rule show' has the rules for both interfaces showing but I have no network connectivity even when I restart the network service. Should I reenable NetworkManager now? How would I go about getting NetworkManager to stop creating new Interface files and naming them Wired_connection-*? Thanks!
Gordon Messmer
2016-Nov-15 15:55 UTC
[CentOS] Need help getting two NICs to work on CentOS 7
On 11/15/2016 06:07 AM, Sean Son wrote:> I have no network connectivity even > when I restart the network service. Should I reenable NetworkManager now?Yeah, the switch is just a test to see if the problem is specific to NetworkManager. It seems that you have other problems as well. Before you do that, post the output of the following: ip route show ip route show table 300 ip route show table 301 ip rule show cat /etc/sysconfig/network-scripts/ifcfg-eth0 cat /etc/sysconfig/network-scripts/route-eth0 cat /etc/sysconfig/network-scripts/rule-eth0 cat /etc/sysconfig/network-scripts/ifcfg-eth1 cat /etc/sysconfig/network-scripts/route-eth1 cat /etc/sysconfig/network-scripts/rule-eth1