Hi All, Domain 0 : Fedora 6 Guest 1: Fedora 6 Environment: Server and pc clients are in the same network(class c). Problem: pc can ping domain 0 and very good, no timeout. pc can ping Guest1, say 5 mins, then timeout for some mins, then can ping again. It is not stable at all. Guest1 can ping every pc very well. It is so strang! in config file: it is using ''xenbr0''. What I tried, In domain 0, I switched from eth0 to eth1, even worse:: guest1 can''t ping others either. The server is production DNS server, we are in painful now.... need help. Thanks in advance! x _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xin Chen
2007-Jun-06 23:57 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
Thanks Peter,
Here is some more details:
xen kernel : 2.6.18 fc6xen. I think it xen 3.03 version
Domain 0:
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:48:32:4F:94
inet addr:192.168.200.120 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe32:4f94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:209250 errors:0 dropped:0 overruns:0 frame:0
TX packets:154753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18710009 (17.8 MiB) TX bytes:373386899 (356.0 MiB)
eth1 Link encap:Ethernet HWaddr 00:30:48:32:4F:95
inet addr:192.168.200.120 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe32:4f95/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1691 errors:0 dropped:0 overruns:0 frame:0
TX packets:579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130445 (127.3 KiB) TX bytes:50127 (48.9 KiB)
Base address:0x2020 Memory:d8420000-d8440000
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:175021 errors:0 dropped:0 overruns:0 frame:0
TX packets:175021 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1648897712 (1.5 GiB) TX bytes:1648897712 (1.5 GiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:478654 errors:0 dropped:0 overruns:0 frame:0
TX packets:395207 errors:0 dropped:0 overruns:0 carrier:0
collisions:3713 txqueuelen:10
RX bytes:41492823 (39.5 MiB) TX bytes:399211362 (380.7 MiB)
Base address:0x2000 Memory:d8400000-d8420000
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:154796 errors:0 dropped:0 overruns:0 frame:0
TX packets:211115 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:373395245 (356.0 MiB) TX bytes:18960155 (18.0 MiB)
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:108324 errors:0 dropped:0 overruns:0 frame:0
TX packets:129226 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15655502 (14.9 MiB) TX bytes:13086898 (12.4 MiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:27647 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:2533884 (2.4 MiB) TX bytes:0 (0.0 b)
Guest 1:
ifconfig:
[root@stimpy ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:7D:FA:2C
inet addr:192.168.200.25 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe7d:fa2c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:310 errors:0 dropped:0 overruns:0 frame:0
TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34653 (33.8 KiB) TX bytes:38444 (37.5 KiB)
eth0:0 Link encap:Ethernet HWaddr 00:16:3E:7D:FA:2C
inet addr:203.111.95.220 Bcast:203.111.95.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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:15210 errors:0 dropped:0 overruns:0 frame:0
TX packets:15210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7076141 (6.7 MiB) TX bytes:7076141 (6.7 MiB)
Peter Braun wrote:
> Try to connect with crossover cable directly to the xen host server
> and check ping.
> What is the hardware? Which network card? Which xen version and kernel?
>
> Second check if there is not in use one MAC more times.
>
> I have had similar problem - was not able to ping 9th and more guest.
> The problem was on switch - limitation of 8 mac per Ethernet port.
>
> BR
>
> Peter
>
>
> 2007/6/6, Xin Chen <xcheney@allette.com.au>:
>
>> Hi All,
>>
>> Domain 0 : Fedora 6
>> Guest 1: Fedora 6
>> Environment: Server and pc clients are in the same network(class c).
>>
>> Problem:
>> pc can ping domain 0 and very good, no timeout.
>> pc can ping Guest1, say 5 mins, then timeout for some mins, then can
>> ping again. It is not stable at all.
>> Guest1 can ping every pc very well.
>> It is so strang!
>>
>> in config file: it is using ''xenbr0''.
>>
>> What I tried,
>> In domain 0, I switched from eth0 to eth1, even worse:: guest1
can''t
>> ping others either.
>>
>>
>> The server is production DNS server, we are in painful now....
>>
>> need help.
>>
>> Thanks in advance!
>>
>> x
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Xin Chen
2007-Jun-07 00:40 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
Peter Braun wrote:> Try to connect with crossover cable directly to the xen host server > and check ping. > What is the hardware? Which network card? Which xen version and kernel? > > Second check if there is not in use one MAC more times. > > I have had similar problem - was not able to ping 9th and more guest. > The problem was on switch - limitation of 8 mac per Ethernet port. > > BR > > Peter > > > 2007/6/6, Xin Chen <xcheney@allette.com.au>: > >> Hi All, >> >> Domain 0 : Fedora 6 >> Guest 1: Fedora 6 >> Environment: Server and pc clients are in the same network(class c). >> >> Problem: >> pc can ping domain 0 and very good, no timeout. >> pc can ping Guest1, say 5 mins, then timeout for some mins, then can >> ping again. It is not stable at all. >> Guest1 can ping every pc very well. >> It is so strang! >> >> in config file: it is using ''xenbr0''. >> >> What I tried, >> In domain 0, I switched from eth0 to eth1, even worse:: guest1 can''t >> ping others either. >> >> >> The server is production DNS server, we are in painful now.... >> >> need help. >> >> Thanks in advance! >> >> x >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xin Chen
2007-Jun-07 00:53 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
Sorry for the last empty post.... Actually I only have 1 guest on Xen Server. oh, by the way, I assign two ip for the guest1. Like: eth0 and eth0:0 one is for internal ip , the other is for external ip, they are using same mac address, is that alright? Peter Braun wrote:> Try to connect with crossover cable directly to the xen host server > and check ping. > What is the hardware? Which network card? Which xen version and kernel? > > Second check if there is not in use one MAC more times. > > I have had similar problem - was not able to ping 9th and more guest. > The problem was on switch - limitation of 8 mac per Ethernet port. > > BR > > Peter > > > 2007/6/6, Xin Chen <xcheney@allette.com.au>: > >> Hi All, >> >> Domain 0 : Fedora 6 >> Guest 1: Fedora 6 >> Environment: Server and pc clients are in the same network(class c). >> >> Problem: >> pc can ping domain 0 and very good, no timeout. >> pc can ping Guest1, say 5 mins, then timeout for some mins, then can >> ping again. It is not stable at all. >> Guest1 can ping every pc very well. >> It is so strang! >> >> in config file: it is using ''xenbr0''. >> >> What I tried, >> In domain 0, I switched from eth0 to eth1, even worse:: guest1 can''t >> ping others either. >> >> >> The server is production DNS server, we are in painful now.... >> >> need help. >> >> Thanks in advance! >> >> x >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xin Chen
2007-Jun-07 02:09 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
I use a laptop directly connect to the xen server (domain 0) using cross network cable. It works very well. I started the guest1, It also can ping the guest1 from my laptop. Does that mean the xen server can''t accept too many connections?? or because my switch/hub?? But other servers(not xen) are working fine. could some one help me? Xin Chen wrote:> Sorry for the last empty post.... > > Actually I only have 1 guest on Xen Server. > oh, by the way, I assign two ip for the guest1. Like: > eth0 and eth0:0 > one is for internal ip , the other is for external ip, > they are using same mac address, is that alright? > > Peter Braun wrote: > >> Try to connect with crossover cable directly to the xen host server >> and check ping. >> What is the hardware? Which network card? Which xen version and kernel? >> >> Second check if there is not in use one MAC more times. >> >> I have had similar problem - was not able to ping 9th and more guest. >> The problem was on switch - limitation of 8 mac per Ethernet port. >> >> BR >> >> Peter >> >> >> 2007/6/6, Xin Chen <xcheney@allette.com.au>: >> >>> Hi All, >>> >>> Domain 0 : Fedora 6 >>> Guest 1: Fedora 6 >>> Environment: Server and pc clients are in the same network(class c). >>> >>> Problem: >>> pc can ping domain 0 and very good, no timeout. >>> pc can ping Guest1, say 5 mins, then timeout for some mins, then can >>> ping again. It is not stable at all. >>> Guest1 can ping every pc very well. >>> It is so strang! >>> >>> in config file: it is using ''xenbr0''. >>> >>> What I tried, >>> In domain 0, I switched from eth0 to eth1, even worse:: guest1 can''t >>> ping others either. >>> >>> >>> The server is production DNS server, we are in painful now.... >>> >>> need help. >>> >>> Thanks in advance! >>> >>> x >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2007-Jun-07 14:43 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
On Do, Jun 07, 2007 at 10:53:54 +1000, Xin Chen wrote:> Sorry for the last empty post.... > > Actually I only have 1 guest on Xen Server. > oh, by the way, I assign two ip for the guest1. Like: > eth0 and eth0:0 > one is for internal ip , the other is for external ip, > they are using same mac address, is that alright? >Yes, it''s ok. ( by the way, I have noticed that you have specified the same ip address on two interfaces of you domain 0. I think the problem is not related to this, but this is incorrect. ) Please show # ifconfig # brctl show in the domain 0. As far as I understand, you can ping domain U from the PCs, but ping is not stable. Can you ping guest from domain 0? Can you ping your PC''s from the domain U? -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xin Chen
2007-Jun-08 00:37 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
Hi Igor,
Thanks for ur reply!
Ye, you are right. I changed the ip for eth1 to 121 now. Thanks.
Also I create another xen bridge for eth1 by using:
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1
Then change /etc/xen/xend-config.sxp with the following (network-script
my-network-script).
Then I assign the guest1 to xenbr1. You know what, it seems fine now.
Now I can ping eth0 and eth1 from any pc and looks great. what ''s the
reason????
it doesn''t explain anything, does it?
I attach the ifconfig and brctl show output here, Thanks again, Igor!
[root@XenServer ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:48:32:4F:94
inet addr:192.168.200.120 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe32:4f94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:545463 errors:0 dropped:0 overruns:0 frame:0
TX packets:450311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:46172559 (44.0 MiB) TX bytes:1018182090 (971.0 MiB)
eth1 Link encap:Ethernet HWaddr 00:30:48:32:4F:95
inet addr:192.168.200.121 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe32:4f95/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:180279 errors:0 dropped:0 overruns:0 frame:0
TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16126354 (15.3 MiB) TX bytes:16700 (16.3 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:981 errors:0 dropped:0 overruns:0 frame:0
TX packets:981 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2773584 (2.6 MiB) TX bytes:2773584 (2.6 MiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:610444 errors:0 dropped:0 overruns:0 frame:0
TX packets:827817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:52518284 (50.0 MiB) TX bytes:1041899184 (993.6 MiB)
Base address:0x2000 Memory:d8400000-d8420000
peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:815870 errors:0 dropped:0 overruns:0 frame:0
TX packets:641432 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:85911493 (81.9 MiB) TX bytes:82142431 (78.3 MiB)
Base address:0x2020 Memory:d8420000-d8440000
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:450340 errors:0 dropped:0 overruns:0 frame:0
TX packets:545473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1018188308 (971.0 MiB) TX bytes:46173242 (44.0 MiB)
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:254 errors:0 dropped:0 overruns:0 frame:0
TX packets:180279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16700 (16.3 KiB) TX bytes:16126354 (15.3 MiB)
vif2.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:632110 errors:0 dropped:0 overruns:0 frame:0
TX packets:755824 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:69421705 (66.2 MiB) TX bytes:77804847 (74.2 MiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:31706 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:5369454 (5.1 MiB) TX bytes:0 (0.0 b)
xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:96682 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:8348187 (7.9 MiB) TX bytes:0 (0.0 b)
[root@XenServer ~]# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no peth0
vif0.0
xenbr1 8000.feffffffffff no vif2.0
peth1
vif0.1
Igor Chubin wrote:
>On Do, Jun 07, 2007 at 10:53:54 +1000, Xin Chen wrote:
>
>
>>Sorry for the last empty post....
>>
>>Actually I only have 1 guest on Xen Server.
>>oh, by the way, I assign two ip for the guest1. Like:
>>eth0 and eth0:0
>>one is for internal ip , the other is for external ip,
>>they are using same mac address, is that alright?
>>
>>
>>
>
>Yes, it''s ok.
>
>(
>by the way, I have noticed that you have specified
>the same ip address on two interfaces of you domain 0.
>I think the problem is not related to this,
>but this is incorrect.
>)
>
>
>Please show
>
># ifconfig
># brctl show
>
>in the domain 0.
>
>
>As far as I understand, you can ping domain U from the PCs,
>but ping is not stable.
>
>Can you ping guest from domain 0?
>
>Can you ping your PC''s from the domain U?
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Igor Chubin
2007-Jun-08 07:14 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
On Fr, Jun 08, 2007 at 10:37:14 +1000, Xin Chen wrote:> Hi Igor, > > Thanks for ur reply! > > Ye, you are right. I changed the ip for eth1 to 121 now. Thanks. >It''s better now but you''ve better not use IP addresses from same IP-network on several interfaces. If you necessarily must use IP-addresses from one IP-network, it''s better to specify netmask /32 on all of them except one.> Also I create another xen bridge for eth1 by using: > > #!/bin/sh > dir=$(dirname "$0") > "$dir/network-bridge" "$@" vifnum=0 > "$dir/network-bridge" "$@" vifnum=1 > > Then change /etc/xen/xend-config.sxp with the following (network-script > my-network-script). > > > Then I assign the guest1 to xenbr1. You know what, it seems fine now. > Now I can ping eth0 and eth1 from any pc and looks great. what ''s the > reason???? > it doesn''t explain anything, does it? >You talk about eth0 and eth1 of domain 0, but can you ping guests?> I attach the ifconfig and brctl show output here, Thanks again, Igor! >Thank you for commands output. It looks good -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xin Chen
2007-Jun-08 08:18 UTC
Re: [Xen-users] Guest Network Some can Ping, Some can''t Ping
Hi Igor, Thanks for your advice! And /32 is really good idea. I never know that. Ye, I can ping guest now. It seems the eth0 is the problem, hardware problem I guess. .. Thanks a lot! It is 6 pm here. I get to go home:) Cheers! x Igor Chubin wrote:>On Fr, Jun 08, 2007 at 10:37:14 +1000, Xin Chen wrote: > > >>Hi Igor, >> >>Thanks for ur reply! >> >>Ye, you are right. I changed the ip for eth1 to 121 now. Thanks. >> >> >> > >It''s better now but >you''ve better not use IP addresses from same IP-network >on several interfaces. > >If you necessarily must use IP-addresses from one IP-network, >it''s better to specify netmask /32 on all of them except one. > > > > >>Also I create another xen bridge for eth1 by using: >> >>#!/bin/sh >>dir=$(dirname "$0") >>"$dir/network-bridge" "$@" vifnum=0 >>"$dir/network-bridge" "$@" vifnum=1 >> >>Then change /etc/xen/xend-config.sxp with the following (network-script >>my-network-script). >> >> >>Then I assign the guest1 to xenbr1. You know what, it seems fine now. >>Now I can ping eth0 and eth1 from any pc and looks great. what ''s the >>reason???? >>it doesn''t explain anything, does it? >> >> >> > > >You talk about eth0 and eth1 of domain 0, >but can you ping guests? > > > > >>I attach the ifconfig and brctl show output here, Thanks again, Igor! >> >> >> > >Thank you for commands output. >It looks good > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users