I'm running ClearOS as a router for personal devices at work. However, I need to be able to give them access to our SIP phone system running on its own VLAN. Because of NAT issues, I can't get this to work through the ClearOS gateway, so I figured I'd just add another LAN device and have that directly connected to the phone system VLAN.
Primary router (Connected to ClearOS via 172.26.5.1 -> 172.26.5.3)
172.26.3.1/24 (ClearOS LAN eth1) 172.25.200.3/24 (PBX)
172.25.200.4/24 (ClearOS LAN eth2) - connected via VLAN into the PBX subnet
So basically, the PBX subnet has it's own router (172.25.200.1) that is functioning fine. I don't want that subnet to use ClearOS. I've set a static route on the primary router to do 172.26.3.0/24 via 172.25.200.4. This means I can ping anything on the eth1 LAN on ClearOS no problems from my PBX subnet.
However, I've been unable to get the reverse to work. I can't ping anything on the PBX subnet from the ClearOS eth1 subnet. I can ping 172.25.200.4 however.
How can I set up ClearOS to know to route everything for the PBX subnet via 172.25.200.4 (ClearOS eth2)?
Edit: It looks something like this:
The users on the right can ping the ones on the left due to the static route set up in the main firewall, but the users on the left cannot ping the ones on the right. The ClearOS box is the one on the lower left.