Re: trying to be multi-homed, impossible without routing daemon?

2007-07-10 Thread riwanlky
hai, i have same problem. however reading the mailing list i found the solution. use pf, ddclient (for dhcp ip listing to the internet with zoneedit) is the answer. route add default adsl route add default dhcp ip -mpath then in the pf.conf pass in on adsl inet proto icmp keep state pass in on

Re: trying to be multi-homed, impossible without routing daemon?

2007-07-10 Thread Die Gestalt
nat on $cif from !($cif) - ($cif:0) The problem is that !($cif) includes $dif nat on $dif from !($dif) - ($dif:0) and !($dif) includes $cif. XX I NEED TO CHANGE TO SOMETHING LIKE THIS X nat on $cif from ($iif:network) - ($cif:0) nat on $dif from ($iif:network) - ($dif:0)

trying to be multi-homed, impossible without routing daemon?

2007-07-09 Thread Bohdan Tashchuk
I'm running OpenBSD 4.1 release. I've had a DSL connection, just added a cable modem. DSL has static IP, cable modem IP assigned by DHCP (which becomes default route). Now, when I receive ICMP echo request on DSL the ICMP echo reply goes back via cable modem (and has cable modem source

Re: trying to be multi-homed, impossible without routing daemon?

2007-07-09 Thread Die Gestalt
Do you have pf enabled and if yes can you share with us your pf.conf? It sounds like you nat everything including one of your incoming connection. When the request arrives on one interface it gets natted to the other.

Re: trying to be multi-homed, impossible without routing daemon?

2007-07-09 Thread Bohdan Tashchuk
Die Gestalt wrote: Do you have pf enabled and if yes can you share with us your pf.conf? It sounds like you nat everything including one of your incoming connection. When the request arrives on one interface it gets natted to the other. My pf.conf is quite cluttered. So thanks for the first

Re: trying to be multi-homed, impossible without routing daemon?

2007-07-09 Thread Stuart Henderson
On 2007/07/09 02:20, Bohdan Tashchuk wrote: I've had a DSL connection, just added a cable modem. DSL has static IP, cable modem IP assigned by DHCP (which becomes default route). Have a read of http://www.openbsd.org/faq/pf/pools.html#outgoing and pf.conf(5) about the suggested options, play

Re: trying to be multi-homed, impossible without routing daemon?

2007-07-09 Thread riwanlky
hai, i have same problem. however reading the mailing list i found the solution. use pf, ddclient (for dhcp ip listing to the internet with zoneedit) is the answer. route add default adsl route add default dhcp ip -mpath then in the pf.conf pass in on adsl inet proto icmp keep state pass in