LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-03-2010, 04:49 PM   #1
simbini
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Rep: Reputation: 0
Fedora 7 machine browses the Internet on DHCP but fails completely on static address


Hi Guys,

I am struggling with what might be a minor problem. I have a home computer which I would like to setup as a webserver and hence give it a static IP address. It is connected to by wire to a router that is connected to the WAN via PPPOE. If I enable the network card on DHCP it works fine in browsing the web. If I now set it to static IP address it does not brown. Essentially I use the command setup to run the static IP setup.

I then set my IP address to 192.168.254.X , the subnet mask 255.255.255.0 and the default gateway to 192.168.254.1 (this is the router connected to the WAN). I am able to ping the router, however when I try and browse on static it does not work. Your help will be most appreciated as this has taken way too long to solve and I have Googled as much without success.

Thank you,

simbini
 
Old 08-03-2010, 05:46 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Can you ping past the router? Try to ping google. I have this setup, it works.

Try
Quote:
ping 173.194.33.104
This is www.google.com. It responds to me.

Try the IP address first. If that works, try the www.google.com. It that fails, you have a DNS problem. It's possible the router is not giving your system DNS IP addresses.

If everything fails, what is the range of IP's your DHCP server is controlling? The static IP address should not be in the controlled range. Most routers you can control the number of IP's on DHCP ( in groups of four ) in the router config. I limited mine to just four IP's on DHCP. ( A security thing ) I never have more than four devices using DHCP. Just the laptops that come and go.
 
Old 08-03-2010, 08:29 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
I have a home computer which I would like to setup as a webserver and hence give it a static IP address.
first fedora is not a good choice for a server
Fedora is a FAST research and development and TESTING distro
and as such an NEW version is released every 6 months and fedora only has 13 months of support and updates .

also fedora 7 is a few years DEAD and has not had a security update since it hit END OF LIFE back in June 2008 .

Also NO NEW software will ever be able to install on fedora 7 - seeing as it IS UNSUPPORTED .
i would install CentOS 5.5 on a server
cent has 5 years of support VS. fedoras 1 year
 
Old 08-04-2010, 10:08 AM   #4
simbini
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you for the input. I will look at CentOS 5.5. Meanwhile I have done an IP address reservation for the web server as a solution and it is working fine.

TS
 
Old 08-04-2010, 05:32 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
simbini just remember that with fedora 7 there have been NO security fixes for the last two years

so your system is vulnerable to EVERY security bug/hole that has been fixed in the last two years
 
Old 08-05-2010, 02:27 AM   #6
simbini
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Original Poster
Rep: Reputation: 0
John,

I had to download Fedora release 12. This is a stop gap measure whilst I look at CentOS 5.5. Open source servers are still new. Thanks for the advice.

TS
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't change from dhcp to static ip address. Darrell22 Linux - Networking 7 01-17-2010 11:00 PM
Static IP address getting DHCP on FC7 renystro Linux - Networking 1 09-18-2007 09:03 PM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 09:38 PM
How do I disable DHCP now I am using static address? rosco136 Linux - Networking 4 08-01-2005 03:53 AM
Only browses internet with IP address timmywo Linux - Newbie 6 11-02-2003 04:43 PM


All times are GMT -5. The time now is 04:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration