Hi!

I'm trying to find out if it's possible to get multiple IP's using DHCP to a
single NIC.

The reason for this is that I have a small network, which I want to connect
to Internet thru an ADSL, the IP's on this ISP are dynamic, so DHCP must be
used. Reason for getting multiple IP's is so that I could use one IP for the
OBSD box itself and for NATting most of the traffic, and getting the extra
IP's for doing binat to some of the PC's in the local LAN.

I did find a few questions like this in some archives, but they lacked a
response, so I was hoping someone here might be able to help me out.

Also, related to this, OBSD doesn't create an additional virtual interface
when using aliases for an IP, is it possible to create an extra interface ?
The reason for this is so that in pf.conf I could use the interface name in
parenthesis, so when the DHCP changes one of the IP's pf configuration
updates automatically.

Does anybody know the reasoning behind not creating a virtual interface ?

Any answers would help, even if they are incomplete, it might steer me into
the right direction, so thanks in advance to anybody willing to help.

Reply via email to