Gateway wrong on BLUE!

Hi guys!

I setup today ipfire with red, green and blue!

Everything works fine except for the gateway of BLUE!

RED = dhcp
GREEN = 192.168.1.0/24
BLUE = 192.168.2.0/24

green and blue use dhcp and now the problem:

blue is sending the gateway 192.168.2.0 to the clients and the clients show me “no internet connection” BUT when I change the whole thing to static with the gateway 192.168.1.0 everything works fine!!!

Is it possible to change the gateway for blue from 192.168.2.0 to 192.168.1.0 or is there an error in the config?


Imgur

Cheers!

Last screenshot

Imgur

Hello,

the gateway on BLUE has to be the IP address of the IPFire box on the BLUE interface. You cannot use any addresses from the GREEN subnet, because hosts on BLUE cannot reach it.

But, you cannot use the 192.168.2.0 address when your subnet mask is 255.255.255.0. It is the net address and is unusable. You probably want to use 192.168.2.1.

1 Like

BTW: This also true for the GREEN network!

1 Like

Sorry for the late response.

It’s working now.

Thank you guys :slight_smile: