OpenVZ Forum


Home » General » Support » Network Connectivity Loss on "Service Network Restart" (Network routes change on network reboot)
Network Connectivity Loss on "Service Network Restart" [message #51787] Tue, 09 December 2014 12:58 Go to next message
ANSASERVERS is currently offline  ANSASERVERS
Messages: 1
Registered: December 2014
Location: Australia
Junior Member
From: *vic.ausnetservers.net.au
Hi Guys,

We have been having issues with our OpenVZ for months now. We have been trying to find a soultion or at least someone else that is having the same issue as us but to date we have not been able to find anyone...

The issue is when the container is restarted the NETMASK (as shown below) reverts to a single IP Address on our 10.x.x.x IP range. Our public traffic runs through the other nic on the servers isnt effected.

Manually editing the file and amending it to "255.255.255.0" and restarting networking fixes the issue. Its clearly getting the config from somewhere... but where?

Also, we have an issue with our branch office being able to access any containers from ourside the network. This is because the gateway was set to 10.16.101.1 when we set these servers up and has since changed. We have changed the gateway on the nodes network config and rebooted but it is still doing it so there is a config issue somewhere

DEVICE=venet0:1
ONBOOT=yes
IPADDR=10.16.101.226
NETMASK=255.255.255.255

Can you guys lend a hand please


Regards,

Matthew Matters
Aus Net Servers Australia Pty Ltd
Re: Network Connectivity Loss on "Service Network Restart" [message #51789 is a reply to message #51787] Tue, 09 December 2014 18:45 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
From: *static.zebra.lt
have you checked this:
https://bugzilla.openvz.org/show_bug.cgi?id=1088

is it helpfull?
Re: Network Connectivity Loss on "Service Network Restart" [message #51790 is a reply to message #51787] Tue, 09 December 2014 18:48 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
From: *static.zebra.lt
Networking

--ipadd addr

Adds an IP address addr to a given container. Address can optionally have a netmask specified in the CIDR notation (e.g. 10.1.2.3/25). Note that this option is incremental, so addr are added to already existing ones.
Previous Topic: Enquiry on ploop and compact
Next Topic: Moving Container/Ploop to New Drive
Goto Forum:
  


Current Time: Mon Sep 24 19:06:13 GMT 2018