I have a laptop with two ethernet cards - one in the docking station and one on a PCMCIA card. I have a fixed IP address allocated to the laptop, and a DHCP server available to me.
What I'd like to do is to have the docking station card get the fixed address whenever I'm docked, and the PCMCIA card get it when I'm not docked.
I can do this with schemes, but that means that I have to select manually on boot-up.
What I'd prefer is to say to the PCMCIA setup, "if the ethernet card is allocated to eth0, give it the fixed IP address, otherwise grab an address via DHCP". This way, when I'm docked, the docking station card gets eth0 (as its module is loaded first, on boot-up) and the PCMCIA card gets eth1 and looks on DHCP (and almost certainly gets nothing, as there will be no cable connected). When I'm undocked, the PCMCIA card gets eth0 and the fixed IP address.
Is this possible? And if not, is it a reasonable thing to request as a new feature?
Thanks, Paul Moore.
[ Edit This Forum ]