[LBo] Samba using DHCP

Stefan Waidele Stefan at Waidele.info
Fri Jul 14 20:32:06 CEST 2006


Anita Lewis schrieb:
> [...]
> I'm not setting up a DHCP server.  There is a Wins down the hall where 
> we get our IP addresses on our Windows machines.  I want to know if I 
> can still get my IP addresses from there, but have a working Samba in 
> order to access shares from a Linux box. 

Yes, you can.
If your Linux-Samba-Server gets its IP from the DHCP-Server that is in 
charge of your network, everything will be fine.

The suggestion to use static IP-adresses (which I gave in my tutorial) 
is back from the days when 1. dhcp-servers in routers or wherever where 
not that common in home-offices and 2. most Linux-distros did not 
default to dhcp-setup for the network, yet.
Fixing the IP-adresses eliminated many problems that new linux-users 
could have encountered.

If the connection on the IP-level is made, the computers can talk to 
each other. Samby does not mind how that connection came to be.

> And most importantly is that I 
> will be able to access shares on the Linux box from a Windows machine on 
> the network and be able to print to the printer attached to the Linux 
> machine from the Windows machine.

No need for special setup here. Fixed-IP or DHCP both work the same.

On linux, you can even resolve netbios-names to ip-adresses using the 
nmblookup-command.

> We have the mail server and Wins down the hall under other control.  We 
> have 3 computers in my set of offices--two are Win98 and one is XP.  The 
> printer is currently on a Win98 machine and I want to make that machine 
> Linux.

Anita is migrating her office to Linux!
Write down the date, Anita. This is only the begining.

:)

Stefan



More information about the QnA mailing list