Jesus Sanchez wrote:
Hi, I'm using 4.2 with no problem for anything but one thing.
I have a box with 2 NICs. One have a ip get with dhcp from the cable
moden, and everything goes right but at the other side, if I wake up a
bridge as described in brconfig manpage and ifconfig manpage (following
the FAQ) I can't get a ip with dhcp from the other computer connected
at the other side of the bridge.
I'm forgetting something but I did not found it on man pages. What can I
do?
Thanks for all.
I don't think you want to bridge (Unless that's really what you want)
You want to configure the internal NIC with a reserved address
(192.168.2.1 for example).
You then have to make sure that dhcpd is serving addresses on that
interface. (man dhcpd)
Then you have to setup NAT (network address translation)
That's covered in the PF Howto: http://openbsd.org/faq/pf/nat.html