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?
-> opening the 'ifcfg-eth0' file, and setting it like:
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.