I have spent a solid two weeks trying to implement the "Secure Office 
Networking" example in the book "Samba-3 by Example, to no avail.  In the 
example, the system sets the server up as a Samba PDC, and also as a router for 
two local subnets.  There are three network interfaces on the computer: eth0 
for the WAN/Internet, firewalled;  eth1 & eth2 for two LAN subnets, bound to 
Samba.  The linux box is also a DHCP server for the two subnets, a DNS server 
for the local hosts on the two subnets, and a WINS server.

Despite following the book meticulously, I can't get DNS to work properly, or 
WINS to work at all, or DHCP to give ip addresses to other clients, and i need 
help.

The main differences between my setup and the one described in the book:
1) book's example envisions the company having a registered interent domain: 
"abmas.us" for which the ISP provides addresses, gateways, dns servers, 
forwarding servers, etc.  My system has no such externel website.  The only 
address i would get from my ISP are the internet address, two dns servers, and 
the one assigned to my computer.
2) book's example has a fixed IP for the internet connection on eth0.  My 
system has to use DHCP to get the IP from ISP.
3) I am using Samba 3.0.23b, book is written for 3.0.20, and there is some big 
difference with winbind and updating net groupmapping, that i don't quite 
understand fully.


My main question right now is how to correctly configure the 3 network 
interface cards -- the book gives no information on this and i'm not sure if 
i'm doing it correctly.

eth0 - I think i need to configure this card for dhcp, because this is what my 
ISP requires.  But is it possible to have dhcp running on one card, while the 
computer runs a dhcp server for the other two cards??

eth1 & eth2 - I know they need a static IP: (192.168.1.1 in the book for eth1, 
192.168.2.1 for eth2).  But what should their gateway be set to?  The same 
address (192.168.1/2.1)?  The address at the ISP which eth0 connects to?

And what should the two DNS servers be on each of these cards?  The ones which 
dhcp on eth0 obtained?  Or the DNS server which will be running internally on 
192.168.1.1 and 192.168.2.1?

What would i need to do differently in the dhcpd.conf & named.conf files 
because I don't have an external website??

If anyone has tried to implement this same setup from Samba-By-Example i would 
be very grateful for your insights.  Thank you.

Glen

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to