Re: multiple interfaces on same subnet?

2006-08-01 Thread Atom Powers
On 7/31/06, Joseph Gleason [EMAIL PROTECTED] wrote: Is it possible to reach two hosts via two interfaces that are both on the same subnet? ... My objective is to have a FreeBSD box balance outbound traffic between two NICs, while being able to select from among many routers that could be the

Re: multiple interfaces on same subnet?

2006-08-01 Thread Malcolm Kay
On Tue, 1 Aug 2006 05:10 am, Joseph Gleason wrote: Is it possible to reach two hosts via two interfaces that are both on the same subnet? Example: em0: 172.20.0.1/16 em1: 172.20.0.2/16 And I want to reach 172.20.0.3 via em0 and 172.20.0.4 via em1. From 'netstat -nr' I see a line like

Re: multiple interfaces on same subnet?

2006-08-01 Thread Atom Powers
On 8/1/06, Malcolm Kay [EMAIL PROTECTED] wrote: I have no personal experience of doing this, but it seems to me you should be able to achieve your objective by using a specific netmask with ifconfig rather than the CIDR / notation: 172.20.0.1/16 - 172.20.0.1 netmask 255.255.0.1 172.20.0.2/16