sohny |
01-28-2012 03:27 AM |
Virt-Manager: Guests not able to ping each other
I m new to using the virt-manager & KVM setup . I used virt-manager to create two guests (both CentOS). My problem is that I am not able to ping between the guests.
The following is the network configuration:
My Host :
Code:
sohny@ThinkPadOffice:~$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr ff:de:f1:25:CE:d6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:46990 errors:0 dropped:0 overruns:0 frame:0
TX packets:54899 errors:260 dropped:0 overruns:0 carrier:260
collisions:702 txqueuelen:1000
RX bytes:33283667 (33.2 MB) TX bytes:30675528 (30.6 MB)
Interrupt:20 Memory:f2400000-f2420000
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:56481 errors:0 dropped:0 overruns:0 frame:0
TX packets:56481 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20440352 (20.4 MB) TX bytes:20440352 (20.4 MB)
virbr0 Link encap:Ethernet HWaddr fe:54:00:6b:57:0d
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:93 errors:0 dropped:0 overruns:0 frame:0
TX packets:239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19969 (19.9 KB) TX bytes:36488 (36.4 KB)
vnet0 Link encap:Ethernet HWaddr fe:54:00:6b:57:0d
inet6 addr: fe80::fc54:ff:fe6b:570d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:1024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:8498 (8.4 KB) TX bytes:66125 (66.1 KB)
vnet1 Link encap:Ethernet HWaddr fe:54:00:bb:3b:07
inet6 addr: fe80::fc54:ff:febb:3b07/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:1014 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:6291 (6.2 KB) TX bytes:65359 (65.3 KB)
My Guest 1: Cent OS 1
Code:
eth2 Link encap:Ethernet HWaddr 52:54:00:BB:3B:07
inet addr:192.168.122.81 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:febb:3b07/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:303 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34758 (33.9 KiB) TX bytes:14965 (14.6 KiB)
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr0 Link encap:Ethernet HWaddr 52:54:00:60:20:D4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:3855 (3.7 KiB)
My Guest2 : CentOS 2
Code:
eth2 Link encap:Ethernet HWaddr 52:54:00:6B:57:0D
inet addr:192.168.122.247 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe6b:570d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:314 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34066 (33.2 KiB) TX bytes:14210 (13.8 KiB)
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr0 Link encap:Ethernet HWaddr 52:54:00:60:20:D4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5002 (4.8 KiB)
I am able to ping the Guests from my Host ( Ubuntu ) but I am not able to ping one guest from another.
Please let me know what I am missing.
|