Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th September 2009, 04:40 PM
lollysticky Offline
Registered User
 
Join Date: Feb 2009
Posts: 130
linuxfedorafirefox
DHCP settings result in 'no Internet connection'

Hi,

My machine has been up and running now for about 4 months, and I decided to change the 'eth0 network interface' settings from DCHP to manual IP settings (cause it's well... better if you're running a server). And so I entered all the right data (I checked like a hundred times) and clicked OK. I restarted the networking service and it connects, but I don't get an internet connection.

If I revert it back to DHCP, I get the internet connection back
So here is my dilemma; I've read that fedora has some problems with setting a static IP and still maintaining an Internet connection. How can i work around this?

Would this work?
Code:
-> opening the 'ifcfg-eth0' file, and setting it like:

DEVICE=eth0
HWADDR=00:18:f3:f0:0a:d0
ONBOOT=no
BOOTPROTO=dhcp
USERCTL=yes
IPV6INIT=no
NM_CONTROLLED=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.2.10
GATEWAY=192.168.2.1
PEERDNS=yes
this way, the boot protocol is set to 'dhcp' but the configuration file now contains another line that specifies a specific IP address (IPADDR=192.168.2.10). I was wondering if the 'dhcp' would now make sure that an Internet connection gets established, while still being able to set a static IP address. Should I change something else?

P.S. my computer situation...
-> router (gateway): IP-address = 192.168.2.1
-> connected to a gigabit switch
-> my server + another computer attached to the switch, one wireless laptop connected directly to the (wireless) router.

Last edited by lollysticky; 17th September 2009 at 05:17 PM.
Reply With Quote
Reply

Tags
connection, dhcp, internet, result, settings

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet very slow; DHCP does not work w/ wireless connection fireworld2406 Servers & Networking 5 22nd July 2009 05:32 PM
File transfers result in lost connection to internet Vaiden Servers & Networking 10 16th November 2008 11:52 AM
Internet connection problems with DHCP Phoenix87 Servers & Networking 1 13th February 2006 07:57 PM
do i need a dhcp-server to connect to the internet via dhcp? parv Servers & Networking 8 21st August 2004 11:47 AM


Current GMT-time: 22:55 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat