I am trying to setup a simple network (refer to this image) on my new Clearfog Pro. I have a debian distro installed on this board. Right now I have one computer (pc2) connected to the Clearfog (pc1), but I am planning to add more.
My goal with this network is to connect pc2 to the internet and all the other computers in the lan and wan network. But I have a hard time achieving this goal.
The board has two interfaces:
- Eth0: 192.168.178.201/24 connected to the main router and internet.
- Eth1: 192.168.177.1/24. this board has 6 lan interfaces connected to it.
On pc1 I enabled ip forwarding and added routes like this:
ip route add default via 192.168.178.1 dev eth0
ip route add 192.168.178.0/24 via 192.168.178.201 dev eth0
ip route add 192.168.177.0/24 via 192.168.177.1 dev eth1
On pc2 I added a static ip and default gateway as shown in the picture.
I can ping 192.168.178.201 and 192.168.177.1. If ping 192.168.178.2 I can see that it hopped to 192.168.178.201 but then gets stuck.
On pc2 I cant ping the default gateway. I dont know if this is supposed to happen.
-----EDIT 1-----
I think there is something wrong with the configuration of the Clearfog Pro. Its blocking connections on eth1 but the leds are still showing something is going on.