[wellylug] Samba & DHCP config ?
Cliff Pratt
enkidu at cliffp.com
Thu Oct 27 19:50:38 NZDT 2005
Roger Young wrote:
>
> Yes, I understand that about the router, but the router
> is also a switch, or hub or whatever, for the LAN. So I
> need to know (and Samba needs to know) how to address the
> local machines. If the router employs dynamic IP
> addressing then it seems difficult to use these same IP
> numbers for local ethernet traffic.
>
Routers have two sides. Switches have only one. By that I
mean that a router connects two networks and switches are
only ever connected to one network. In an ADSL device there
is a router AND a switch, two devices in one box. The box
has a DHCP server which hands out IP addresses on the *LAN*
side. This has nothing to do with IP addresses on the
*Internet* side.
When a machine starts up it gets an IP address from the DHCP
server and then connects to the Samba server. Samba then has
its IP address and that is *all* it needs. While the machine
is on it never loses its IP address. If it is rebooted in
most cases it gets the same IP address back. Whether or not
it does, it connects to the Samba server and the Samba
server then knows its IP address. That is all it needs.
Cheers,
Cliff
More information about the wellylug
mailing list