Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: mgb on May 27, 2007, 04:24:21 PM

Title: help NIC Bonding Options
Post by: mgb on May 27, 2007, 04:24:21 PM
look here...
 http://bugs.contribs.org/show_bug.cgi?id=449
get

1
ifcfg-bond0
#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://wiki.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------

TYPE=Ethernet
DEVICE=bond0

USERCTL=no
ONBOOT=yes
PEERDNS=no

IPV6INIT=no

rem IPADDR=192.168.183.4

2 ifcfg-eth0

 Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------

TYPE=Ethernet
DEVICE=eth0

USERCTL=no
ONBOOT=yes
PEERDNS=no

IPV6INIT=no

MASTER=bond0
SLAVE=yes


BOOTPROTO=none

3 ifcfg-eth1

# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------

TYPE=Ethernet
DEVICE=eth1

BOOTPROTO=none

USERCTL=no
ONBOOT=yes
PEERDNS=no

IPV6INIT=no

# IPADDR=1.1.1.1

MASTER=bond0
SLAVE=yes


4


testbox:/# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
  get
 

5 network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=total5
GATEWAYDEV=bond0
GATEWAY=192.168.183.1
NOZEROCONF=yes

5 vi /etc/modules.conf


alias bond0 bonding


6  service network restart

Shutting down interface bond0:                             [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Disabling IPv4 packet forwarding:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface bond0:                               [  OK  ]
[root@total5 sysconfig]#

7  ifconfig|more
 
bond0     Link encap:Ethernet  HWaddr 00:01:02:1D:B5:D3
          inet addr:192.168.183.4  Bcast:192.168.183.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:5723 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3761 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1239483 (1.1 MiB)  TX bytes:470629 (459.5 KiB)

eth0      Link encap:Ethernet  HWaddr 00:01:02:1D:B5:D3
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:5437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3759 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1202059 (1.1 MiB)  TX bytes:470509 (459.4 KiB)
          Interrupt:201 Base address:0xbc00

eth1      Link encap:Ethernet  HWaddr 00:01:02:1D:B5:D3
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:286 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37424 (36.5 KiB)  TX bytes:120 (120.0 b)
          Interrupt:193 Base address:0xb800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:628 errors:0 dropped:0 overruns:0 frame:0
          TX packets:628 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:65551 (64.0 KiB)  TX bytes:65551 (64.0 KiB)


 reboot
login admin
l dont get NIC Bonding Options
to get  http://forums.contribs.org/index.php?topic=34722.msg150407#msg150407
nic bonding ?