<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Локальный трафик в обход роутера]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=12490&amp;type=atom" />
	<updated>2011-04-04T12:08:16Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=12490</id>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164570#p164570" />
			<content type="html"><![CDATA[<p>во, сначала надо добавить этот<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.26.168.1 dev eth1</div><br />а потом удалять другие smile</p><p>и осталось всего 3</p><div class="codebox"><pre><code>Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     10     0        0 eth0
10.0.0.0        10.26.168.1     255.0.0.0       UG    0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    10     0        0 eth0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T12:08:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164570#p164570</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164566#p164566" />
			<content type="html"><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@redgy92 redgy92]# route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.26.168.1<br />SIOCADDRT: Нет такого процесса</div><br />один хрен</p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T12:06:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164566#p164566</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164565#p164565" />
			<content type="html"><![CDATA[<p>Зачем указываешь устройство)<br />route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.26.168.1</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-04-04T12:05:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164565#p164565</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164563#p164563" />
			<content type="html"><![CDATA[<p>прям так и прописал<br /></p><div class="codebox"><pre><code>route del -net 169.254.0.0 netmask 255.255.0.0 dev eth0
route del -net 169.254.0.0 netmask 255.255.0.0 dev eth1
route del -net 10.26.168.0 netmask 255.255.248.0 dev eth1
route del default eth1</code></pre></div><p>но самый главный маршрут не хочет</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@redgy92 redgy92]# route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.26.168.1 dev eth1<br />SIOCADDRT: Нет такого процесса<br /></div></p><p>что за ***??? первый раз прописался а второй раз не хочет........ <img src="https://linuxforum.ru/img/smilies/ah.gif" alt="ah" /></p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T12:02:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164563#p164563</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164549#p164549" />
			<content type="html"><![CDATA[<p>значиться в мандриве тоже есть) а покажика что прописал</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-04-04T11:37:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164549#p164549</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164546#p164546" />
			<content type="html"><![CDATA[<p>с ним работает и без него работает&nbsp; smile <br />а роуты прописываются тоже в rc.local</p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T11:35:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164546#p164546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164539#p164539" />
			<content type="html"><![CDATA[<p>Теперь ды ток вот эт лишнее<br />10.26.168.0&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.248.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;10&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth1</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-04-04T11:30:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164539#p164539</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164536#p164536" />
			<content type="html"><![CDATA[<p>вотЪ все прекрасно пашет&nbsp; smile <br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>[root@redgy92 redgy92]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     10     0        0 eth0
10.26.168.0     0.0.0.0         255.255.248.0   U     10     0        0 eth1
10.0.0.0        10.26.168.1     255.0.0.0       UG    0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    10     0        0 eth0
[root@redgy92 redgy92]# traceroute linuxforum.ru
traceroute to linuxforum.ru (188.120.241.125), 30 hops max, 60 byte packets
 1  192.168.0.1 (192.168.0.1)  0.931 ms  1.160 ms  1.434 ms
 2  85.21.66.249 (85.21.66.249)  13.356 ms  13.676 ms  13.939 ms
 3  85.21.66.216 (85.21.66.216)  14.209 ms  14.543 ms  14.805 ms
 4  85.26.172.157 (85.26.172.157)  15.073 ms  15.331 ms  15.577 ms
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  m9.webdc.ru (193.232.245.87)  21.275 ms  20.977 ms  21.508 ms
10  linuxforum.ru (188.120.241.125)  18.206 ms  20.598 ms  21.746 ms
[root@redgy92 redgy92]# traceroute bestrealease.no-ip.org
traceroute to bestrealease.no-ip.org (10.26.184.3), 30 hops max, 60 byte packets
 1  10.26.168.1 (10.26.168.1)  1.402 ms  2.102 ms  2.893 ms
 2  10.133.34.145 (10.133.34.145)  1.238 ms  1.984 ms  2.727 ms
 3  10.133.34.149 (10.133.34.149)  1.722 ms  2.493 ms  3.277 ms
 4  10.133.34.154 (10.133.34.154)  1.268 ms  2.017 ms  2.776 ms
 5  10.26.184.3 (10.26.184.3)  0.375 ms  0.409 ms  0.409 ms
[root@redgy92 redgy92]# </code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T11:26:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164536#p164536</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164523#p164523" />
			<content type="html"><![CDATA[<p>Проверь сначала в мандриве потом гугли</p><p>route del 10.26.0.0<br />route del 10.26.168.0<br />route del 169.254.0.0 dev eth0<br />route del 169.254.0.0 dev eth1<br />route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.26.168.1<br />route del default dev eth1</p><p>Если небудет работать route -n выложи</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-04-04T11:12:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164523#p164523</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164521#p164521" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Точно смеёшься вот это не одна система без тебя не пропишет<br />10.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; 10.26.168.1&nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth1</p></blockquote></div><p>т откуда же оно взялось то? до того как я поставил мандриву я роутинг только в венде настраивал smile если б в мандриве работало искаропки, я б не полез даже</p><p>зы rc.local пуст, откуда взялось не знаю.....мистика какая то&nbsp; :lol:</p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T11:06:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164521#p164521</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164518#p164518" />
			<content type="html"><![CDATA[<p>спасибо что попытался мне помочь&nbsp; smile <br />ладно, гуглить буду</p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T11:04:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164518#p164518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164516#p164516" />
			<content type="html"><![CDATA[<p>в мандриве я не знаю у нас в Debian rc.local</p><p>Точно смеёшься вот это не одна система без тебя не пропишет<br />10.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; 10.26.168.1&nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth1</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-04-04T11:03:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164516#p164516</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164515#p164515" />
			<content type="html"><![CDATA[<p>серьездно искаропки, ниче не менял&nbsp; smile правда не совсем Ubuntu......runtu 10.04 lxde<br />так куда их записать то?</p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T11:02:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164515#p164515</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164512#p164512" />
			<content type="html"><![CDATA[<p>типо это тоже из коробки&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" />&nbsp; издеваешься<br /><strong>10.26.168.0&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.248.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth1<br />10.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; 10.26.168.1&nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth1<br /></strong><br />Мне кажеться чтоб больше дело в руках</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-04-04T10:59:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164512#p164512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Локальный трафик в обход роутера]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164509#p164509" />
			<content type="html"><![CDATA[<p>значит, для интереса поставил Ubuntu, посмотреть какие маршруты</p><p>вот в мандриве, с косяком <br /></p><div class="codebox"><pre><code>Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     10     0        0 eth0
10.26.0.0       0.0.0.0         255.255.248.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     10     0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     10     0        0 eth0
0.0.0.0         10.26.168.1     0.0.0.0         UG    10     0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    10     0        0 eth0</code></pre></div><p>вот в Ubuntu рабочие</p><div class="codebox"><pre><code>Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
10.26.168.0     0.0.0.0         255.255.248.0   U     1      0        0 eth1
10.0.0.0        10.26.168.1     255.0.0.0       UG    0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0</code></pre></div><p>разница на глаз&nbsp; smile&nbsp; попробую такие в мандриву записать</p><br /><p>вопрос, куда записать маршруты, чтоб они при старте системы прописывались</p>]]></content>
			<author>
				<name><![CDATA[redgy92]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9699</uri>
			</author>
			<updated>2011-04-04T10:56:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164509#p164509</id>
		</entry>
</feed>
