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 16th December 2008, 05:08 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
Double check my settings please?

I have a server set up at home, and lately it seems like the router will reassign IPs to the machines at home, thus messing up my port forwarding.

My router is a Linksys WRT54GL (standard firmware) which doesn't have an option, or one that I've found, to port forward based on MAC address, rather than network IP. I want to manually set my ifcfg-eth0 file to give it a certain IP outside the range that the router will give so that I can always be sure that it's forwarding to the right machine.

Is this setup correct?
Code:
DEVICE=eth0
HWADDR=00-1D-09-85-34-D7
IPADDR=192.168.10.99
NETMASK=255.255.255.0
BROADCAST=192.168.10.255
NETWORK=192.168.10.0
GATEWAY=192.168.10.1
ONBOOT=yes
BOOTPROTO=none
Or is there something I'm missing/mixing up?
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
  #2  
Old 16th December 2008, 05:54 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
I'm not sure, but I think that may be overwritten by NetworkManager. Try running system-config-network (or "Network" from the Administration menu) and edit the eth0 interface. You'll see an option to disable NetworkManager on that connection, and you'll also be able to configure your IP and DNS settings. Once that's done and saved, disable NetworkManager and enable the old-style "network" service for static IP:
Code:
su -
service NetworkManager stop
chkconfig NetworkManager off
chkconfig network on
service network start
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #3  
Old 16th December 2008, 06:15 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
I believe NetworkManager is already disabled. And I should have mentioned this is a headless server, no GUI/monitor/input. It's just plugged in for power and networking, nothing else. Should I be able to run system-config-network still and get the old "DOS" looking (I'm sure it's called something else) setup?
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
  #4  
Old 16th December 2008, 08:06 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Oh, I see.... Well in any case, this is my ifcfg-eth0 file on my home server (static IP as well):
Code:
# Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:16:e6:8c:11:ee
IPV6ADDR=192.168.1.13/24
IPV6INIT=yes
IPV6_AUTOCONF=no
ONBOOT=yes
NM_CONTROLLED=no
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
IPADDR=192.168.1.13
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #5  
Old 16th December 2008, 08:17 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
Thanks, I'll tinker with it tonight.
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
  #6  
Old 16th December 2008, 11:43 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
So it worked when I set it in ifcfg-eth0, but on my router it still reports the old IP. Does a Linksys WRT54GL cache the IPs of who is connected?
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
  #7  
Old 17th December 2008, 03:30 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
I set it to something outside the range of what I set my router to use when it assigns an IP, I can SSH to it, and browse through the web to it, but yum is no longer working because it can't resolve any domain. I tried to ping google.com and got a response of unknown host.
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
  #8  
Old 17th December 2008, 03:49 PM
neogranas Offline
Registered User
 
Join Date: Nov 2006
Location: U.S.A.
Age: 27
Posts: 473
Sorry, forgot to set the DNS settings. Got it working now.
__________________
Registered linux user: #475337

Never underestimate someone with source code, a text editor, and the willingness to completely hose their system.
Reply With Quote
Reply

Tags
check, double, 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
fedora 10 firewall: to check or not to check baerb8 Security and Privacy 1 25th December 2008 04:45 AM
FEDORA USER! Double check your! R-X Hardware & Laptops 4 25th December 2007 02:12 AM
Samba won't work unless I check settings Archw Servers & Networking 2 9th July 2006 12:01 AM
How do you check your sound card settings? krazibon3 Using Fedora 1 17th November 2004 03:50 AM


Current GMT-time: 13:55 (Monday, 20-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