Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Jon_Reynolds on January 18, 2006, 02:23:04 AM
-
Hello,
I have an SME 6.01 server sitting behind an IPCop box. The SME box gives out DHCP and has the gateway pointing to the IPCop box. What do I need to do to have all traffic coming out of our network go through SME then IPCop and then coming back in go through IPCop then through the SME server then to the requesting workstation?
Thanks for any advice,
Jon
-
Set up IPCop with a green, orange and red interface (the red can be a network card, dial-up modem or ADSL modem). Give the green interface an ip address in the same range as the internal interface on the sme box. Give the orange interface a different ip address on a different range. Turn off the IPCop DHCP server.
On the SME box give the internal interface an ip on the same range as the green IPCop interface, give the external interface an ip on the same range as the orange interface on IPCop. Set DHCP range up the same as the internal network interface. Set the gateway on the SME box to be the IPCop orange interface address. Don't set the gateway on the DHCP setup to the IPCop but leave it as the SME box.
On IPCop connect the red interface to the internet, ornage interface to the external interface on the SME box, connect the green interface and the internal interface to the same switch and then connect the clients to that switch. As a picture says a thousand words have a look at this example (http://www.tuxx.homelinux.org/links/ipcop_sme_setup.jpg).
The green interface from IPCop can be missed out completly but is useful to provide a backup route should the SME box fail.
If it is working and all traffic is passing through the SME box then IPCop and back, then on the IPCop admin interface you will see no traffic for the green interface and all on the orange interface.
Note: With this setup you will not be able to ping. This is a result of using the orange interface which doesn't allow ping requests.
-
I have an SME 6.01 server sitting behind an IPCop box. The SME box gives out DHCP and has the gateway pointing to the IPCop box. What do I need to do to have all traffic coming out of our network go through SME then IPCop and then coming back in go through IPCop then through the SME server then to the requesting workstation?
Configure the SME server in servergateway mode, with its exeternal interface connected to IPCop's green (local) interface.
-
Thanks Charlie,
So when I set my SME box to 'Server/Gateway' mode, I will need to change my DHCP setup to use the SME box as the gateway instead of the IPCop box, which is how I have it now, is that correct?
Jon
-
So when I set my SME box to 'Server/Gateway' mode, I will need to change my DHCP setup to use the SME box as the gateway instead of the IPCop box, which is how I have it now, is that correct?
Yep (as you would soon discover).
-
LOL!
Thanks again Charlie!!