Routing outbound IP packets on multihomed box

2007-06-15 Thread Christopher Cowart
Hello, I have a server with two NICs: em0:169.229.79.139/25 vlan526:169.229.126.9/24 The default gateway is 169.229.79.129. The router for the 126 subnet is 169.229.126.1. netstat -rn: | DestinationGatewayFlagsRefs Use Netif Expire | default

Re: Routing outbound IP packets on multihomed box

2007-06-15 Thread Boris Kochergin
Hi. I've come across this problem but solved it with a PF rule of this form, if that's an option for you: pass out route-to (vlan256 169.229.126.1) from 169.229.126.9 to any This tells PF to send all packets sent from 169.229.126.9 through the vlan256 interface with a next-hop address of

Re: Routing outbound IP packets on multihomed box

2007-06-15 Thread Christopher Cowart
On Fri, Jun 15, 2007 at 06:30:23PM -0400, Boris Kochergin wrote: Christopher Cowart wrote: I have a server with two NICs: em0:169.229.79.139/25 vlan526:169.229.126.9/24 The default gateway is 169.229.79.129. The router for the 126 subnet is 169.229.126.1. netstat -rn: |

Re: Routing outbound IP packets on multihomed box

2007-06-15 Thread Julian Elischer
Christopher Cowart wrote: On Fri, Jun 15, 2007 at 06:30:23PM -0400, Boris Kochergin wrote: Christopher Cowart wrote: I have a server with two NICs: em0:169.229.79.139/25 vlan526:169.229.126.9/24 The default gateway is 169.229.79.129. The router for the 126 subnet is

Re: Routing outbound IP packets on multihomed box

2007-06-15 Thread Joe Holden
Christopher Cowart wrote: On Fri, Jun 15, 2007 at 06:30:23PM -0400, Boris Kochergin wrote: Christopher Cowart wrote: I have a server with two NICs: em0:169.229.79.139/25 vlan526:169.229.126.9/24 The default gateway is 169.229.79.129. The router for the 126 subnet is

Re: Routing outbound IP packets on multihomed box

2007-06-15 Thread Christopher Cowart
On Fri, Jun 15, 2007 at 05:35:33PM -0700, Julian Elischer wrote: Christopher Cowart wrote: On Fri, Jun 15, 2007 at 06:30:23PM -0400, Boris Kochergin wrote: Christopher Cowart wrote: I have a server with two NICs: em0:169.229.79.139/25 vlan526:169.229.126.9/24 The default