ubuntu 9.04 : DNS problem

Patrick Asselman iceblink at seti.nl
Thu Jan 30 15:21:55 UTC 2014


On 2014-01-30 15:57, celati laurent wrote:
> Hello,
>
>  We have 2 network cards/cables eth0 and eth1. We make a bonding in
> order to have 2 gbits/second. We called this new connexion "bond0".
>  We are able to ping our switch and our router. But we can't ping the
> DNS of our Internet Service Provider. We have also an error message
> when we attempt to rester network services. And we can't open an
> internet webpage.
>
>  Please find below usefull configuration files ans commands :
>
>
> 
> ------------------------------------------------------------------------------------------
>
> commande /etc# sudo /etc/init.d/networking restart
>
>  root at jupiter2:/etc# sudo /etc/init.d/networking restart
>  * Reconfiguring network interfaces...
>  Ignoring unknown interface eth0=eth0.
>  Ignoring unknown interface eth1=eth1.
>  SIOCADDRT: File exists
>  Failed to bring up bond0.
>
>
> 
> -----------------------------------------------------------------------------------------
>  _FICHIER CD/ NETWORK/INTERFACES_
>
> auto lo
>
> iface lo inet loopback
>
> auto eth0 eth1 bond0
>
> iface bond0 inet static
>
>  address 192.xxx.x.xxx
>
>  netmask 255.255.255.0
>
>  broadcast 192.xxx.xxx.xxx
>
>  network 192.xxx.x.x
>
>  up /sbin/ifenslave bond0 eth0 eth1
>
>  down /sbin/ifenslave -d bond0 eth0 eth1
>
>  gateway 192.xxx.x.xxx
>
>  post-up iptables-restore < /etc/iptables.up.rules
>
> 
> --------------------------------------------------------------------------------------------

Looks like you forgot to define interface eth0 and eth1 before using 
them in the bond0 virtual interface definition.

Hope this helps: https://help.ubuntu.com/community/UbuntuBonding


Best regards,
Patrick Asselman




More information about the ubuntu-users mailing list