LinuxQuestions.org
Help answer threads with 0 replies.
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 11-30-2003, 11:32 PM   #1
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Rep: Reputation: 15
Question Why does only one computer in my house connect through DHCP?


Hello! I am a newbie to Linux, but sorry for all the threads. I just really need help here. I said that I had my Internet problem before in the other threads, but I take that back. The problem is back again.

Why does only one computer in my house connect through DHCP?

My dad's computer in the living room connects to our ISP, Cox, using DHCP in Mandrake Linux 9.2. That works fine. But my computer is hooked through an Ethernet switch to my dad's router which his computer is plugged into, and my Internet does not work in linux, however, it does work in XP.

I tried hooking directly to the router, but the Internet would still not work. Perhaps my router only assigns one IP address to one computer for Linux?

Much help would be appreciated.
Please reply if you have any answers.

Thanks!
 
Old 12-01-2003, 12:01 AM   #2
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
A router assigns ip's based on the nic it doesn't really care about your OS.
 
Old 12-01-2003, 12:07 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Well it depends, is the "router" doing NAT, or is it just a bridge to your ISP (like a "cable modem")? If it's only a bridge and not doing NAT, then you're only going to get one IP address because it's an actual IP on the Internet and your ISP only gives you one of those. Any of your computers can have the IP, but only one at a time.

If the "router" is one of those Linksys/D-Link/etc "broadband routers" then it should be doing NAT and the router itself has multiple ports. The "WAN" port will get the IP from your ISP (i.e. the Internet IP) while the switch on the "LAN" side of the router will have a NAT'd network. This NAT'd network might assign IPs via DHCP, or it might not. If it does not use DHCP to hand out internal IPs, then you must statically assign an IP to your network interface (and that IP has to be valid in the network that the router is using for the LAN).
 
Old 12-01-2003, 12:08 AM   #4
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
But does my router only send out one IP address to one computer for Linux?
 
Old 12-01-2003, 12:15 AM   #5
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
Is it possible that NAT on my router only works with Windows, but it is only a bridge for Linux?
 
Old 12-01-2003, 12:16 AM   #6
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
And if so, then can I change my IP address on my computer to my dad's IP address, or is that impossible?
 
Old 12-01-2003, 12:24 AM   #7
digiplaya
Member
 
Registered: Nov 2003
Distribution: Sabayon 3.3 & Sidux 2007
Posts: 111

Original Poster
Rep: Reputation: 15
Actually, I have decided to give up, now that I know there is only one IP address assigned at a time.

Thanks for all of everyone's help!

I won't be posting anything for a while until I actually need to.

Digiplaya
 
Old 12-01-2003, 12:45 AM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
It has nothing to do with the OS! We're talking in general networking terms, they're OS agnostic.

The "router" is either a bridge, or a NAT device, not both. It can only be one at a time. You can't give two PCs the same IP at the same time or there would be arp conflicts.

Resolving problems works a lot better when you post actual information, such as what IP you dad's machine receives, what IP your computer gets when it boots to WinXP, etc... talking in vague terms only leaves us at the mercy of the misunderstandings of the person explaining the problem.
 
  


Reply


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
Computer won't see DHCP through switch otheralex Linux - Networking 1 07-30-2004 07:02 PM
DHCP fine for home computer, but not work arobinson74 Linux - Networking 2 03-22-2004 08:47 AM
Problem withInternet, DHCP, connect with eth0 down work, connect with eth0 up not zowey Linux - Networking 1 03-12-2004 11:05 AM
DHCP Problem when logging on to computer Brian.Boyle Linux - Networking 1 11-05-2003 09:41 AM
DHCP Problem when logging on to computer Brian.Boyle Linux - Networking 1 11-04-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration