LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issue with Redhat 7 (https://www.linuxquestions.org/questions/linux-newbie-8/issue-with-redhat-7-a-4175528508/)

pshapard 12-16-2014 11:39 PM

Issue with Redhat 7
 
I'm fairly new to linux, redhat and suse, and i'm very new to redhat 7. My issue is when i edit the ifcfg-enp4s0f0 file for the nic on an emulex adapter(Nic/FCoE), then reboot the system, I'm unable to ping the onboard nic0, the same nic i use to telnet/ssh and ftp into the system. I know there is a 70-persistent-net.rules file in previous versions of redhat, and when i edit the ifcfg file in previous versions, i delete the persistent file, reboot, and all is well. I have both the systemctl disabled and iptables masked. Below are the commands i used.

systemctl stop firewalld
systemctl disable firewalld

systemctl mask iptables.

So, what am i missing? Is there a persistent-net.rules file (or something like it) that i need to delete to restore functionality to my ninc0.

Thank you for your time and await a response.
Patrick.

John VV 12-18-2014 04:34 PM

am i right in assuming that this is a DESKTOP install and not a headless SERVER( no GUI) install

the gnome3 DE uses "networkmanager" and NOT ifup/ifdown

use the manager in the DE

pshapard 12-18-2014 05:19 PM

John,
This is a Desktop GUI install. I did try the manager DE. Did not work. I edited the ifcfg-enp4s0f0/ifcfg-enp4s0f1 files. I added a static ip address, netmask, and NM_CONTROLLED=no. What I did find that worked was I installed the drivers and ocm for our emulex 10 adapter. I installed medusa/DT tools, i disabled selinux, and other stuff. At the end of configuring the SUT, I then disabled firewalld and applied the the following to iptables.

iptables -I INPUT -j ACCEPT

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

/sbin/service iptables save

This worked for me. But if I apply the above iptables in the beginning of setting up the SUT, then instaled medusa and assigned static ip to the nic ports, then i lose all conectivity to the SUT.

The key here for me is applying iptables above and disabling firewalld, it worked. Meaning, I'm am able to telnet/ftp into the sut.

Thank you for you response.

Kind Regards,
Patrick.


All times are GMT -5. The time now is 07:37 PM.