One MAC, two IP with DHCP (dhclient) how?
pb at ludd.ltu.se
Fri Sep 4 18:12:56 UTC 2009
In an enviroment where the ethernet network interface is connected to a public
ethernet network (internet). And a IPv4 address assignment scheme is static.
One can simple add primary IP by:
ifconfig <interface> inet 18.104.22.168
And an additional aliases with:
ifconfig <interface> inet 22.214.171.124 alias
This alias IP can then be used within a jail(8) enviroment.
So far all is perfectly fine.
But in an enviroment where the primary IP is retrieved or set with DHCP by
How does one request an additional IP beside the primary one ..?
Setting an alias directly with ifconfig won't work because the upstream network
won't route it.
Should one set an explicit xid or Client ID somehow? and how is that done in
(option dhcp-client-identifier data-string; in dhclient.conf)
More information about the freebsd-questions