LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DSL via router: DHCP or static IP? (https://www.linuxquestions.org/questions/linux-newbie-8/dsl-via-router-dhcp-or-static-ip-215046/)

Sinope 08-08-2004 01:48 PM

DSL via router: DHCP or static IP?
 
Slackware10's netconfig asks me if I want to use a DHCP server or a static IP to configure my ethernet. I have a DSL connection via an Asante router. What is the answer?? And when it asks me for IPs, what do I give it? The same IP my computer had under WinXP (yes, I have it memorized :P)??

Thanks!

sibtay 08-08-2004 01:59 PM

it depends on ur ISP

Has your ISP provided you with a static IP? if yes then enter that static IP.

If not then select the DHCP option.

Hjalte 08-08-2004 02:00 PM

DHCP should do it.

That way, it will get an ip address on startup.
That'll be the easiest.

Sinope 08-08-2004 02:16 PM

Thanks, trying DHCP.

zensufi 08-08-2004 03:45 PM

dhcpcd
 
Slack would not automatically detect DNS servers for me at first while using DHCP. I had to manually edit /etc/resolv.conf (copying data from a live boot of knoppix). Try this or typing "dhcpcd eth0" (or whatever your device is) if slack doesn't automatically connect you. If this doesn't work, we'll need to move on to gathering information about your hardware/internet connection and/or running knoppix to see if it autodetects.

Brian

Hjalte 08-08-2004 04:18 PM

But, if he's behind a router, the router should give the box an IP nr.
Therefore it wont need a dns server, because the router is having the IP of the LAN...


All times are GMT -5. The time now is 04:20 AM.