LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-15-2003, 06:31 PM   #1
leejenson
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Rep: Reputation: 0
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?

Thanks

Lee
 
Old 11-15-2003, 06:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-15-2003, 06:42 PM   #3
Ginux
Member
 
Registered: Oct 2003
Location: Montpellier, Milano
Distribution: RedHat
Posts: 81

Rep: Reputation: 15
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.

Rgds
Ginux
 
Old 11-16-2003, 09:39 AM   #4
leejenson
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for your replies.

I have done a ifconfig.

I have eth0 and lo as you said.

eth0 has been allocated ip addresses from my work network

inet addr:
Bcast:
and Mask.

So would this mean I have to fiddle with my firewall ?

IMy environment is like this, I work at home:

LINUX to CISCO ROUTER to ISDN to WORK NETWORK.

I have a laptop on the same network and have copied any settings where possible, of which there is not much because it just collects IPs from work.

Thanks

Lee
 
Old 11-16-2003, 10:10 AM   #5
Ginux
Member
 
Registered: Oct 2003
Location: Montpellier, Milano
Distribution: RedHat
Posts: 81

Rep: Reputation: 15
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)
 
Old 11-17-2003, 04:57 PM   #6
leejenson
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for your replies. I will have a look at what you suggest. Is there a simple way to switch off the fire wall to see if the problem goes away?

Thanks
Lee
 
Old 11-18-2003, 11:57 AM   #7
Ginux
Member
 
Registered: Oct 2003
Location: Montpellier, Milano
Distribution: RedHat
Posts: 81

Rep: Reputation: 15
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)

Ginux
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns server keeps resetting to 127.0.0.1 InsaneLampshade Mandriva 4 02-15-2005 09:15 AM
Error 127 while setting up a mail server Please help! trinity79 Linux - Newbie 1 06-02-2004 09:12 AM
Error 127 while setting up a mail server can anyone help? trinity79 Programming 2 06-02-2004 01:50 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM
how can I remote shutdown other WinNT server from Linux Server? adelel Linux - Networking 2 01-06-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration