LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-27-2006, 08:34 AM   #1
unklekoolaid
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Rep: Reputation: 0
Internal ip address will not stick


First of all Id like to thank everyone here for all the help ive recieved lately, thanks! On to my question, I have a linksys WRT54G router with a windows xp machine connected as well as my web server running Ubuntu DD, I have gone into the router and have successfully routed web and ftp traffic to the server, my problem is that the XP workstation is set to DHCP and the server is set to request an internal address of .103, but my router still treats it as its not requesting a static ip. I'll come home after work and every day it will have a new address, any reason why it would not give the server the ip address it asks for? Should every machine in the house be set to request a static ip?

Last edited by unklekoolaid; 10-27-2006 at 08:37 AM.
 
Old 10-27-2006, 08:38 AM   #2
cleidh_mor
Member
 
Registered: Mar 2005
Location: Glasgow, Scotland
Distribution: SuSE
Posts: 70

Rep: Reputation: 15
Quote:
Originally Posted by unklekoolaid
the server is set to request an internal address of .103, but my router still treats it as its not requesting a static ip. I'll come home after work and every day it will have a new address, any reason why it would not give the server the ip address it asks for? Should every machine in the house be set to request a static ip?
I've seen this behaviour on my openSuSE box as well. In the end I just excluded the server address from the DHCP range and set the IP address on the server itself, bypassing DHCP.
 
Old 10-27-2006, 02:29 PM   #3
unklekoolaid
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Cool

Great ill try it when i get off work!
 
Old 10-27-2006, 05:10 PM   #4
unklekoolaid
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Hmm that didnt seem to work, it just ignores that machine when i do that. Heres what i tried

"Starting ip address"= 192.168.1.10
"Linux server static ip"= 192.168.1.103

it didnt even assign it an address. Should i try disabling DHCP?
Also i tried setting
"Static DNS 1" to 192.168.1.103
after i set the starting up address back to 192.168.1.100

still didnt work
 
Old 10-27-2006, 05:21 PM   #5
cleidh_mor
Member
 
Registered: Mar 2005
Location: Glasgow, Scotland
Distribution: SuSE
Posts: 70

Rep: Reputation: 15
I suggest you change your DHCP pool to be 192.168.1.10 - 192.168.1.100 on the router. The router shouldn't need to know about the server's IP unless it used in a firewall config somewhere. Then set your server up with a static IP, using whaever config tool you used to set it up with DHCP. You need to ensure that you get the netmask and default gateway correct.

Once you've done this, check that you can ping your default gateway (which should be your router).

If this doesn't work, please post:
- your router make and model
- your distro
- the output of the command (run as root)
Code:
$ ifconfig eth0
HTH
 
Old 10-28-2006, 02:23 PM   #6
unklekoolaid
LQ Newbie
 
Registered: Aug 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Well that worked! I guess changing the dhcp pool and actually pinging the router from the server worked Thanks alot!
 
  


Reply

Tags
networking, server, ubuntu, web


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
Routing a request to a internal ip address sbabcock23 Linux - Networking 2 08-25-2006 12:08 AM
Mail with Internal Ip address shipon_97 Linux - Newbie 1 07-03-2006 11:00 PM
Sony laptop internal memory stick reader setup in Suse 10.0 Stump Linux - Hardware 2 02-16-2006 03:24 PM
USB Stick won't accept address :-( ajcrm125 Linux - Hardware 2 03-31-2004 09:56 AM
Seeing internal ip address behind firewall linuxboy69 Linux - Networking 1 11-20-2003 03:21 PM


All times are GMT -5. The time now is 07:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration