I have a new install of Zentyal 2.3. I have three network interfaces:
* eth0 -> Internal wired network, static, 192.168.1.1
* eth1 -> Internal wireless network, static, 192.168.2.1
* eth2 -> External connected to cable modem, static, IP 98.174.187.147,SM 255.255.255.240, GW 98.174.187.145
I am attempting to replace a stock Ubuntu 10.04 install that has worked flawlessly for two years that I am very comfortable configuring by hand. I was hoping Zentyal would make my life easier, but so far not so much. The install went fine, and standing on a ladder holding the keyboard in my hand, I can log into my Zentyal box, do the initial configuration, ifconfig looks good, resolve internet addresses, and ping various places. It all looks good, so I go to one of the wired Ubuntu workstations to tweak the box via the web administration, and that's when unhappiness ensues.
The first problem is DHCP isn't working, and therefore I have no internet to view the online docs. I jacked with the settings for an hour or so (standing on a ladder) with no luck before giving up and defining a static IP on the workstation. I can probably figure out the DHCP problem, eventually, but there is a bigger problem that has me REALLY stumped. I was able to slogin to the box and was then able to resolve IP addresses, but I couldn't ping anything except the Zentyal box. I get "connect: Network is unreachable". So I spent another couple hours jacking with settings before giving up and bypassing the router and using my emergency Lynkys box until I have another few hours trying to get basic networking on a linux box working.
It's almost as if the box isn't forwarding packets from the internal network to the external network, ie iptables doesn't have IP_FORWARD set or something, but I am REALLY reaching the limits of my linux administration knowledge here, and I have no idea what most of the settings in Zentyal do, or how they interact. I even tried turning off the firewall (that gave me a warm fuzzy) and that didn't help. When I run route -n, the table looks REALLY odd to me:
0.0.0.0 98.174.187.145 0.0.0.0 UG 100 0 0 eth2
98.174.187.144 0.0.0.0 255.255.255.240 U 0 0 0 eth2
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
Now, ignoring whatever the hell "virbr0" is, I have no idea what the "98.174.187.144" line is doing there, the default gateway line looks porked, and I have never see the default gateway listed FIRST before. Seeing as how DHCP did not come turned on by default, I can only guess what else I have to set up as well. I will try again tomorrow, but my best guess for the DHCP issue is that, despite the fact that the configuration page seems to indicate all is well, after reading the docs I probably still need to define a range of IP addresses to serve (after figuring out what a network object is and setting one up, of course). As for the routing issue I am REALLY guessing. My best guess is, even though the route command seems to indicate that there are routes for the internal networks, that I still need to add static routes in the Zentyal config. I still think I am going to be boned with the default gateway, so I am probably going to spend some quality time with the route command adjusting the routing table. Again, I am reaching the limit of my linux administration knowledge, and any help would be appreciated.