Hi all,

I have a cable modem and an ADSL line at home; the DSL line gives me a static
ip but the cable modem gives me a dynamic one. My plan was to use 2 openbsd
boxes as network routers with CARP for failover, the idea being that I would
plug the cable modem into a switch and plug both boxes into said switch, with
the DSL line doing the same thing on a different vlan on the basis that only
one interface would be active at a time.
The question I have is how do I get dhclient working with the cable modem,
given that the IP address is dynamic? dhclient doesn't work when the carp
interface is in INIT mode and I'm not sure how to get carp to "share" the IP
address between the 2 boxes. I presume that this must be possible to do as I
am sure others would want to do it too.

What would the best way of doing this be? My criteria is:

- 1 cable modem with an IP assigned by my provider via DHCP
- 1 dsl modem with statically assigned IPs
- 2 boxes running OpenBSD, 1 master and 1 backup. If the master goes down, the
backup takes over the master's duties and routes traffic through the cable
modem and dsl modem according to my routing/firewall rules [which I am happy
with - basically load balancing through various NAT rules]

I'd appreciate any comments or advice

Reply via email to