LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-09-2005, 11:39 AM   #1
kezira
LQ Newbie
 
Registered: Aug 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 9

Rep: Reputation: 0
Problem getting connection with a DLink Router with IP 10.xxx.xxx.xxx


After I installed Fedora Core 4 and set up internet connection using D-Link DI-714P+, I was unable to get a connection using private IP address 10.xxx.xxx.110. But if I switch to IP setting 192.168.xx.110 it works fine.
Does anyone have any idea?
I appreciate any help.

Thanks!
 
Old 11-09-2005, 08:58 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Are you changing your ip and subnet to match the router ip (referencing the 10.0.0.0). Is the router giving out IPs via DHCP? Is your box setup for DHCP?
 
Old 11-09-2005, 09:26 PM   #3
kezira
LQ Newbie
 
Registered: Aug 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, I am changing the ip and subnet to match the router. The router is giving out IPs via DHCP, 192.168.0.100 thru 199. I was able to get connected on three machines via DHCP within the above IP range and at the same time I was able to connect my linux machine using static IP 192.168.0.110. But all this doesn't work when i switch to 10.xxx.xxx.xxx.
 
Old 11-09-2005, 10:17 PM   #4
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Are you releasing the IPs in the boxes when you change the IP on the router?

Dumb question but I have to ask it.

Last edited by brianthegreat; 11-09-2005 at 10:18 PM.
 
Old 11-10-2005, 07:25 PM   #5
kezira
LQ Newbie
 
Registered: Aug 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 9

Original Poster
Rep: Reputation: 0
I'm not releasing IPs on the router when I switch from 10 to 192 or vise versa but I'm restarting the router because it keeps freezing up after I change the IPs.
 
Old 11-17-2005, 02:46 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Must release the ip

After you change the ip address on the router you must change the IP's on the machines.

ifdown interface_name

then do

ifup interface_name

this should release and then renew the ipaddresses.
 
Old 11-18-2005, 02:05 PM   #7
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
DHCP explaination and confliction rules

Hello,
I am a network specialist. I have had trouble installing FC4. But with windows and versions of RedHat and Fc3. Fedora<as Ive learned from fc4 doesnt use IPs like win does, I gets past IP and goes straight to MAC Adresses. If there is no IP assigned, Fedora connects via MAC addresses. Whereas win wont connect without an IP from DHCP.
Right when a network boots up, your router scans the network for all MAC Addresses. Each computer sends out a DHCP request. If the network is to be 100. The router sends back corresponding IPs being 192.168.100.1 and 192.168.100.2.
Therefore this takes care of all IP assignments. So you musnt set a static IP on each computer, because if its not the correct on the router is assigning the two will conflict. You set your computer to have a dynamic adress. Linux is the exact same.

Even if DHCP fails use linux to get into your router settings, most of the time it will work because it uses MAC. The adress would be 192.168.100.255 for the network above.

For a computer to be on the network the subnet and gateway must be the same for both the computer and the router. Your gateway is your routers internal IP.


Last edited by Digital Surgeon; 11-18-2005 at 02:16 PM.
 
Old 11-21-2005, 01:43 PM   #8
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
refreshing IPs

you may run
ifconfig /renew
this releases and renews your IP from dhcp all in one shot, conversly
ipconfig /renew in win nt platforms
 
Old 11-28-2005, 04:06 PM   #9
kezira
LQ Newbie
 
Registered: Aug 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 9

Original Poster
Rep: Reputation: 0
I have tried everything but it doesn't seem to work. I believe there is a setting somewhere where the private IP 192.168.xxx.xxx is used by default. Does anyone know if I need to modify some settings in my linux machine and enable the 10.xxx.xxx.xxx?

Thank you all for your help.
 
Old 11-28-2005, 10:31 PM   #10
kezira
LQ Newbie
 
Registered: Aug 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 9

Original Poster
Rep: Reputation: 0
I was able to fix the problem. I had 10.xxx.xxx.0 assigned to my DLink router previously. I changed that to 10.xxx.xxx.1 and I was able to get internet connection from my linux box.
 
  


Reply



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
"Error, some other host already uses address XXX.XXX.XXX.XXX" mwbb_support Linux - Networking 5 01-20-2014 08:59 AM
Problem getting connection with a DLink Router after setting static IP 10.xxx.xxx.xxx kezira Linux - Networking 1 11-09-2005 10:27 PM
Host XXX.XXX.XXX.XXX is not allowed to connect to this MySQL server ocavid Linux - Newbie 2 03-16-2005 09:40 AM
# ping -b xxx.xxx.xxx.255 porous Linux - Networking 2 10-13-2003 12:34 PM
XXX XXX Linux trademarked?! BS!!! sewer_monkey Linux - Distributions 46 06-29-2002 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:17 AM.

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
Open Source Consulting | Domain Registration