Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2016 13:51:10 +0000
From:      James Morris <jamesmorris8@outlook.com>
To:        "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Message-ID:  <BM1PR01MB0209960FA6C4D21F0A4B033D8CAA0@BM1PR01MB0209.INDPRD01.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help

Hi,


I have a FreeBSD server (A) with 2 NICs


Each NIC is connected to a different network:

igb0: 10.0.0.10/24

igb1: 10.10.10.10/24

The default gateway on the server is 10.0.0.1


The two networks can communicate using a router (10.0.0.1).


I have a server (B) running on 10.10.10.100 which only allows incoming connections from 10.0.0.0/24 (not 10.10.10.0/24).


When my FreeBSD server A attempts to connect to server B it uses the closest IP and goes through igb1 which is dropped by B.


Is there a way to force all (or some) outbound traffic to use igb0?


I have attached a small network diagram to illustrate my setup.


Thanks,


James




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BM1PR01MB0209960FA6C4D21F0A4B033D8CAA0>