Artica can be used in order to act as gateway and router.
3 subnets, 172.16.1.0/24, 192.168.200.0/24 and 192.168.1.0/24
Artica uses 3 network interface:
Eth1 is linked to 172.16.1.0/24 network and is the main gateway (172.16.1.1)
Eth2 is linked to 192.168.100.0/24 network and is the main gateway (192.168.100.1)
Eth0 is linked to 192.168.1.0/24 network but act just as client of a remote gateway 192.168.1.1 to access to Internet.
172.16.1.0/24 can communicate with 192.168.100.0/24 and 192.168.1.0/24 and have Internet Access
192.168.100.0/24 can communicate with 172.16.1.0/24 and 192.168.1.0/24 and have Internet Access
192.168.1.0/24 cannot communicate with 192.168.100.0/24 and 172.16.1.0/24
Our eth1 and eth2 is the gateway of their networks, so you have to define 0.0.0.0 in each Internet Address configuration.
Under network interfaces section, make sure that Interfaces act as gateway for the designed network have to be set 0.0.0.0
Make sure that the Interface that use the gateway to access to Internet is marked as “Default gateway” on the routing rules