FreeBSD and two different networks

Maxim V Filimonov che at bein.link
Wed Sep 30 20:59:08 UTC 2015


Dear All,

I have a FreeBSD machine at work. It's mostly connected to the so-called 
"internal" network that has a static ip: let it be 172.16.1.113/12. The 
default gateway for that network is 172.16.1.1. 
Sometimes, I need to connect this machine to another network that uses DHCP. 
Its network mask differs: it's 192.168.1.0/24. The second network uses DHCP. 

The question is: can I set both of the default gateways (skip DHCP: I can 
configure the interface for the "external" network manually) in some way? Can 
I set up some kind of a daemon that checks whether one of my gateways is 
accessible and forwards all of the traffic through that gateway? Thank you 
very much in advance.
-- 
wbr, Maxim Filimonov <che at bein.link>


More information about the freebsd-questions mailing list