[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Correct way to configure network



Mimiko <vbvbrj@gmail.com> wrote:
> On one answer in Internet I've found this mode to configure bonding:

> auto bond0
> iface bond0 inet manual
>         down ip link set $IFACE down
>         post-down rmmod bonding
>         pre-up modprobe bonding mode=4 miimon=200
>         up ip link set $IFACE up mtu 9000
>         up udevadm trigger

> allow-hotplug eth0
> iface eth0 inet manual
>         up ifenslave bond0 $IFACE
>         down ifenslave -d bond0 $IFACE 2> /dev/null

> allow-hotplug eth1
> iface eth1 inet manual
>         up ifenslave bond0 $IFACE
>         down ifenslave -d bond0 $IFACE 2> /dev/null

That was the Ubuntu-way of doing things. This is not necessary in
Debian.

Your first method is fine.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: