Good afternoon, and congratulations for the distribution.
I have a low-power consumption miniITX PC with an Intel Atom and 2GB of RAM and gigabit ethernet I want to use as an headless central home-server and internet gateway.
I have just restructured my network buying an inexpensive gigabit switch and an ADSL modem/router with a unique ethernet port which work perfectly unless I try to use the PC as a gateway.
More specifically, the ADSL modem is configured with PPPoE protocol with my ISP username and password, has 192.168.1.1 as IP and Internet works perfectly if i plug the modem and one or more PCs to the gigabit switch. The PCs have all a static IP in 192.168.1.0 network.
The problem comes when I try to plug the modem to the eth1 of the gateway, set as an external interface, and the other one (eth0) to the gigabit switch. In this case I change the internal network to 192.168.2.0.
I am able to enter the webinterface of Zentyal and also with SSH, but the gateway neither acts as an internet gateway nor it is able to connect to the Internet itself.
I am able to ping eth0 with address 192.168.2.1, and also eth1 with IP 192.168.1.2 (I tried both with static IP and with the same IP got from the ADSL modem DHCP server), but I am not able to ping the modem itself with IP 192.168.1.1 from another PC and also from the Zentyal PC with the webinterface network tools. I am also unable to ping any internet website or to solve any DNS.
I tried also to set the gateway as 192.168.1.1 in Zentyal or to get it from DHCP, but nothing changed, neither if I deactivate the firewall.
The only way I managed to use Zentyal PC as gateway with the configuration ADSL modem <---> Zentyal gateway (eth1) <---> switch <---> PC1, Zentyal gateway (eth0) is by setting eth1 as PPPoE with the same ADSL modem ISP username and password.
The problem is that eth1 is no longer pingable and Zentyal does not allow to set traffic shaping rules on upload (eth1) with PPPoE configuration, and I'd like to use them to shape traffic preventing mass-download programs to choke the connection and to prioritize voip and other real-time traffic.
I hope someone will help me to solve this problem.
Thank you, and have a nice day!
F. D.