2018年5月24日 星期四

LEAF Bering-uClibc 6.1.2 Rev 1 Bond + VLan 設定

LEAF Bering-uClibc 6.1.2 Rev 1

1.修改 /etc/network/interfaces
auto eth0
iface eth0 inet manual
  bond-master bond0

auto eth1
iface eth1 inet manual
  bond-master bond0

auto bond0
iface bond0 inet static
#iface bond0 inet dhcp
        address 192.168.10.1
        netmask 255.255.255.0
        bond-slaves eth0 eth1
        bond-mode 6
        bond-miimon 100
        bond-downdelay 200
        bond-updelay 200

auto bond0.20
iface bond0.20 inet static
        address 192.168.20.1
        netmask 255.255.255.0
        broadcast 192.168.20.255

2./etc/modules 加入
bonding mode=6

3. /etc/default/local.start 加入
ifenslave bond0 eth0 eth1

沒有留言: