LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-09-2001, 11:31 AM   #1
SilentStrike
LQ Newbie
 
Registered: Jun 2001
Location: New Jersey
Distribution: Mandrake
Posts: 27

Rep: Reputation: 15

I just installed Linux last night. I've got a 4 computer lan running with a link sys router. I've clicked on the drakconf thing, put in the root password, and trying to set up a lan.

For the ip I put 192.168.1.110 (same first 3 numbers as the other comptuers on the lan, unique final one), enabling dchp, and putting 192.168.1.1 for the dchp host. I was able to both get access to the router through netscape by typing 192.168.1.1 (like with windows) and brought up the console thing and got a response from another computer on the lan. However, I could not connect to any outside internet addresses.

When I get access to the other computers on the network as well as the router when I am running windows, everything is configured fine and works. I don't have a clue as to what more I have to set up to get it to work.
 
Old 06-09-2001, 08:25 PM   #2
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
Fist of all, why did you set an IP address for the Mandrake box and then set it to get an IP address from DHCP? You don't need both. Since you seem to have set a fixed IP address (192.168.1.110), it probably overrode the DHCP.

Which means it didn't get DNS addresses from DHCP.

Did you enter addresses for DNS servers when you set up the Mandrake box? I suspect that's your problem. If you want to keep the fixed address that you entered (110) you can get the DHCP info by browsing to the Linksys box and checking the "status" tab for the DNS servers that it got from DHCP via your internet service provider.

HTH
 
Old 06-09-2001, 08:53 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by abyss
Fist of all, why did you set an IP address for the Mandrake box and then set it to get an IP address from DHCP? You don't need both. Since you seem to have set a fixed IP address (192.168.1.110), it probably overrode the DHCP.

Which means it didn't get DNS addresses from DHCP.

Did you enter addresses for DNS servers when you set up the Mandrake box? I suspect that's your problem. If you want to keep the fixed address that you entered (110) you can get the DHCP info by browsing to the Linksys box and checking the "status" tab for the DNS servers that it got from DHCP via your internet service provider.

HTH
You shouldn't need to provide an address for the DHCP server on any of your boxes as the linksys will tell you what address you are to use for the DHCP server. Your machine should start out as a 'blank slate' when booting. Then it broadcasts on 255.255.255.255 port 67 for a server. The linksys should respond and the server and client negotiate an address for the client. Then the DHCP server will send info regarding the default gateway, hostnames, subnet mask, and some DNS info. This way you only have to manage the DHCP server, not eachand every client on your network. If you need a server on your network with a consistent address, hack a look at the linksys man to see if you can reserve an address for a machine by hostname or ethernet station ID.
 
Old 06-10-2001, 01:49 PM   #4
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
mcleodnine,

Yes, what you said is absoultely true about not needing to provide an address for the DHCP from the Linksys box. All of that should be automatic if the Mandrake box is set to use DHCP.

My point was that if SilentStrike selected an IP address for the Mandrake box (....110) and then also told it to use DHCP, which did it do? Either it is set to static or it is set to DHCP. Sounds to me like it's a DNS problem given what was described, which leads me to believe that the box is not correctly configured to use DHCP.
 
Old 06-10-2001, 02:45 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by abyss
mcleodnine,

Yes, what you said is absoultely true about not needing to provide an address for the DHCP from the Linksys box. All of that should be automatic if the Mandrake box is set to use DHCP.

My point was that if SilentStrike selected an IP address for the Mandrake box (....110) and then also told it to use DHCP, which did it do? Either it is set to static or it is set to DHCP. Sounds to me like it's a DNS problem given what was described, which leads me to believe that the box is not correctly configured to use DHCP.
Yeah, my bad for not reading the whle question.

If you start with a 'static' ip setup, your machine will initally use that address until it gets the init scrpits that tell it to use DHCP, where it will then broadcast with a requset to either renew the old address (the DHCP one not the static one) or to get a new address. That being done it should get all the netmask/gateway/dns info supplied by the DHCP server.

So in short - if you have a working DHCP server on that network and you are using DHCP for address resolution you can bet that the static ip and network info will be replaced by the DHCP info.

Caveat: this is assuming that you haven't customized your client to only send/get certain info from the DHCP server. Not the wisest thing to do, but possible.
 
  


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
Some difficulty configuring port-forwarding through Linksys router eventide Linux - Networking 9 03-03-2005 01:04 PM
Configuring printer with Linksys router? skipcope Linux - General 4 12-17-2004 04:45 PM
DHCP Issues with Mandrake 9.0 and a Linksys Router?? chromelocust Linux - Software 0 03-21-2003 02:02 AM
Mandrake 8.2 and Linksys Router luckymikey Linux - Networking 28 07-25-2002 08:37 PM
Mandrake 8.2 and Linksys Router luckymikey Linux - General 1 07-13-2002 03:25 PM

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

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