Chaim Rieger
2010-Jul-13 20:50 UTC
[CentOS-virt] incoming works out does not (prolly a newbie question)
host and guest both centos 5.5 network is 192.168.62.40 host is setup as follows [root at cloud2 ~]# ifconfig br0 Link encap:Ethernet HWaddr 00:1A:64:12:10:D9 inet addr:192.168.62.199 Bcast:192.168.63.255 Mask:255.255.254.0 inet6 addr: fe80::21a:64ff:fe12:10d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1705488 errors:0 dropped:0 overruns:0 frame:0 TX packets:1130086 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1103112199 (1.0 GiB) TX bytes:2544941783 (2.3 GiB) eth0 Link encap:Ethernet HWaddr 00:1A:64:12:10:D9 inet6 addr: fe80::21a:64ff:fe12:10d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1714601 errors:0 dropped:0 overruns:0 frame:0 TX packets:2243903 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1134903389 (1.0 GiB) TX bytes:2627513407 (2.4 GiB) Interrupt:90 Memory:c8000000-c8012800 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:10396 errors:0 dropped:0 overruns:0 frame:0 TX packets:10396 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8188566 (7.8 MiB) TX bytes:8188566 (7.8 MiB) virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:192.168.62.1 Bcast:192.168.62.255 Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:222 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:16218 (15.8 KiB) vnet0 Link encap:Ethernet HWaddr 9A:B0:F1:FE:9F:1C inet6 addr: fe80::98b0:f1ff:fefe:9f1c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:128 errors:0 dropped:0 overruns:0 frame:0 TX packets:1504 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:18288 (17.8 KiB) TX bytes:105343 (102.8 KiB) [root at cloud2 network-scripts]# cat ifcfg-eth0 # Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet DEVICE=eth0 #BOOTPROTO=static #BROADCAST=192.168.63.255 #HWADDR=00:1A:64:12:10:D9 #IPADDR=192.168.62.22 #NETMASK=255.255.254.0 #NETWORK=192.168.62.0 ONBOOT=yes BRIDGE=br0 [root at cloud2 network-scripts]# cat ifcfg-br0 # Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet TYPE=Bridge DEVICE=br0 #BOOTPROTO=static BROADCAST=192.168.63.255 #HWADDR=00:1A:64:12:10:D9 IPADDR=192.168.62.199 NETMASK=255.255.254.0 NETWORK=192.168.62.0 ONBOOT=yes KVM image is as follows [root at www ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ DEVICE=eth0 BOOTPROTO=none BROADCAST=192.168.63.255 HWADDR=54:52:00:04:00:1d IPADDR=192.168.62.14 NETMASK=255.255.254.0 NETWORK=192.168.62.0 ONBOOT=yes GATEWAY=192.168.62.40 TYPE=Ethernet i can access the kvm image from other hosts on the network , but the kvm image can not access anything except for the gateway what am i doing wrong here thanx
compdoc
2010-Jul-14 00:08 UTC
[CentOS-virt] incoming works out does not (prolly a newbie question)
I never work with that subnet so this may be a dumb thing to say, but isn't the 255.255.254.0 mask giving you 510 hosts, so the broadcast address should be higher than 255? The guest is using br0?> -----Original Message----- > From: centos-virt-bounces at centos.org [mailto:centos-virt- > bounces at centos.org] On Behalf Of Chaim Rieger > Sent: Tuesday, July 13, 2010 2:51 PM > To: centos-virt at centos.org > Subject: [CentOS-virt] incoming works out does not (prolly a newbie > question) > > host and guest both centos 5.5 > network is 192.168.62.40 > host is setup as follows > > > [root at cloud2 ~]# ifconfig > br0 Link encap:Ethernet HWaddr 00:1A:64:12:10:D9 > inet addr:192.168.62.199 Bcast:192.168.63.255Mask:255.255.254.0> inet6 addr: fe80::21a:64ff:fe12:10d9/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1705488 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1130086 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1103112199 (1.0 GiB) TX bytes:2544941783 (2.3 GiB) > > eth0 Link encap:Ethernet HWaddr 00:1A:64:12:10:D9 > inet6 addr: fe80::21a:64ff:fe12:10d9/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1714601 errors:0 dropped:0 overruns:0 frame:0 > TX packets:2243903 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:1134903389 (1.0 GiB) TX bytes:2627513407 (2.4 GiB) > Interrupt:90 Memory:c8000000-c8012800 > > 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:10396 errors:0 dropped:0 overruns:0 frame:0 > TX packets:10396 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:8188566 (7.8 MiB) TX bytes:8188566 (7.8 MiB) > > virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 > inet addr:192.168.62.1 Bcast:192.168.62.255 Mask:255.255.255.0 > inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:222 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:16218 (15.8 KiB) > > vnet0 Link encap:Ethernet HWaddr 9A:B0:F1:FE:9F:1C > inet6 addr: fe80::98b0:f1ff:fefe:9f1c/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:128 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1504 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:500 > RX bytes:18288 (17.8 KiB) TX bytes:105343 (102.8 KiB) > > [root at cloud2 network-scripts]# cat ifcfg-eth0 # Broadcom Corporation > NetXtreme II BCM5708 Gigabit Ethernet > DEVICE=eth0 > #BOOTPROTO=static > #BROADCAST=192.168.63.255 > #HWADDR=00:1A:64:12:10:D9 > #IPADDR=192.168.62.22 > #NETMASK=255.255.254.0 > #NETWORK=192.168.62.0 > ONBOOT=yes > BRIDGE=br0 > > [root at cloud2 network-scripts]# cat ifcfg-br0 # Broadcom Corporation > NetXtreme II BCM5708 Gigabit Ethernet TYPE=Bridge > DEVICE=br0 > #BOOTPROTO=static > BROADCAST=192.168.63.255 > #HWADDR=00:1A:64:12:10:D9 > IPADDR=192.168.62.199 > NETMASK=255.255.254.0 > NETWORK=192.168.62.0 > ONBOOT=yes > > KVM image is as follows > [root at www ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 > # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ > DEVICE=eth0 > BOOTPROTO=none > BROADCAST=192.168.63.255 > HWADDR=54:52:00:04:00:1d > IPADDR=192.168.62.14 > NETMASK=255.255.254.0 > NETWORK=192.168.62.0 > ONBOOT=yes > GATEWAY=192.168.62.40 > TYPE=Ethernet > > > i can access the kvm image from other hosts on the network , but the kvm > image can not access anything except for the gateway > > what am i doing wrong here > > thanx > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > http://lists.centos.org/mailman/listinfo/centos-virt
Seemingly Similar Threads
- Failed to terminate process X with SIGKILL: Device or resource busy
- cgroup for VM - does it work properly?
- incoming works out does not (prolly a newbiequestion)
- [SOLVED... prolly] Re: "installation source" specification for netinstall
- [SOLVED... prolly] Re: "installation source" specification for netinstall