Mailinglist Archive: opensuse-autoinstall (62 mails)

< Previous Next >
Re: [opensuse-autoinstall] Autoyast bond networks
  • From: Alexander Hofmann <alh1987@xxxxxxxxxxxxx>
  • Date: Mon, 10 Mar 2008 18:26:03 +0100
  • Message-id: <47D56F2B.8040301@xxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michal Zugec wrote:
Stephens, Bill {PBSG} wrote / napĂ­sal(a):
Is there a way to set up 2 bond networks using 4 nic's through autoyast,
without knowing the macaddresses ahead of time? Our config is 2
broadcom onboard nics, and a dual port Intel PCI nic. The goal is to
bond the first ports (eth0 and eth2) to our intranet lan, and the second
ports (eth1 and 3) to a private subnet.


This is possible from openSUSE-11.0 and later. Until this (the question
is probably about SLES10-SPx) there is no way to have persisten names
for network devices. You can use PERSISTENT_NAME option, but there are
some problematic issues.
You can use configuration names ifcfg-eth0 instead of
ifcfg-eth-id-12:23:34:45:56:67 but order of ethX will be set up randomly.


You can use the PCI-IDs to rename the Interfaces:
#chroot-script
cat <<EOF > /mnt/etc/udev/rules.d/30-net_persistent_names.rules
SUBSYSTEM=="net", ACTION=="add", ID=="0000:06:00.0",
IMPORT="/lib/udev/rename_netiface %k eth0"
SUBSYSTEM=="net", ACTION=="add", ID=="0000:06:00.1",
IMPORT="/lib/udev/rename_netiface %k eth1"
SUBSYSTEM=="net", ACTION=="add", ID=="0000:04:01.0",
IMPORT="/lib/udev/rename_netiface %k eth2"
SUBSYSTEM=="net", ACTION=="add", ID=="0000:04:01.1",
IMPORT="/lib/udev/rename_netiface %k eth3"
EOF

Works with SLES10 SP1.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFH1W8qK86mLtuNvScRAl59AJ4xKioQebRAYqH4Iykx44wcO2KpuACfYvkE
Fb8dh6YrTV0DrWA9F86rczo=
=6c35
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages