Re: [suse-sles-e] Changing IP address permanently

From: Victor Hugo dos Santos (victorhugops_at_cass.cl)
Date: Mon Jan 31 2005 - 13:46:52 CET


Date: Mon, 31 Jan 2005 09:46:52 -0300
From: Victor Hugo dos Santos <victorhugops@cass.cl>
Message-Id: <20050131094652.13ed1f4f@victorhugo.cass.cl>
Subject: Re: [suse-sles-e] Changing IP address permanently

Historiadores creen que en la fecha Sat, 29 Jan 2005 22:01:30 +0100
"J.H.M. Dassen (Ray)" <rdassen@novell.com> escribio:

> On Sat, Jan 29, 2005 at 10:02:22 -0800, Andy Kar wrote:
> > Thanks for the answer. But for multiple NIC cards how is eth0, eth1
> > assigned to the different NIC cards.
>
> AFAIK that assignment is dependent on the order of initialisation of the
> ethernet drivers; with the SLES kernel, these drivers are built as modules,
> so you can change the assignment by changing the kernel module load order.
>
> This is all under the assumption that all your NICs need distinct drivers. I
> don't know how things are handled when two or more NICs require the same
> driver; I'd guess in PCI bus ID or IRQ order, though I can imagine that it'd
> depend on the specific driver.

in theory, work like this.

more, in 2 opportunity (2 distinct machines) the order of NIC change !!!
mmmm... the suse support not find the "why", more to believe in one upgrade of kernel !!! :-(

now, IMHO, it (the aleatory order of NIC) isn't the bester solution. i have scripts/softwares that to do reference with eth/wlan/ppp[0,1,2] and after the change of NIC, softwares (for example: webalizer) lost the data. :-(

finding in the net, i look two possibility for moment:

1 - use the variables "ETHERDEVICE"...
in the ifup(8) manual page, this variable is recommended only for vlan interfaces.

2 - rename the file name of ifcfg-eth_MAC_OF_NIC for ifcfg-eth[0,1,2].

mmm.. the option 1 work fine, option 2 i don't test !!! ;-)

any observations ???

bye

-- 
Victor Hugo dos Santos
Linux Counter #224399
Puerto Montt - Chile
Antes era indeciso, ahora no estoy tan seguro.
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com


This archive was generated by hypermail 2.1.7 : Mon Jan 31 2005 - 13:47:55 CET