Koozali.org: home of the SME Server

two e-smith servers in the one network

Cameron Stacey

two e-smith servers in the one network
« on: October 23, 2000, 11:56:08 AM »
Gentlemen,

I have been using e-smith as my server and gateway for a month or so now, yesterday I installed a second e-smith server in my home network and use it for dhcp and file server, the original one is for web server and firewall.

I have named the first server blah.blah.blah for example and the second tower.blah.blah.blah. they have been assigned different ip addys.

my problem is now my network takes like 15 seconds to 20 seconds to bring up the e-smith-manager on either, i.e. its now very slow, I have turned off dhcp on the original server.

Any help appreciated here.
Kind Regards,
Cameron Stacey

Orville Carter

RE: two e-smith servers in the one network
« Reply #1 on: October 23, 2000, 11:35:18 PM »
Cameron Stacey wrote:

> my problem is now my network takes like 15 seconds to 20
> seconds to bring up the e-smith-manager on either, i.e. its now
> very slow, I have turned off dhcp on the original server.
>

Cameron,
You got me there. I have several e-smith 4.0 servers running on my home/office lan.
I have not had any problems with any system in terms of access time etc. One machine is a server-gateway, the other is a dedicated server. In addition, a system or two may be on test for a client at the same time. I use all static ip's on the local lan.

OC

Charlie Brady

RE: two e-smith servers in the one network
« Reply #2 on: October 23, 2000, 11:52:58 PM »
Cameron Stacey wrote:

> I have been using e-smith as my server and gateway for a month
> or so now, yesterday I installed a second e-smith server in my
> home network and use it for dhcp and file server, the original
> one is for web server and firewall.
...
> I have turned off dhcp on the original server.

I think there's a clue there - you had dhcp running on the original server. You can only have one effective DHCP server on a network. This means *all* clients need to get DHCP leases from the new DHCP server before your LAN can function correctly. You also need to make sure that both servers are on seperate IP addresses, and these addresses are outside the range of DHCP addresses being offered.

You should also note that the DHCP leases include the IP address of the e-smith server as the default gateway address. This implies that the firewall should be given the job of DHCP server.

So you should turn off DHCP on the file server, turn it on on the firewall, then fetch new leases on each of your clients.

Regards

Charlie

Cameron Stacey

RE: two e-smith servers in the one network
« Reply #3 on: October 24, 2000, 04:04:21 AM »
Thanks for replying,

I have the original gateway box setup as 10.10.10.50, the fileserver box setup as 10.10.10.51    so they have ip's outside of the scope that dhcp will issue from.

Last night I downed the file server and gave the job of DHCP back to the gateway box,  thought having a box inside the network assigning ip's more reliable than the box on the gateway mostly for in the event of the modem on the gateway box being zapped and downing the server, the server dying and to lighten the load on that box.

Downing the file server box has sped up my internet access and stopped my 98(foul number here I know) from crashing apps, I actually think it was a domain problem, as I was originally logging into the Gateway box and it was my logon domain, so in essence my question now is, how do I stop the gateway box being my domain server or the file server and why is it that it is a good idea that the gateway box have the job of DHCP...?...perhaps then also the gateway box has to retain the role of domain logon server also, I do also have NT (onther foul word I know) so I would like to keep the domain logon.

Then, how do I remove or disable these features on the appropriate box...:)

Thanks so much
Kind Regards,
Cameron Stacey

Charlie Brady

RE: two e-smith servers in the one network
« Reply #4 on: October 24, 2000, 04:15:02 AM »
Cameron Stacey wrote:

>how do I stop the gateway box being
> my domain server or the file server

Apply the updated e-smith-base-4.0.12-28.noarch.rpm (you have done that already? Good.) and configure the gateway box to not be the Domain Master, via the Workgroup setting in the manager.

> and why is it that it is a
> good idea that the gateway box have the job of
> DHCP...?

As I said before, the e-smith server includes its own LAN address as the default gateway address in the DHCP responses.  And you want outbound packets to go directly to the gateway. So ...

Regards

Charlie

Charlie Brady

RE: two e-smith servers in the one network
« Reply #5 on: October 24, 2000, 04:19:19 AM »
Charlie Brady wrote:

> the e-smith server includes its own LAN
> address as the default gateway address in the DHCP responses.
> And you want outbound packets to go directly to the gateway. So
> ...

Woops. I need to correct myself here. The e-smith server configured in server-only mode sets the default gateway address in the DHCP responses correctly to the gateway address. So in fact, you could use the file server for DHCP with no problem.

Regards

Charlie

Cameron Stacey

RE: two e-smith servers in the one network
« Reply #6 on: October 24, 2000, 04:32:29 AM »
Thank you Charlie,

please clarify something for me, so when running the e-smith-manager and setting be domain master, workgroup name and host name,  is it that it midifies the /etc/e-smith/templates/etc/smb.conf/10globals file, which is then what is used to modify the /etc/smb.conf file...?

and thanks again so much for your prompt reply...:)

Kind Regards,
Cameron Stacey

Cameron Stacey

RE: two e-smith servers in the one network
« Reply #7 on: October 24, 2000, 05:25:13 AM »
Also,

Uhmmmm, how is it that I tell 10.10.10.51 (DHCP and file server) that 10.10.10.50 is the gateway, coz when I run ipconfig on my (98) box it comes up with 10.10.10.51 as the gateway, I think this was also causing some problems...:(

Thanks again,
Kind Regards,
Cameron Stacey

Charlie Brady

RE: two e-smith servers in the one network
« Reply #8 on: October 24, 2000, 05:56:40 AM »
Cameron Stacey wrote:

> Uhmmmm, how is it that I tell 10.10.10.51 (DHCP and file
> server) that 10.10.10.50 is the gateway, coz when I run
> ipconfig on my (98) box it comes up with 10.10.10.51 as the
> gateway, I think this was also causing some problems...:(

Run the console configuration on the server - the gateway is one of the settings.

Charlie

Charlie Brady

RE: two e-smith servers in the one network
« Reply #9 on: October 24, 2000, 06:13:10 AM »
Cameron Stacey wrote:

> please clarify something for me, so when running the
> e-smith-manager and setting be domain master, workgroup name
> and host name,  is it that it midifies the
> /etc/e-smith/templates/etc/smb.conf/10globals file, which is
> then what is used to modify the /etc/smb.conf file...?

No, templates are never modified. Please read the documentation on the http://www.e-smith.org/ site for further details.

Charlie

Cameron Stacey

RE: two e-smith servers in the one network
« Reply #10 on: October 24, 2000, 06:13:22 AM »
Thank you so much Charlie,

I will check it out.

Kind Regards,
Cameron Stacey