In Message <20160627095815.56e17115...@xen1.duzan.org>,
   "Gary Duzan" <g...@duzan.org>wrote:

=>In Message <loom.20160626t181533-...@post.gmane.org>,
=>   Ryan Brackenbury <ryan.brackenb...@gmail.com>wrote:
=>
=>=>Hopefully someone can shed some light on what I'm doing wrong - and 
=>=>hopefully there is a way to do this that doesn't require a second NIC.
=>
=>   I can't speak to the NPF issue, but you could try using a vlan interface
=>between your servers as a workaround.

   Drat, got the addresses backwards:

=>/etc/ifconfig.vlan0:
=>create
=>vlan {vlan-id} vlanif ale0
=>inet 172.16.0.2
=>!route add -host 172.16.0.3 192.168.0.3
!route add -host 192.168.0.3 172.16.0.3

   And this assumes you aren't using the 172.{16..31} range for anything else.

                                        Gary


=>and something similar on the opposite end. I do something like this
=>at home, but inverted, putting external traffic on a vlan (via a
=>hardware switch) and routing it out on the native interface.
=>
=>   Good luck.
=>
=>                              Gary Duzan
=>
=>

Reply via email to