"Al C." <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Dave {Reply Address in.sig} wrote:
>
[snip]
> >>
> >> The reason that I see the second machine is because it is turned off each
> >> night and rebooted in the AM while my machine is on 24/7 and the DHCP
> >> table "forgets" about it after a lease has expired.... or something like
> >> that. I'll bet that if I reboot my machine it will end up back on the
> >> table ... at least for a while.
Your machine "renews" its lease at 1/2 the lease time -- and if that
fails, attempts made at 1/2 remaining time, etc., till lease really
does expire. Renewals and Discovery/requests are different ...
> > What output do you get on the Linux box from the command:
> >
> > ps ax | grep dhclient
> >
> > That'll tell you if you're running the standard DHCP client on it.
>
>
> al@xxxxxx:~$ ps ax | grep dhcp
> 226 ? S 0:10 /sbin/dhcpcd -t 10 -d eth0
>
> I wonder if I bring down the dhcp daemon and bring it up again, if I would get
> a new IP. I know how to kill it, but not sure how to restart it. the 'man'
> page is confusing.
When using dhcp, all you need to do is ifdown ethx followed by ifup
ethx -- bringing down the demon alone won't accomplish much ;-)
> This is just an academic exercise. Everything works fine.
>
> Al
If the man page confuses you -- it is rather sparse on background --
try this:
http://www.tldp.org/HOWTO/DHCP/index.html
Also page 17 of your user's guide gives a _very_ brief summary of how
the Linksys router can/is configured as a dhcp server -- note that it
gives out private IPs 192.168.1.X.and is not acting as just a dhcp
relay agent (like many broadband modems and soho routers do). This
also requires it to act as a NAT device -- it's the router that has
the actual, "real" IP from your ISP.
If the post you quoted is near accurate, the table and what it might
be used for is unclear -- it doesn't affect operation (ie., leases).
Perhaps useful if a freshly booted PC fails to get an IP from the
router?
hth,
prg
email above disabled