[suse-sles-e] Changing IP address permanently

From: Andy Kar (andy.kar_at_gmail.com)
Date: Sat Jan 29 2005 - 18:22:52 CET


Message-ID: <f1efd96105012909222c50cab@mail.gmail.com>
Date: Sat, 29 Jan 2005 09:22:52 -0800
From: Andy Kar <andy.kar@gmail.com>
Subject: [suse-sles-e] Changing IP address permanently

I want to change IP addresses of a bunch of machines from the command line:

  # ip address add <ip> dev eth0

but how do I do it so it is still effective after reboot. I can set it
in the file
ifcfg-eth-id-<hex> but I cannot determine which file maps eth0 to it.

I've a couple of machines with 3-4 network cards. I want to know which
file/command maps these cards to the interfaces eth0, eth1 ..

For example the file "/etc/sysconfig/network/ifcfg-eth-id-00:11:43:d1:81:33"
maps to eth0 but I couldn't find the file where this is mapped.

Many thanks
Andy

---------------------------------------------------------------------
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 : Sat Jan 29 2005 - 18:23:03 CET