Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-09-2001, 12:31 PM
|
#1
|
LQ Newbie
Registered: Jun 2001
Location: New Jersey
Distribution: Mandrake
Posts: 27
Rep:
|
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.
|
|
|
06-09-2001, 09:25 PM
|
#2
|
Member
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113
Rep:
|
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
|
|
|
06-09-2001, 09:53 PM
|
#3
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
06-10-2001, 02:49 PM
|
#4
|
Member
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113
Rep:
|
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.
|
|
|
06-10-2001, 03:45 PM
|
#5
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|