could somebody who uses bonding share their interfaces file?

john lists.john at gmail.com
Fri Dec 4 22:47:33 GMT 2009


Hello all,

Just a follow up to my own post in case someone has the same problem
in the future. The fix seems to be
to add the lines:

auto eth4
auto eth5

(the two interfaces I want to bond) to the /etc/network/interfaces
file. I also disabled dhcdbd  in /etc/rc2/d

Hope this helps someone else!

Thanks!

John

On Thu, Dec 3, 2009 at 12:28 PM, john <lists.john at gmail.com> wrote:
> Hi all,
>
> I am trying to make nic bonding work correctly on my server.  I followed
> this howto http://www.howtoforge.com/network_bonding_ubuntu_6.10
> to get it working but I am having trouble.
>
> The bond comes up, but only after the individual interfaces have come up and
> and one of them has become a dhcp client and overwritten the
> /etc/resolv.conf file and added
> incorrect routes into the routing table. I have been trying to figure
> out how to tell these interfaces
> not to grab info via dhcp.
>
> So far I've added a line in /etc/network/interfaces that reads
>
> "iface eth4 static" and  "iface eth5 static" that didn't work. Then I
> tried  "iface eth5 manual" and "iface eth5 manual" that didn't have
> the desired effect either.
>
> I hope someone can share a copy of a working interfaces file with me
> so I can get this figured out.
>
> Here's my /etc/network/interfaces file:
>
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth3
> iface eth3 inet static
>        address 10.110.0.105
>        netmask 255.255.0.0
>        network 10.110.0.0
>        broadcast 10.110.255.255
>        gateway 10.110.0.1
>
> auto bond0
> iface bond0 inet static
>   address 192.168.0.254
>   netmask 255.255.255.0
>   network 192.168.0.0
>   broadcast 192.168.0.255
>   post-up ifenslave bond0 eth4 eth5
>



More information about the edubuntu-users mailing list