<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/index.php?action=history&amp;feed=atom&amp;title=Disappearing_routes_in_HN</id>
	<title>Disappearing routes in HN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/index.php?action=history&amp;feed=atom&amp;title=Disappearing_routes_in_HN"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;action=history"/>
	<updated>2026-06-03T20:56:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;diff=3699&amp;oldid=prev</id>
		<title>Kir: Networking: disappering routes in HN moved to Disappearing routes in HN: Fixed to typo + no need to put category in page name.</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;diff=3699&amp;oldid=prev"/>
		<updated>2007-12-03T15:39:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=Networking:_disappering_routes_in_HN&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Networking: disappering routes in HN (page does not exist)&quot;&gt;Networking: disappering routes in HN&lt;/a&gt; moved to &lt;a href=&quot;/Disappearing_routes_in_HN&quot; title=&quot;Disappearing routes in HN&quot;&gt;Disappearing routes in HN&lt;/a&gt;: Fixed to typo + no need to put category in page name.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:39, 3 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Kir</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;diff=3698&amp;oldid=prev</id>
		<title>Dev at 14:40, 3 December 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;diff=3698&amp;oldid=prev"/>
		<updated>2007-12-03T14:40:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:40, 3 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Debugging ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Debugging ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you still can find what happens with your network settings try to replace /sbin/ip and /sbin/route with scripts&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you still can&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'t &lt;/ins&gt;find what happens with your network settings try to replace /sbin/ip and /sbin/route with scripts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;logging the commands and programs which executed them and calling original binaries after that.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;logging the commands and programs which executed them and calling original binaries after that.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This will help to find the victim if it's some script. More robust but similar debug can be added&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This will help to find the victim if it's some script. More robust but similar debug can be added&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key openvzwikidb:diff::1.12:old-3697:rev-3698 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dev</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;diff=3697&amp;oldid=prev</id>
		<title>Dev: New page: == Problem statement ==  Sometimes people complain about VE-related routes disappering in HN.  These routes usually look like this:   # ip r l  &lt;skip&gt;  192.168.225.195 dev venet0  scope li...</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Disappearing_routes_in_HN&amp;diff=3697&amp;oldid=prev"/>
		<updated>2007-12-03T14:39:47Z</updated>

		<summary type="html">&lt;p&gt;New page: == Problem statement ==  Sometimes people complain about VE-related routes disappering in HN.  These routes usually look like this:   # ip r l  &amp;lt;skip&amp;gt;  192.168.225.195 dev venet0  scope li...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Problem statement ==&lt;br /&gt;
&lt;br /&gt;
Sometimes people complain about VE-related routes disappering in HN.&lt;br /&gt;
&lt;br /&gt;
These routes usually look like this:&lt;br /&gt;
&lt;br /&gt;
 # ip r l&lt;br /&gt;
 &amp;lt;skip&amp;gt;&lt;br /&gt;
 192.168.225.195 dev venet0  scope link&lt;br /&gt;
&lt;br /&gt;
and tell the kernel that IP address 192.168.225.195 belongs to venet0 device. Thus&lt;br /&gt;
packets with destination IP equal to 192.168.225.195 are forwarded to venet0 and&lt;br /&gt;
then to appropriate VE.&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
The problem is usually one of these:&lt;br /&gt;
# '''DHCP client'''. If your '''''host system''''' uses DHCP for acquiring IP address, then DHCP is for sure to blame. DHCP client tries to be smart and resets all the routes to those got from the server. Check your logs for DHCP re-lease events or other messages correlating with routes disappearing.&lt;br /&gt;
# '''Hotplug events'''. Modern Linux distros come with hotplug subsytem which tries to handle events like &amp;quot;new device found&amp;quot;, &amp;quot;device was unplugged&amp;quot;, etc. It also tries to be smart when LINK is DOWN/UP event from network device is received and can remove manually set routes. Check that your dmesg have anything related to this events. (AFAIK SUSE is the worst distro in this regard).&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
&lt;br /&gt;
If you still can find what happens with your network settings try to replace /sbin/ip and /sbin/route with scripts&lt;br /&gt;
logging the commands and programs which executed them and calling original binaries after that.&lt;br /&gt;
This will help to find the victim if it's some script. More robust but similar debug can be added&lt;br /&gt;
to kernel if first approach doesn't help.&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: Networking]]&lt;/div&gt;</summary>
		<author><name>Dev</name></author>
		
	</entry>
</feed>