Results 1 to 2 of 2
Hi folks,
Ubuntu 6.06 server amd64 - guest
Ubuntu 8.04 server amd64 - host
KVM
Guest can run "apt-get update/upgrade" but unable to ping Internet/gateway/host, 100% package loss
$ telnet ...
- 08-03-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Guest OS can't ping Internet
Hi folks,
Ubuntu 6.06 server amd64 - guest
Ubuntu 8.04 server amd64 - host
KVM
Guest can run "apt-get update/upgrade" but unable to ping Internet/gateway/host, 100% package loss
$ telnet localhost 25Code:Trying 127.0.0.1.... telnet: Unable to connect to remote host: Connection refused.
Guest;
$ cat /etc/network/interfacesCode:auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
$ ifconfigCode:eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56 inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: fe80::5054:ff:fe12:3456/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:175 errors:0 dropped:0 overruns:0 frame:0 TX packets:249 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:31829 (31.0 KiB) TX bytes:31819 (31.0 KiB) Interrupt:11 Base address:0x6000 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:41 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3156 (3.0 KiB) TX bytes:3156 (3.0 KiB)
Host;
$ cat /etc/network/interfacesCode:auto lo iface lo inet loopback auto eth0 iface eth0 inet manual # The primary network interface auto br0 iface br0 inet static address 192.168.0.110 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off
$ ifconfigCode:br0 Link encap:Ethernet HWaddr 00:0e:a6:f9:a3:5b inet addr:192.168.0.110 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20e:a6ff:fef9:a35b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:53674 errors:0 dropped:0 overruns:0 frame:0 TX packets:85945 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3310146 (3.1 MB) TX bytes:19758025 (18.8 MB) eth0 Link encap:Ethernet HWaddr 00:0e:a6:f9:a3:5b inet6 addr: fe80::20e:a6ff:fef9:a35b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:53674 errors:0 dropped:0 overruns:0 frame:0 TX packets:85946 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4061600 (3.8 MB) TX bytes:20372743 (19.4 MB) Interrupt:249 Base address:0x2000 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:84 errors:0 dropped:0 overruns:0 frame:0 TX packets:84 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7462 (7.2 KB) TX bytes:7462 (7.2 KB) vnet0 Link encap:Ethernet HWaddr 4a:e2:d1:69:60:1b inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 inet6 addr: fe80::48e2:d1ff:fe69:601b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
Please advise how to fix the problem. TIA
Remark: Iptables is NOT running
B.R.
satimis
- 08-04-2008 #2
sounds like dns problem, post exact error and
Code:cat /etc/resolv.conf


Reply With Quote