Re: [SLUG] network profiles

From: Russ Wright (rwrigh10@tampabay.rr.com)
Date: Fri Feb 27 2004 - 08:20:13 EST


On Friday 27 February 2004 6:54 am, Ronan Heffernan wrote:
>
> You could configure eth0:1 (a virtual interface) with your static IP and
> route before your dhcp client runs. If the dhcp client successfully gets
> an address, it should clobber your default route (and resolv.conf). If
> the dhcp client fails to get an address, then you are already set-up to
> use eth0:1. The only problem that comes to mind is if you use the same
> private address range at home and at work (e.g. 192.168.x.x) then you
> might have routing trouble between the two interfaces (in that case,
> just write a python script that checks for the eth0 IP to be 0.0.0.0 and
> if so, call 'ifconfig eth0:1 down').
>
> --ronan

Sounds good now how do I do this? What files do I edit? How do I create a
eth0:1?

Regards
Russ

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:15:33 EDT