Re: Can someone help with DHCP?

From: jpaulb (jpaulb_at_web.de)
Date: 02/24/04


Date: Tue, 24 Feb 2004 17:02:23 +0100

jai wrote:
> On Mon, 23 Feb 2004 22:22:48 +0100, jpaulb wrote:
>
>
>>houghi wrote:
>>
>>>jpaulb wrote:
>>><snip>
>>>
>>>>127.0.0.2 desk1.canadian-dream.com desk1
>>>
>>>
>>>Absolutely unrelated. I looked at the DNS settings for
>>>canadian-dream.com. and saw:
>>>canadian-dream.com. 86400 IN MX 0 mail.mx.canadian-dream.com.
>>>canadian-dream.com. 86400 IN MX 0 a.mx.canadian-dream.com.
>>>
>>>In itself not a real problem. The strange thing is they are the same IP.
>>>So they are each others backup (*) AND the same machine. It would be best to
>>>just delete one (unless there is some very odd reason to have this the
>>>way it is)
>>>
>>>(*) Backup not so much. I just forgot the correct word.
>>
>>I think I need to take a step back and start again.
>>
>>When I set up my network cards i was asked if I wanted automatic address
>>via DHCP (yes)
>>
>>Host name and Name server configuration
>>asked for Host name, a Domian name, if I wanted to change Host name via
>>DHCP (no)
>>name serve 1 (192.168.0.254) that is the router
>>set name servers and searched domains via DHCP. (yes)
>>
>>
>>I have a LAN router,at 192.168.0.254 which is a DHCP server and a DNS
>>server, so claims Devolo.de the makers of Microlink.
>>
>>For some reason the computers on the network can't get thew IP from this
>>DHCO server.
>>
>>The desktop (desk1.canadian-dream.com) is also a printer server. If the
>>router keeps changing IP of desk1, then before I can print from a laptop
>>I must reconfigure the printer client on the laptop.
>>
>>Is my setup wrong?
>
>
> If you are using dhcp, you should not have to configure anything else
> other then setting dhcp "on". The namer server should be assigned
> via the dhcp server.
>
My intentions are to use DHCP. The network cards are configured for
automatic address setup via DHCP

DHCP is enabled on the router.

> A DHCP server should assign:
>
> a) IP address (example 192.168.0.x)

Below is is a cut and paste from the routers DHCP tables

"DHCP Table
This screen displays detail information for each DHCP client connected
to the router.
IP Address MAC Address Client Name
192.168.0.2 00-30-84-9b-03-f5 desk1
192.168.0.1 00-0a-e6-3f-d0-2b traveller
"
DHCP part of the router works it reads the name I gave each box, the MAC
  address of the network card and assigned a IP address.

Am I right so far??

> b) subnet mask (255.255.255.0) this is for a network that can assign 254
> address or a Class "C".

This is also fron the router

"LAN : (MAC Address : 00-03-6D-F3-CB-E2)
           
IP Address : 192.168.0.254
Subnet Mask : 255.255.255.0"

"WAN : (MAC Address : 00-03-6D-F3-CB-E3)
           
IP Address : 217.235.238.64
Subnet Mask : 255.0.0.0
Default Gateway : 217.5.98.100
DNS : 62.155.254.208
           194.25.2.129
           0.0.0.0"

> c) the name servers (these are your dns servers. If you are using a
> ISP/DSL/Broadband these need to be the same as the one on the router that
> way you would let the DHCP server assing them for you.
> d) a valid gateway (usually 192.168.0.1) or the addrss of your router
> which looks like it is at 192.168.0.254. Are you sure that address is
> correct? Ether way the dhcp server should set it for you.

the command dig returns
> dig
Server: 192.168.0.254
Address: 192.168.0.254#53

** server can't find dig: NXDOMAIN

Don't know what the last line means

> As for a "reservation" as mentioned in previose messages, is done on the
> router and it just lets your computer get the same dhcp address every
> time. The gateway, subnet mast and domain name server (dns) is all still
> provided by the DHCP server and it is dynamic. Thats why you would still
> use it.
>
> Remeber if your dns (domain name server) is not correct you will
> not be able to get to the internet.

Internet is no problem, the both copmuters have access. It is the
communication between them LAN that is not right.

>If you are pointing your name server 1
> to the same address as your getway that would mean your router is also a
> dns server.

Name server 1 points to the gateway at 192.168.0.254
again cut and paste from the router

"Routing Table

This screen displays the routing table and interface information.
           
Destination IP Default Gateway Subnet Mask Metric Interface
0.0.0.0 217.5.98.100 0.0.0.0 0 WAN
192.168.0.0 192.168.0.254 255.255.255.0 0 LAN"

>
> Also if a computer does need the same address for nfs or file and print
> services you should do one of the following.
>
> a) set up a reservation on the router. Usually it checks the mac address
> then give the ip you assign.
> b) give it a static IP address if your router does not support
> reservations.
>
Doesn't the DNS resolve names to an IPs?

I can ping my domian by name, the server is on the other side of the
world. and a different domian
desk1:/home/jpb # ping canadian-dream.com
PING canadian-dream.com (66.199.166.4) 56(84) bytes of data.

I can ping the box I an working on by name.
desk1:/home/jpb # ping desk1.canadian-dream.com
PING desk1.canadian-dream.com (192.168.0.2) 56(84) bytes of data.

When I try the laptop
desk1:/home/jpb # ping traveller.canadian-dream.com
ping: unknown host traveller.canadian-dream.com

Something is not right with my setup, the DNS server is not working or
the clients
> Hope this helps.
> - jai
>
Thanks for the help

-- 
The last virus I removed from my computers was called Windoze.


Relevant Pages

  • Re: SBS 2003 Misconfigured?
    ... I've thrown quite a bit at them, and just have to disagree that they are inherently less secure than the netgear. ... setup DHCP and I have also gone in and manually created a new scope ... when I first used the Netgear router with SBS 2003, ... than one SBS server in a company makes no sense. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Misconfigured?
    ... Yeah, maybe it's not that different from the Netgear, for all that. ... that when I first used the Netgear router with SBS 2003, ... tech spend 4+ hours on my system, and then tell me to enable DHCP ... more than one SBS server in a company makes no sense. ...
    (microsoft.public.windows.server.sbs)
  • Re: How do I configure SBS 2003 as a DHCP server?
    ... To disable the private "LAN" side DHCP service (not the DHCP service on the ... of the PPPoE adapter and enable your Speedstream as a DSL modem and router. ... For the Vista computer to interact with SBS, ... Windows Small Business Server 2003: ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... OK, yes, I've struck a router which would only allow DHCP clients access to ... no internet connection from the server. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Misconfigured?
    ... setup DHCP and I have also gone in and manually created a new scope ... when I first used the Netgear router with SBS 2003, ... one SBS server in a company makes no sense. ...
    (microsoft.public.windows.server.sbs)