jails Get static DHCP lease from ISP inside jail

I've got 5 static IP's from my ISP, but they are tied to mac addresses in order to obtain them.
I'm trying to avoid VM's where I can, in favour of jails, but can't seem to get my assigned IP's when using a jail.

I'm currently setting my hw addr in a jail by adding the line
Code:
exec.created += "/sbin/ifconfig ${epair}0b ether 'bc:24:11:f1:f1:d0'";
to my jail configuration.
The jail starts, and does get a routable IP, but not the static one assigned to the mac address.

Any ideas about how to get this to work?

EDIT: Before anyone suggests it, ISP won't route to the IP if it wasn't sent via DHCP lease. I've tried setting it statically before with no luck.
 
Maybe see dhclient.conf(5).
It seems that you may force a MAC address for a given interface from there.

To get things more clear, run ifconfig -v on the interface inside your jail.
There is also a hwaddr that will not change. Not sure what dhclient uses.
 
Back
Top