Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I currently have a redhat 6.2 linux box sitting on a dmz on our lan. It has always been the only box on the dmz. The firewall it uses as its gateway is 192.168.1.1. It's IP is 192.168.1.2. They are both static IP addresses. I use the box for our primary external DNS as well as mailforwarding using sendmail. It has always worked perfectly but it's time for an upgrade.
I got the new box, installed Mandrake 9.2, postfix, amavisd, bind, etc. and set it up to completely mimic the existing server. I pulled the old machine off the network and shut it down, put the new server on the network using the same IP, subnet, gateway, etc of the old server, and even used the same network cable, and I can't ping ANYTHING. Even itself using 127.0.0.1 or its IP of 192.168.1.2.
To test, I took the server off the DMZ and put it on our 10.1.x.x network and gave it a static IP and I'm able to ping anything I want.
I also, just for kicks, put the old machine back online at its original 192.168.1.2 address and changed the new machine to 192.168.1.3 and I was able to ping the old machine, but still not itself, or the gateway.
Any ideas? It could be something simple, I'm fairly new to linux. LOL
I fixed the items in the ifcfg-eth0 file. I rebooted afterwards and it shows up correctly when I look at ifconfig, but I'm still having exactly the same problem. I am totally stumped.
Do you have a firewall turned on? It is possible to set a firewall to where you cannot ping anything, including 127.0.0.1. If you type iptables -L it will give you your firewall definitions. If you do have one on, the turn it off and try to ping.
Another idea.... I'm from the windows world, so I might be totally off base in this question BUT here goes...
In windows, if I ran into a problem that I couldn't figure out.. from corrupted drivers to well, basically any weird problem. I would totally uninstall networking and reinstall it. Is that a possibility or some idea like that just to start all over without wiping out the entire box?
this turns icmp requests back on, also on redhat 6.2 you must likely are using ipchains for a firewall if you are using one at all, try doing an ipchains -L to see if you do have one running
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.