Configuring Multiple Interfaces with Separate Parameters
I'm new to this forum but I've been using it as a resource for years.
I've just finished putting together a very small PC based on an Alix 3c3 system board. I'm using a miniPCI wifi card and the board has a built in ethernet port.
Now as I'm building up this PC towards a usable form, I am bringing the PC to work and back every day. I have a DSL line at work and no wireless, so I want to use the ethernet port to connect to the internet. At home I have wireless.
I am using iMediaLinux as it really is the only distro that completely supports the Alix system board. The distro has some issues with getting DHCP addresses, so I need to provide static details for the interfaces.
Since both routers use different IP addresses (10.0.0.x and 192.168.0.x) I need to provide separate static IPs, gateways and dns details. Can anyone provide some ideas on how to configure the network so that if the PC is connected with ethernet it uses one config and wifi another config?