My server has 127.0.0.1 ip instead of one from a remote DHCP server?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
My server has 127.0.0.1 ip instead of one from a remote DHCP server?
Hi,
Before I go hassling the IT bods at work I wanted to make sure I havent missed anything stupid.
On installing Red Hat I installed the Firewall enabling all the incoming options.
I can do the following network stuff:
1. Ping other servers on the network from my linux box
2. Get onto the internet
3. Collect primary and secondary dns ip addresses from the my work network
The only thing I cannot seem to do is ping my linux server from another machine.
I am wondering if its something to do with the fact that the IP address for my linux in 127.0.0.1 instead of one collected from our DHCP server.
I have tried various things like removing my host names from the hosts file to see if that would make any difference no luck.
Have I missed an import configuration step regarding using a firewall and the automatic collection of a DHCP IP address by my server?
What is the or your output of ifconfig? Are you connected via LAN or other type of connection via ethernet, etc? NIC type, etc? More details as we can't assume your setup.
It's how you setup the firewall, if you can ping other machines, then you have a valid IP, the 127.0.0.1 is a loopback address.
Try ifconfig from the command line, and it should show 2 (or more) intrefaces lo & eth0, eth0 is what you should look at.
I have't configured a router, and don't know where to start.
It looks like a firewall issue, the machine can ping others but other can't ping it.
It could be simply a setting that rifuses a ping request, there 2 ways to resolve the this,
1) throu the firewall program.
2) using ip chains (it's the same as 1, but using text comands instead of a gui)
It's possibile
If you installed an aditional firewall on you system, just do the following.
in a terminal type
ps -ax |more *and find the firewall program that is runing and it's PID*
Kill -9 PID *the PID the number you got using the first command*
If you are using the standard firewall that came w/ RH
In the (start) menu, under services, or network, you should find the firewall program/configurator, from there you can disable, lower or increase the firewall protection and enable what it accepts or not (i.e. HTTP, FTP, ...etc)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.