[wellylug] Samba & DHCP config ?
Roger Young
r.young at irl.cri.nz
Thu Oct 27 20:52:46 NZDT 2005
Alright, now suppose I wish to assign a share on my machine
to a user on another machine. How do I refer to that other
machine if I don't know it's IP address (although Samba does)?
Is it (as Ian suggested) that the Samba server knows how to connect
machine name and (router assigned) IP address, so it is sufficient
to identify the share in smb.conf by machine name?
Regards,
Roger
On Thu, 27 Oct 2005 19:50:38 +1300
Cliff Pratt <enkidu at cliffp.com> wrote:
> 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
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave: http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>
> This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
> MailScanner thanks transtec Computers for their support.
> MailScanner Supplied by ITS-HelpDesk.
> ext 4001 or email helpdesk at irl.cri.nz--
More information about the wellylug
mailing list