<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Маршрутизация между usb0 и eth0]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=7131</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=7131&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Маршрутизация между usb0 и eth0».]]></description>
		<lastBuildDate>Mon, 04 Oct 2010 09:52:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97800#p97800</link>
			<description><![CDATA[<p>Сделал пинг 192.168.1.23(IP usb0) с Windows (подключен к eth0) и пинг идет, может я не верно изложил верхнюю табличку, ниже изложил как щас, может так и должно быть , меня смушал в первом маршруте в конце usb0,мне нужно было для eth0 прописать маршрут к usb0.Мне нужен ответ - это правельно что там usb0 или все токи там должен стоять eth0</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"><br />[root@localhost ~]# netstat -r<br />Kernel IP routing table<br />Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Genmask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags&nbsp; &nbsp;MSS Window&nbsp; irtt Iface<br />192.168.2.0&nbsp; &nbsp; &nbsp;192.168.1.23&nbsp; &nbsp; 255.255.255.0&nbsp; &nbsp;UG&nbsp; &nbsp; &nbsp; &nbsp; 0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />192.168.2.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.1.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />192.168.122.0&nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 virbr0<br />169.254.0.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.0.0&nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />default&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.1&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; &nbsp; &nbsp; 0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (sorrrrry)]]></author>
			<pubDate>Mon, 04 Oct 2010 09:52:42 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97800#p97800</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97792#p97792</link>
			<description><![CDATA[<p><strong>sorrrrry</strong>, весли вы не понимаете то что&nbsp; делаете, как вам еще объяснять? я вам и так уже все разжевал, сказал что и как, подсказал.</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Mon, 04 Oct 2010 09:40:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97792#p97792</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97788#p97788</link>
			<description><![CDATA[<p>как манул, тот что вы дали - Да читал, почему все в какихто загадка, почему нельзя просто обяснить где и что делается ни так?&nbsp; <img src="https://linuxforum.ru/img/smilies/ah.gif" alt="ah" /></p>]]></description>
			<author><![CDATA[null@example.com (sorrrrry)]]></author>
			<pubDate>Mon, 04 Oct 2010 09:24:59 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97788#p97788</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97785#p97785</link>
			<description><![CDATA[<div class="quotebox"><cite>sorrrrry пишет:</cite><blockquote><p>что не так?</p></blockquote></div><p>учить мат часть&nbsp; <img src="https://linuxforum.ru/img/smilies/ah.gif" alt="ah" /> </p><p>vi /etc/sysconfig/network-scripts/route-eth0 , читали manual?</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Mon, 04 Oct 2010 09:13:12 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97785#p97785</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97781#p97781</link>
			<description><![CDATA[<p>Создал файл<br />/etc/sysconfig/network-scripts/route-eth0<br />прописую в терминале<br />route-eth0 &gt; 192.168.2.0/24 via 192.168.1.23 dev eth0<br /> выдает <br />bash: route-eth0: команда не найдена<br />что не так?</p>]]></description>
			<author><![CDATA[null@example.com (sorrrrry)]]></author>
			<pubDate>Mon, 04 Oct 2010 09:05:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97781#p97781</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97773#p97773</link>
			<description><![CDATA[<p>в route-ethX &gt; 192.168.2.0/24 via 192.168.1.23 dev ethX, работать надо вот по этому <a href="http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html">мануалу</a></p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Mon, 04 Oct 2010 08:49:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97773#p97773</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97770#p97770</link>
			<description><![CDATA[<p>пытался прописать так<br />route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23 eth0 явно указав интерфейс, вылетает ошибка - Сеть не доступна, с чем связано<br />работаю по этому мануалу<br /><a href="http://www.opennet.ru/base/net/ubuntu_route.txt.html">http://www.opennet.ru/base/net/ubuntu_route.txt.html</a></p>]]></description>
			<author><![CDATA[null@example.com (sorrrrry)]]></author>
			<pubDate>Mon, 04 Oct 2010 08:33:18 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97770#p97770</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97766#p97766</link>
			<description><![CDATA[<p>проверить можно с помощью команды ping.</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Mon, 04 Oct 2010 08:25:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97766#p97766</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97764#p97764</link>
			<description><![CDATA[<p>вот файл я там и создал, мне нужно прописать маршрут rout-eth0, файл создан,прописал так<br />rout add 192.168.2.0 via 192.168.1.23 получилось как надо только в конце таблицы в колонке Iface стоит usb0, а как я понимаю должно стоять eth0, или я не прав?<br />Kernel IP routing table<br />Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Genmask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags&nbsp; &nbsp;MSS Window&nbsp; irtt Iface<br />192.168.2.0&nbsp; &nbsp; &nbsp;192.168.1.23&nbsp; &nbsp; 255.255.255.0&nbsp; &nbsp;UG&nbsp; &nbsp; &nbsp; &nbsp; 0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />192.168.2.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.1.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />192.168.122.0&nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 virbr0<br />169.254.0.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.0.0&nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />default&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.1&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; &nbsp; &nbsp; 0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0</p>]]></description>
			<author><![CDATA[null@example.com (sorrrrry)]]></author>
			<pubDate>Mon, 04 Oct 2010 08:20:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97764#p97764</guid>
		</item>
		<item>
			<title><![CDATA[Re: Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97762#p97762</link>
			<description><![CDATA[<p>route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23<br />если в файл то смотрите в сторону /etc/sysconfig/network-script/route-</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Mon, 04 Oct 2010 08:15:20 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97762#p97762</guid>
		</item>
		<item>
			<title><![CDATA[Маршрутизация между usb0 и eth0]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=97755#p97755</link>
			<description><![CDATA[<p>Нужно прописать маршрутизацию, между usb0 и eth0<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"><br />Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Genmask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags&nbsp; &nbsp;MSS Window&nbsp; irtt Iface<br />192.168.2.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />192.168.1.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />192.168.122.0&nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 virbr0<br />169.254.0.0&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.0.0&nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br />default&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.1&nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; &nbsp; &nbsp; 0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 usb0<br /></div><br />нужно что б подсеть 192,168,2,0 имела шлюз 192,168,1,23 - это IP usb0, понимаю что нужно создать файл rout-(сетевой интерфейс).создаю все равно таблица не миняется, что ни так делаю.<br />Пробывал так <br />GATEWAY0=192.168.1.23<br />NETMASK0=255.255.255.0<br />ADDRESS0=192.168.2.0</p><p>Пробывал так 192,168,2,0 via 192,168,1,23<br />ниче не миняется</p>]]></description>
			<author><![CDATA[null@example.com (sorrrrry)]]></author>
			<pubDate>Mon, 04 Oct 2010 07:45:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=97755#p97755</guid>
		</item>
	</channel>
</rss>
