Next-in-Thread Next Message

Question Configuring ethernet card based on interface allocated 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Jun 14
From: Paul Moore pmoore

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.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Sure it's possible... by David Hinds, 2000, Jun 14
(_ Ok Thanks - it's obvious now by Paul Moore, 2000, Jun 15

Add Message to: "Configuring ethernet card based on interface allocated"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10