In Message <[email protected]>,
   "Gary Duzan" <[email protected]>wrote:

=>In Message <[email protected]>,
=>   Ryan Brackenbury <[email protected]>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