| Toby Inkster 2005-08-18, 2:46 am |
| [[I don't normally top-post, or reply to my own posts, but thought I'd
expand the list of newsgroups to which this was posted without starting
a new thread.]]
Toby Inkster wrote:
> Dear all,
>
> Having a little trouble setting up bonded networking in Debian.
>
> =================== /etc/network/interfaces ===================
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # Single network interface
> auto eth0
> iface eth0 inet static
> address 192.168.100.106
> netmask 255.255.255.0
> network 192.168.100.0
> broadcast 192.168.100.255
> gateway 192.168.100.254
> # dns-* options are implemented by the resolvconf package, if installed
> dns-nameservers 193.113.209.14
> dns-search example.org
>
> # Bonded network interface
> iface bond0 inet static
> address 192.168.100.106
> netmask 255.255.255.0
> network 192.168.100.0
> broadcast 192.168.100.255
> gateway 192.168.100.254
> up ifenslave bond0 eth0
> up ifenslave bond0 eth1
> post-down inconfig eth0 down
> post-down inconfig eth1 down
> # dns-* options are implemented by the resolvconf package, if installed
> dns-nameservers 193.113.209.14
> dns-search example.org
> ========================================
=======================
>
> When I take down eth0 and run "ifconfig bond0 up", I get the following
> error message:
>
> bond0: ERROR while getting interface flags: No such device
>
> and "ifconfig" then shows only "lo" up. There's nothing vaguely useful in
> /var/log/.
>
> "uname -a" says:
> Linux nctps006 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux
>
> "cat /etc/debian_version" says:
> 3.1
>
> Both cards work fine unbonded.
>
> Does anyone have any ideas, or a pointer to a good tutorial on bonded
> networking and/or Debian networking?
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
|