View Single Post

   
  #1 (permalink)  
Old 02-16-2008, 06:21 AM
Pixel K
 
Posts: n/a
Default Multiple internet connection routing

Hello,

Here is my setup :
A Cable Line on a SOHO Router on 192.168.0.1
A DSL Line on another SOHO Router on 192.168.0.128
some Clients in the 192.168.0.0/24 network
a OpenBSD Server at 192.168.0.4 with his default gateway at 192.168.0.1

I do mainly ssh connections

When a connection comes from Cable, there is no problem.
When a connection comes from DSL, OpenBSD tries to send the answer back to
192.168.0.1, and the connection fails.

I can't add a static route, because the same internet host should be able to
access the BSD box by Cable or DSL.

I can add another network card if needed, but would want to avoid any pf
stuff if possible.
I don't need any loadbalancing.
All the daemon I use can be bound to a specific IP

I had it working under NT, by setting a different gateway for two different
NIC, so I hopped to make it work under OpenBSD, but route add don't seem to
handle the interface the way I thougth ( the -ifa & -ifp are not docummented
at all )

Thanks in advance for any advice


Reply With Quote