LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-14-2003, 10:15 PM   #1
sujte
Member
 
Registered: Jul 2003
Posts: 48

Rep: Reputation: 15
home network question


I have a home network with three desktops, MAC, XP, and Linux. These are all connected to a small hub, which is connected to an ADSL modem. The modem works fine from the MAC, and also work fine in WIN98 when the Linux machine was a WIN98 box (I have not tested the XP yet). However, I can't get to the modem from the Linux box.

I cannot seem to get the Linux box to ping the router (10.0.0.2) or the MAC(10.0.0.8). I have set the MAC to get the IP from DHCP, and from what I can tell the ADSL modem is what provides the IP to the MAC.

The eth0 activation works fine and ifconfig returns 10.0.0.14 for inet addr, 10.0.0.255 as Bcast and 255.255.255.0 as Mask. I hard-coded the 10.0.0.14 ip because when I selected the DCPH, the ethernet card could not be activated.
I tried setting the DHCP address to 10.0.0.2 (that of the ADSL modem) on the Linux box but received an error activating eth0.

I must not have something configured correctly. Would someone please help me out?

Thanks.
 
Old 07-14-2003, 11:32 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
your router is giving the dhcp, and the hub is receiving it and splitting it up how the router wants it to be. have the linux box set to 10.0.0.3 and give that a go.

cheers.
 
Old 07-15-2003, 11:52 AM   #3
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
The router is acting as a local gateway to the Internet... If you can't get DHCP running (which will automatically plug in the neccisary gateway info) you're going to have to put the router's IP address in as the gateway. You're close!
 
Old 07-15-2003, 01:50 PM   #4
jpohara
Member
 
Registered: Mar 2002
Location: Lynbrook, NY
Distribution: Fedora Core 1
Posts: 85

Rep: Reputation: 15
you may not have your machine pointing to your gateway device.

try the following command (root user):


route add default gw 10.0.0.xx eth0 where xx is the ip address for your linux box (whatever you hard code it to be)

and let dhcp assign the ip address...don't assign your eth0 to the ip address of the router....that's bad!
 
  


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
Question on setting up a home network and a file server centered effect Linux - Networking 5 07-26-2005 07:38 AM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Home Network set up and another related question webwolf70 Linux - Networking 4 07-15-2004 11:33 PM
Home Network Question lmanwarren Linux - Newbie 2 11-12-2003 02:26 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

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

All times are GMT -5. The time now is 02:32 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