Cloning a Suse 10 Partition & Ethernet problems
Hi! I'm trying to clone a Suse 10 partition to various nodes in a cluster, but I have a problem with the network interfaces. The installation I need to clone has one eth interface, which gets the ip by dhcp. The original node works great, but when I try to boot the cloned nodes, they seem to look for the original eth interface, with a specific MAC. Does any body know if SuSe links each interface configuration with it's MAC, o something like that? Or what's the problem? Thanks in advance, Ignacio.
On 12/19/05, Ignacio Verona <nacho@estudio-verona.com> wrote:
Hi! I'm trying to clone a Suse 10 partition to various nodes in a cluster, but I have a problem with the network interfaces. The installation I need to clone has one eth interface, which gets the ip by dhcp. The original node works great, but when I try to boot the cloned nodes, they seem to look for the original eth interface, with a specific MAC. Does any body know if SuSe links each interface configuration with it's MAC, o something like that? Or what's the problem?
Thanks in advance, Ignacio.
Yes, it does. Look at /etc/sysconfig/network. You'll see there that the script files which bring up/down interfaces are tied to the mac address. so, most probably you'll need to reconfigure the network cards on every node. Cheers -- -- Svetoslav Milenov (Sunny)
Really?? You mean I will have to reconfigure each node by hand? that's a pain! I hope any other alternative exists... Thanks any way Sunny, I'll continue looking for info, and please, if any one knows about this, will be appreciated :) Sunny wrote:
On 12/19/05, Ignacio Verona <nacho@estudio-verona.com> wrote:
Hi! I'm trying to clone a Suse 10 partition to various nodes in a cluster, but I have a problem with the network interfaces. The installation I need to clone has one eth interface, which gets the ip by dhcp. The original node works great, but when I try to boot the cloned nodes, they seem to look for the original eth interface, with a specific MAC. Does any body know if SuSe links each interface configuration with it's MAC, o something like that? Or what's the problem?
Thanks in advance, Ignacio.
Yes, it does. Look at /etc/sysconfig/network. You'll see there that the script files which bring up/down interfaces are tied to the mac address.
so, most probably you'll need to reconfigure the network cards on every node.
Cheers -- -- Svetoslav Milenov (Sunny)
On 12/19/05 5:34 PM, "Ignacio Verona" <nacho@estudio-verona.com> wrote:
Really?? You mean I will have to reconfigure each node by hand? that's a pain! I hope any other alternative exists...
Thanks any way Sunny, I'll continue looking for info, and please, if any one knows about this, will be appreciated :)
Sunny wrote:
On 12/19/05, Ignacio Verona <nacho@estudio-verona.com> wrote:
Hi! I'm trying to clone a Suse 10 partition to various nodes in a cluster, but I have a problem with the network interfaces. The installation I need to clone has one eth interface, which gets the ip by dhcp. The original node works great, but when I try to boot the cloned nodes, they seem to look for the original eth interface, with a specific MAC. Does any body know if SuSe links each interface configuration with it's MAC, o something like that? Or what's the problem?
Thanks in advance, Ignacio.
Yes, it does. Look at /etc/sysconfig/network. You'll see there that the script files which bring up/down interfaces are tied to the mac address.
so, most probably you'll need to reconfigure the network cards on every node.
Cheers
There are two different forms that both work for the files in /etc/sysconfig/network One is ifcfg-eth-XX-XX-XX-XX-XX-XX -- that is, a config by MAC address. The other is ifcfg-eth0, ifcfg-eth1, and so on. You should be able to move the config from ifcfg-eth-XX... To ifcfg-eth0, and go from there. (Note: I'm not sure whether YaST's management of the network cards breaks by doing this; I manage my network interfaces by hand, precisely because of the situation noted by the OP.)
Thanks! I'll try that tomorrow I post the results. I hope that works! Regards, Ignacio.
On Mon, 19 Dec 2005 17:38:42 -0500, you wrote:
On 12/19/05 5:34 PM, "Ignacio Verona" <nacho@estudio-verona.com> wrote:
Really?? You mean I will have to reconfigure each node by hand? that's a pain! I hope any other alternative exists...
Thanks any way Sunny, I'll continue looking for info, and please, if any one knows about this, will be appreciated :)
Sunny wrote:
On 12/19/05, Ignacio Verona <nacho@estudio-verona.com> wrote:
Hi! I'm trying to clone a Suse 10 partition to various nodes in a cluster, but I have a problem with the network interfaces. The installation I need to clone has one eth interface, which gets the ip by dhcp. The original node works great, but when I try to boot the cloned nodes, they seem to look for the original eth interface, with a specific MAC. Does any body know if SuSe links each interface configuration with it's MAC, o something like that? Or what's the problem?
Thanks in advance, Ignacio.
Yes, it does. Look at /etc/sysconfig/network. You'll see there that the script files which bring up/down interfaces are tied to the mac address.
so, most probably you'll need to reconfigure the network cards on every node.
Cheers
There are two different forms that both work for the files in /etc/sysconfig/network
One is ifcfg-eth-XX-XX-XX-XX-XX-XX -- that is, a config by MAC address.
The other is ifcfg-eth0, ifcfg-eth1, and so on.
You should be able to move the config from ifcfg-eth-XX... To ifcfg-eth0, and go from there.
(Note: I'm not sure whether YaST's management of the network cards breaks by doing this; I manage my network interfaces by hand, precisely because of the situation noted by the OP.)
If you have two of the same NIC in the system, this will be a problem (opens the door to the random reassignment of eth0/1) otherwise it should be ok. Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
participants (4)
-
Ian Marlier
-
Ignacio Verona
-
Michael W Cocke
-
Sunny