I have a laptop running FreeBSD 4.10 which has one ethernet port (fxp0)
I have so far configured the ethernet port and kernel to support three vlan virtual interfaces with static IPs. (vlan0, vlan1, vlan2). So far, I have got this working.
What I want to do now is make each of my vlan interfaces connect to a DHCP server to get their own IP adresses on different networks, but here's the catch: each vlan interface needs to connect to a different DHCP server.
I figure that since there's only one default gateway on the machine, all DHCP requests are going to end up at one DHCP server, therefore making all 3 virtual vlan interfaces get an IP from the same network. I don't want this to happen.
I know that in FreeBSD, rc.conf can be edited so that an interface gets its IP from DHCP (for example, ifconfig_fxp0="DHCP"
Is there any way I can set up rc.conf to get each virtual interface to point to a different DHCP server? If not, is there some set of commands I can use to do this?