<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; netstat -rn]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8497&amp;type=atom" />
	<updated>2010-11-19T13:41:38Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=8497</id>
		<entry>
			<title type="html"><![CDATA[Re: netstat -rn]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114624#p114624" />
			<content type="html"><![CDATA[<p>вот и netstat -rn и /proc/net/route<br />Теперь начну разбираться =) Спасибо<br />[root@localhost iproute2]# netstat -rn<br />Kernel IP routing table<br />Destination&nbsp; &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.42.0&nbsp; &nbsp; &nbsp;0.0.0.0&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&nbsp; &nbsp;eth0<br />192.168.234.0&nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 255.255.254.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp;eth0<br />169.254.0.0&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0&nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp;eth0<br />0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.234.4&nbsp; &nbsp; &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&nbsp; &nbsp;eth0<br />[root@localhost iproute2]# cat /proc/net/route<br />Iface&nbsp; &nbsp;Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags&nbsp; &nbsp;RefCnt&nbsp; Use&nbsp; &nbsp; &nbsp;Metric&nbsp; Mask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MTU&nbsp; &nbsp; &nbsp;Window&nbsp; IRTT<br />eth0&nbsp; &nbsp; 002AA8C0&nbsp; &nbsp; &nbsp; &nbsp; 00000000&nbsp; &nbsp; &nbsp; &nbsp;0001&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;00FFFFFF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />eth0&nbsp; &nbsp; 00EAA8C0&nbsp; &nbsp; &nbsp; &nbsp; 00000000&nbsp; &nbsp; &nbsp; &nbsp;0001&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;00FEFFFF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />eth0&nbsp; &nbsp; 0000FEA9&nbsp; &nbsp; &nbsp; &nbsp; 00000000&nbsp; &nbsp; &nbsp; &nbsp; 0001&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0000FFFF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />eth0&nbsp; &nbsp; 00000000&nbsp; &nbsp; &nbsp; &nbsp; 04EAA8C0&nbsp; &nbsp; &nbsp; &nbsp;0003&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;00000000&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp;0</p>]]></content>
			<author>
				<name><![CDATA[dada]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11420</uri>
			</author>
			<updated>2010-11-19T13:41:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114624#p114624</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: netstat -rn]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114619#p114619" />
			<content type="html"><![CDATA[<p>Есть псевдофайловая система /proc, она предоставляет интерфейс (в виде набора каталогов и файлов ) в структурам данных ядра.<br />Можно попробовать глянуть файлик типа /proc/net/route</p>]]></content>
			<author>
				<name><![CDATA[anonymousRU]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12113</uri>
			</author>
			<updated>2010-11-19T13:17:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114619#p114619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: netstat -rn]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114618#p114618" />
			<content type="html"><![CDATA[<p>Ага. То есть это невозможно посмотреть каким либо текстовым редактором ? Только netstat -rn ?</p>]]></content>
			<author>
				<name><![CDATA[dada]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11420</uri>
			</author>
			<updated>2010-11-19T13:06:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114618#p114618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: netstat -rn]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114617#p114617" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>dada пишет:</cite><blockquote><p>Вопрос : В какой файл записывается эта информация ?</p></blockquote></div><p>После этой команды, информация в файл не записывается.<br />Меняется таблица маршрутизации в памяти ядра ОС.</p>]]></content>
			<author>
				<name><![CDATA[anonymousRU]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12113</uri>
			</author>
			<updated>2010-11-19T12:57:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114617#p114617</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[netstat -rn]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114613#p114613" />
			<content type="html"><![CDATA[<p>Всем Алоха <br />Ввожу команду /sbin/route add -net 192.168.2.0 netmask 255.255.255.0 eth0 <br />Вопрос : В какой файл записывается эта информация ?</p>]]></content>
			<author>
				<name><![CDATA[dada]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11420</uri>
			</author>
			<updated>2010-11-19T12:19:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114613#p114613</id>
		</entry>
</feed>
