ubuntu 9.04 : DNS problem

celati laurent lcelati at latitude-geosystems.com
Thu Jan 30 15:53:00 UTC 2014





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

--------------------------------------------------------------------------------------------

*/commande //ifconfig/
*

root at jupiter2:/etc/network# ifconfig

as0t0 Link encap:UNSPEC HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

inet addr:10.8.0.1 P-t-P:10.8.0.1 Mask:255.255.255.0

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


bond0 Link encap:Ethernet HWaddr 00:24:e8:6a:df:d9

inet addr:192.xxx.x.xxx Bcast:192.xxx.x.xxx Mask:255.255.255.0

inet6 addr: fe80::224:e8ff:fe6a:dfd9/64 Scope:Link

UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1

RX packets:2097693 errors:0 dropped:0 overruns:0 frame:0

TX packets:6782859 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:239680779 (239.6 MB) TX bytes:9959502359 (9.9 GB)


eth0 Link encap:Ethernet HWaddr 00:24:e8:6a:df:d9

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1046368 errors:0 dropped:0 overruns:0 frame:0

TX packets:3387953 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:118911729 (118.9 MB) TX bytes:4974335697 (4.9 GB)

Interrupt:36 Memory:da000000-da012700


eth1 Link encap:Ethernet HWaddr 00:24:e8:6a:df:d9

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1051325 errors:0 dropped:0 overruns:0 frame:0

TX packets:3394906 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:120769050 (120.7 MB) TX bytes:4985166662 (4.9 GB)

Interrupt:48 Memory:dc000000-dc012700


lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:1107396 errors:0 dropped:0 overruns:0 frame:0

TX packets:1107396 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:84890369 (84.8 MB) TX bytes:84890369 (84.8 MB)

<!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } -->
-------------------------------------------------------------------------------------------------------------------

*commande nm-tool*

root at jupiter2:/etc/network# nm-tool


NetworkManager Tool


State: disconnected


- Device: eth1

Type: Wired

Driver: bnx2

State: disconnected

Default: no

HW Address: 00:24:E8:6A:DF:D9


Capabilities:

Carrier Detect: yes

Speed: 1000 Mb/s


Wired Properties

Carrier: on


- Device: eth0

Type: Wired

Driver: bnx2

State: disconnected

Default: no

HW Address: 00:24:E8:6A:DF:D9


Capabilities:

Carrier Detect: yes

Speed: 1000 Mb/s


Wired Properties

Carrier: on

-------------------------------------------------------------------------------------

/*Fichier etc/Hosts*/

127.0.0.1 localhost

127.0.0.1 jupiter2


# The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters

ff02::3 ip6-allhosts

192.xxx.x.xxx metis

192.xxx.x.xxx jupiter2

192.xxx.x.xxx ganymede

192.xxx.x.xxx rhea

192.xxx.x.xxx callisto2

192.xxx.x.xxx europa

192.xxx.x.xxx amalthea

192.xxx.x.xxx io2

-----------------------------------------------------------------------------------------


*/etc RESOLV.conf*

# Generated by NetworkManager

servername 194.158.122.10

servername 194.158.122.15


-------------------------------------------------------------------------------------



According to you, where is the source of my problem?

Thank you very much.

Regards.

-- 
Laurent Celati -- Geospatial applications specialist - LATITUDE GEOSYSTEMS
47, avenue de la Division Leclerc - 95170 Deuil-la-Barre, FRANCE
Tel : + 33 (0)1 34 17 23 84 - Fax : + 33 (0) 1 39 64 04 86
mob : + 33 (0)6 xx xx xx xx
skype lcelati
E-mail :lcelati at latitude-geosystems.com
http://www.latitude-geosystems.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140130/e946c1d0/attachment.html>


More information about the ubuntu-users mailing list