Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I'm using CentOS 5.3 with bonding and VLAN tagging. If both NICs are enabled, I have "packet loss ~15%" and "duplicates" when I'm pinging. If "ifdown eth1" or "ifdown ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1

    CentOS - Bonding + 802.1q

    Hi,

    I'm using CentOS 5.3 with bonding and VLAN tagging.

    If both NICs are enabled, I have "packet loss ~15%" and "duplicates" when I'm pinging.

    If "ifdown eth1" or "ifdown eth0" --> then no problems with "packet loss" and "duplicates".

    /etc/modprobe.conf:
    Code:
    alias eth0 tg3
    alias eth1 tg3
    alias bond0 bonding
    alias scsi_hostadapter mptbase
    alias scsi_hostadapter1 mptsas
    alias scsi_hostadapter2 ata_piix
    install bond0 /sbin/modeprobe bonding -o bond0 mode=0
    /etc/sysconfig/network:
    Code:
    NETWORKING=yes
    NETWORKING_IPV6=no
    HOSTNAME=Servername
    VLAN=yes
    VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD
    /etc/sysconfig/network-scripts/:
    ifcfg-eth0:
    Code:
    DEVICE=eth0
    BOOTPROTO=none
    USERCTL=no
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes
    TYPE=Ethernet
    ifcfg-eth1:
    Code:
    DEVICE=eth1
    BOOTPROTO=none
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes
    TYPE=Ethernet
    ifcfg-bond0:
    Code:
    DEVICE=bond0
    ONBOOT=yes
    BOOTPROT=none
    USERCTL=no
    BOOTPROTO=none
    TYPE=BOND
    ifcfg-bond0.1 - VLAN1:
    Code:
    DEVICE=bond0.1
    IPADDR=xxx.xxx.xxx.xxx
    NETMASK=xxx.xxx.xxx.xxx
    NETWORK=xxx.xxx.xxx.xxx
    BROADCAST=xxx.xxx.xxx.xxx
    ONBOOT=yes
    BOOTPROT=none
    USERCTL=no
    BOOTPROTO=none
    TYPE=BOND
    VLAN=yes
    ifcfg-bond0.11 - VLAN11:
    Code:
    DEVICE=bond0.11
    IPADDR=xxx.xxx.xxx.xxx
    NETMASK=xxx.xxx.xxx.xxx
    NETWORK=xxx.xxx.xxx.xxx
    BROADCAST=xxx.xxx.xxx.xxx
    GATEWAY=xxx.xxx.xxx.xxx
    ONBOOT=yes
    BOOTPROT=none
    USERCTL=no
    BOOTPROTO=none
    TYPE=BOND
    VLAN=yes
    ifcfg-bond0.14 - VLAN14:
    Code:
    DEVICE=bond0.14
    IPADDR=xxx.xxx.xxx.xxx
    NETMASK=xxx.xxx.xxx.xxx
    NETWORK=xxx.xxx.xxx.xxx
    BROADCAST=xxx.xxx.xxx.xxx
    #GATEWAY=xxx.xxx.xxx.xxx
    ONBOOT=yes
    BOOTPROT=none
    USERCTL=no
    BOOTPROTO=none
    TYPE=BOND
    VLAN=yes
    Can someone help me?

    Tanks,
    Chris

  2. #2
    Just Joined!
    Join Date
    Apr 2010
    Posts
    69
    ombus [Chris],

    Did you ever figure this out. Just so happens, I'm working on this now.

    Thx,
    Nathan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...