OpenVZ Forum


Home » General » Support » *SOLVED* gateway router cannot find VE
*SOLVED* gateway router cannot find VE [message #14228] Tue, 19 June 2007 23:14 Go to next message
eatingorange is currently offline  eatingorange
Messages: 6
Registered: June 2007
Location: Orange County, California
Junior Member
I'm having a problem with an OpenVZ installation. We're seeing about 5 to 10 percent packet loss to the VE from outside. It looks like the gateway router does not like us. We're using venet.

You can see from this ping a gap of about 30 packets:

64 bytes from 10.80.5.71: icmp_seq=1025 ttl=54 time=7.16 ms
64 bytes from 10.80.5.71: icmp_seq=1026 ttl=54 time=7.17 ms
...
64 bytes from 10.80.5.71: icmp_seq=1055 ttl=54 time=43.1 ms
64 bytes from 10.80.5.71: icmp_seq=1056 ttl=54 time=7.12 ms

During this gap, tcpdump from HN's eth0 (it's gateway interface) shows this interesting ARP activity:

10:27:24.933754 arp who-has 10.80.5.71 tell 10.80.5.65
10:27:25.390579 arp reply 10.80.5.71 is-at 00:30:48:34:a6:d8
10:27:26.933402 arp who-has 10.80.5.71 tell 10.80.5.65
10:27:27.432327 arp reply 10.80.5.71 is-at 00:30:48:34:a6:d8
10:27:28.933049 arp who-has 10.80.5.71 tell 10.80.5.65
10:27:29.060066 arp reply 10.80.5.71 is-at 00:30:48:34:a6:d8
10:27:30.932697 arp who-has 10.80.5.71 tell 10.80.5.65
10:27:31.273031 arp reply 10.80.5.71 is-at 00:30:48:34:a6:d8
10:27:32.641380 arp who-has 10.80.5.71 tell 10.80.5.65
10:27:33.144759 arp reply 10.80.5.71 is-at 00:30:48:34:a6:d8
10:27:33.932293 arp who-has 10.80.5.71 tell 10.80.5.65
10:27:34.014636 arp reply 10.80.5.71 is-at 00:30:48:34:a6:d8

The gateway router is repeatedly asking about .71 but for whatever reason, is either not seeing the response or is just plain ignoring it. Unfortunately, it's a service provider's device and it's been pretty difficult to get the type of support I need in order to figure this out.

Could this be a config problem on my side or his router just braindead? It's a Summit Extreme.

Thanks in advance for any insight anyone may have.

Eric

[Updated on: Wed, 27 June 2007 17:36] by Moderator

Report message to a moderator

Re: gateway router cannot find VE [message #14230 is a reply to message #14228] Wed, 20 June 2007 04:25 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hi. here is what I would do to narrow down the problem a bit

1) assign 10.80.5.71 as ethX:100 on your HN. duplicate the packet loss problem.

a) If no packet loss, come back to this forum and tell us as it is likely an openvz problem, and the devs will want to further analyze whats going on.

b) If the packet loss occurs again, reboot the HN into the non-vz kernel, turn up ethX:100 on 10.80.5.71. duplicate the packet loss problem. if the problem still occurs, its a problem on your network, possibly an ip conflict. if the problem does not occur, come back and post results on the forum as it may be an openvz related problem.

Rick Blundell


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters

[Updated on: Wed, 20 June 2007 04:25]

Report message to a moderator

Re: gateway router cannot find VE [message #14304 is a reply to message #14230] Fri, 22 June 2007 00:18 Go to previous messageGo to next message
eatingorange is currently offline  eatingorange
Messages: 6
Registered: June 2007
Location: Orange County, California
Junior Member
Hi Rick,

Thank you for taking time to respond. I followed your advice and added the second IP as a sub-interface on eth0. This worked with the stock kernel but not with the OpenVZ kernel.

Static ARP entries on the Summit layer 3 switch provided us with a kludge but I'm still curious if we are the only folks who have encountered this issue.

Thanks.

Eric
Re: gateway router cannot find VE [message #14305 is a reply to message #14304] Fri, 22 June 2007 03:40 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
so, let me verify

you booted your server into openvz kernel version XXXX, eth0 is assigned IP YYYY, subnet ZZZZ, gateway AAAA. eth0:100 is assigned IP 10.80.5.71, subnet BBBB, gateway CCCC. you let a long running ping to addresses 10.80.5.71 and XXXX from network DDDD/EEEE and there are times when IP 10.80.5.71 reports unreachable but YYYY is reachable?

is this correct? if so, please fill in missing letter. I would say if 10.80.5.71 and YYYY are on the same vlan/subnet, this is a rather amazing problem.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: gateway router cannot find VE [message #14425 is a reply to message #14305] Wed, 27 June 2007 16:40 Go to previous messageGo to next message
eatingorange is currently offline  eatingorange
Messages: 6
Registered: June 2007
Location: Orange County, California
Junior Member
Hi Rick,

It turns out the stock kernel was also exhibiting this problem so it is not an OpenVZ problem. It's intermittent and so happened the problem did not appear right away on the stock kernel. In fact static arp on the Summit switch only partially fixed the problem.

This problem was actually a feature/bug with the Summit switch. Sorry for the confusion. Troubleshooting a problem that only appears for a few minutes every few hours requires more than my default level of patience. Coupled with a strong desire to "see it fixed" I believed it was fixed, when in fact, it wasn't.

The only way we could truly solve this was to get off that Summit switch. I installed a Cisco router and had the ISP route our network via a /30. Everything works fine now. I still find it odd that multiple IPs on the NIC work while virtualization doesn't. Strange.

Thanks again for your time.

Eric
Re: gateway router cannot find VE [message #14428 is a reply to message #14425] Wed, 27 June 2007 17:12 Go to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
you are welcome. glad to hear it wasn't an openvz problem and that you could get it solved.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Previous Topic: *SOLVED* vzdump trouble with veid < 1000
Next Topic: Bridge inside a VE
Goto Forum:
  


Current Time: Wed May 08 15:21:39 GMT 2024

Total time taken to generate the page: 0.01899 seconds