Mailinglist Archive: opensuse-autoinstall (49 mails)
| < Previous | Next > |
[opensuse-autoinstall] NIC bonding/teaming
- From: "Doctor Who" <whodoctor@xxxxxxxxx>
- Date: Tue, 26 Jun 2007 07:13:16 -0400
- Message-id: <4b75340e0706260413p3e3ecc1anfd0c0867129667bf@xxxxxxxxxxxxxx>
On 6/25/07, Michael T. Halligan <michael@xxxxxxxxxxxx> wrote:
Thanks, so this is just inserted into the auto.xml file rather than
used as a post-install script?
Also, can you resend the text as an attachment as the formatting
appears a bit messed up in the body of the message?
Thanks again!
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
On Jun 25, 2007, at 5:15 PM, Doctor Who wrote:
> Can NIC bonding/teaming be accomplish using AutoYaST? I imagine this
> would be done with a post-install script. Assuming there were 2
> 10/100 NICs (normally eth0 & eth1) what might this look like?
Here's my hack to do this:
<files config:type="list">
<file>
<file_contents><![CDATA[BOOTPROTO='NONE'
MTU='9000'
NAME='Hewlett-Packard Company NetXtreme BCM5721 Gigabit Ethernet PCI
Express'
STARTMODE='off'
UNIQUE='rBUF.5sChhDFnqQ7'
_nm_name='bus-pci-0000:02:00.0'
]]></file_contents>
<file_owner>root</file_owner>
<file_path>/etc/sysconfig/network/ifcfg-eth0</file_path>
<file_permissions>644</file_permissions>
</file>
<file>
<file_contents><![CDATA[BOOTPROTO='NONE'
MTU='9000'
NAME='Hewlett-Packard Company NetXtreme BCM5721 Gigabit Ethernet PCI
Express'
STARTMODE='off'
UNIQUE='JNkJ.5sChhDFnqQ7'
_nm_name='bus-pci-0000:03:00.0'
]]></file_contents>
<file_owner>root</file_owner>
<file_path>/etc/sysconfig/network/ifcfg-eth1</file_path>
<file_permissions>644</file_permissions>
</file>
<file>
<file_contents><![CDATA[STARTMODE='onboot'
BOOTPROTO='static'
IPADDR='10.1.108.51/24'
BONDING_MASTER='yes'
BONDING_SLAVE_0='eth0' # you can use eth0 here, too
BONDING_SLAVE_1='eth1' # or eth1
BONDING_MODULE_OPTS='mode=1 primary=eth1 arp_interval=1000
arp_ip_target=+10.1.108.1' # backup mode
]]></file_contents>
<file_owner>root</file_owner>
<file_path>/etc/sysconfig/network/ifcfg-bond0</file_path>
<file_permissions>644</file_permissions>
</file>
>/files>
Thanks, so this is just inserted into the auto.xml file rather than
used as a post-install script?
Also, can you resend the text as an attachment as the formatting
appears a bit messed up in the body of the message?
Thanks again!
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |