<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_1_thread_39056"  />
<title>rulinux.net - Форум - General - Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - General - Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167600</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167600</guid>
<pubDate>Fri, 15 Mar 2013 20:42:07 +0400</pubDate>
<description><![CDATA[<p>Я не понял. Нарисуй схематически как соединены компьютеры и роутер. И какие у них ip. Кто настроен статически, а кто через DHCP.</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167541</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167541</guid>
<pubDate>Thu, 14 Mar 2013 13:48:27 +0400</pubDate>
<description><![CDATA[<p>А что тебе не нравится?</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167537</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167537</guid>
<pubDate>Thu, 14 Mar 2013 13:27:39 +0400</pubDate>
<description><![CDATA[<p>архитектора такой сети надо пристрелить</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167536</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167536</guid>
<pubDate>Thu, 14 Mar 2013 11:19:26 +0400</pubDate>
<description><![CDATA[<p>Хрен знает что там у тебя творицо.. Навскидку что я бы попробовал проверить:<br><br>
- посмотри ifconfig для всех карт на каждорй машине<br>
- посмотри 'ip neigh' на каждой машине - что они видят<br>
- поменяй карточки на жертве местами (т.е. переназначь айпишник статически на вторую карту, которая заведомо рабочая и снова проверь)<br>
- посмотри что у тебя в /etc/hosts.deny на всех компах<br>
- ходят ли пинги между *.3 и *.100?<br></p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167535</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167535</guid>
<pubDate>Thu, 14 Mar 2013 11:10:04 +0400</pubDate>
<description><![CDATA[<p>На жертве сделай <br><br>dmesg | grep eth<br><br>повтыкай повытыкай шнурок и посмотри вообще link up куда.</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167534</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167534</guid>
<pubDate>Thu, 14 Mar 2013 10:59:14 +0400</pubDate>
<description><![CDATA[<p><i>> dev eth2 - это видимо та карта, куда шнурок воткнут? </i><br> Да.<br><br><i>> Теперь смотри что у тебя на 10.100.8.2 творицо.</i><br> <fieldset><legend>text</legend><code><br />
# ip r | grep eth2<br />
10.100.8.0/24 dev eth2 &nbsp;proto kernel &nbsp;scope link &nbsp;src 10.100.8.2 <br />
169.254.0.0/16 dev eth2 &nbsp;scope link &nbsp;metric 1004 <br />
<br />
# ping 10.100.8.100 &nbsp; # ещё один комп в этой подсети<br />
PING 10.100.8.100 (10.100.8.100) 56(84) bytes of data.<br />
64 bytes from 10.100.8.100: icmp_req=1 ttl=128 time=1.50 ms<br />
64 bytes from 10.100.8.100: icmp_req=2 ttl=128 time=0.640 ms<br />
^C<br />
--- 10.100.8.100 ping statistics ---<br />
2 packets transmitted, 2 received, 0% packet loss, time 1001ms<br />
rtt min/avg/max/mdev = 0.640/1.071/1.503/0.432 ms<br />
<br />
# ping 10.100.8.3 &nbsp;# жертва<br />
PING 10.100.8.3 (10.100.8.3) 56(84) bytes of data.<br />
From 10.100.8.2 icmp_seq=2 Destination Host Unreachable<br />
From 10.100.8.2 icmp_seq=3 Destination Host Unreachable<br />
From 10.100.8.2 icmp_seq=4 Destination Host Unreachable<br />
^C<br />
--- 10.100.8.3 ping statistics ---<br />
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms<br />
pipe 3<br />
<br />
# ifconfig eth2<br />
eth2 &nbsp; &nbsp; &nbsp;Link encap:Ethernet &nbsp;HWaddr 00:13:46:EC:FE:3E &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:10.100.8.2 &nbsp;Bcast:10.100.8.255 &nbsp;Mask:255.255.255.0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::213:46ff:feec:fe3e/64 Scope:Link<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP BROADCAST RUNNING MULTICAST &nbsp;MTU:1500 &nbsp;Metric:1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:217 errors:0 dropped:0 overruns:0 frame:0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:45 errors:0 dropped:0 overruns:0 carrier:0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:1000 <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:30716 (29.9 KiB) &nbsp;TX bytes:2734 (2.6 KiB)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interrupt:18 Base address:0x8000<br />
&nbsp;</code></fieldset><br><br>Лампочки от всех трёх компов на свиче горят, значит линк есть, а вот пакеты не ходют.<br><br>PS: Что за 169.254.0.0/16 я вообще не понимаю. Я таких записей в конфигах не нашёл. Редхат наверно бекдоров понатыкал.</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167531</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167531</guid>
<pubDate>Thu, 14 Mar 2013 10:22:46 +0400</pubDate>
<description><![CDATA[<p>SELinux там наверное ни при чём.  dev eth2 - это видимо та карта, куда шнурок воткнут?
<br><br>
На вид вроде ничо. Теперь смотри что у тебя на 10.100.8.2 творицо. Может он этот адрес к другой карте привязал или файрвол режет всё. ifconfig на 10.100.8.2 посмотри ещё. Оттуда, кстати, пингуется 10.100.8.3?</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167529</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167529</guid>
<pubDate>Thu, 14 Mar 2013 09:37:57 +0400</pubDate>
<description><![CDATA[<p><i>> это как?</i><br> Это так: если хочется интернетов, то лезешь под стол и переключаешь кабель из одного компа в другой.<br><br><i>> ip route, наверное. Может файрвол режет всё.</i><br> Я в этом нихрена не понимаю. Отрубил всё что знал (iptables, selinux)<br><br><fieldset><legend>text</legend><code><br />
# ip r<br />
10.100.8.0/24 dev eth2 &nbsp;proto kernel &nbsp;scope link &nbsp;src 10.100.8.3 <br />
169.254.0.0/16 dev eth2 &nbsp;scope link &nbsp;metric 1004 <br />
# iptables -L<br />
Chain INPUT (policy ACCEPT)<br />
target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination &nbsp; &nbsp; &nbsp; &nbsp; <br />
ACCEPT &nbsp; &nbsp; all &nbsp;-- &nbsp;anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state RELATED,ESTABLISHED <br />
ACCEPT &nbsp; &nbsp; icmp -- &nbsp;anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
ACCEPT &nbsp; &nbsp; all &nbsp;-- &nbsp;anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
ACCEPT &nbsp; &nbsp; tcp &nbsp;-- &nbsp;anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state NEW tcp dpt:ssh <br />
REJECT &nbsp; &nbsp; all &nbsp;-- &nbsp;anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reject-with icmp-host-prohibited <br />
<br />
Chain FORWARD (policy ACCEPT)<br />
target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination &nbsp; &nbsp; &nbsp; &nbsp; <br />
REJECT &nbsp; &nbsp; all &nbsp;-- &nbsp;anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; anywhere &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reject-with icmp-host-prohibited <br />
<br />
Chain OUTPUT (policy ACCEPT)<br />
target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination &nbsp; &nbsp; &nbsp; &nbsp; <br />
# cat /etc/hosts<br />
127.0.0.1 &nbsp; localhost localhost.localdomain localhost4 localhost4.localdomain4<br />
::1 &nbsp; &nbsp; &nbsp; &nbsp; localhost localhost.localdomain localhost6 localhost6.localdomain6<br />
# cat /etc/sysconfig/selinux <br />
<br />
# This file controls the state of SELinux on the system.<br />
# SELINUX= can take one of these three values:<br />
# &nbsp; &nbsp; enforcing - SELinux security policy is enforced.<br />
# &nbsp; &nbsp; permissive - SELinux prints warnings instead of enforcing.<br />
# &nbsp; &nbsp; disabled - No SELinux policy is loaded.<br />
#SELINUX=enforcing<br />
SELINUX=disabled<br />
# SELINUXTYPE= can take one of these two values:<br />
# &nbsp; &nbsp; targeted - Targeted processes are protected,<br />
# &nbsp; &nbsp; mls - Multi Level Security protection.<br />
SELINUXTYPE=targeted<br />
&nbsp;</code></fieldset></p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167527</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167527</guid>
<pubDate>Thu, 14 Mar 2013 08:46:55 +0400</pubDate>
<description><![CDATA[<p>&gt; кабель в Сеть один на два компа
<br><br>
это как?
<br><br>
&gt; Что не так?
<br><br>
ip route, наверное. Может файрвол режет всё.</p>]]></description>
</item>
<item>
<title>Re:Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167520</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167520</guid>
<pubDate>Thu, 14 Mar 2013 07:42:46 +0400</pubDate>
<description><![CDATA[<p>А компы и свитч, расположены по фэн-шуй?</p>]]></description>
</item>
<item>
<title>Две сетевухи, два компа и один свич: никак не могу подружить.</title>
<link>https://rulinux.net/message.php?newsid=39056&amp;page=1#167519</link>
<guid>https://rulinux.net/message.php?newsid=39056&amp;page=1#167519</guid>
<pubDate>Thu, 14 Mar 2013 07:31:45 +0400</pubDate>
<description><![CDATA[<p>Есть два компа. В каждом по две сетевухи. Первые из них настроена на DHCP и предназначена для доступа в Сеть. Вторые настроены на статический адрес вручную и объеденены в сеть через свич.<br><br>Задача: скопировать данные с одного компа на другой по сети.<br><br>Поскольку кабель в Сеть один на два компа, то приходится извращаться через вторые сетевухи. Так вот, на первом компе-доноре всё давным-давно настроено и другие компы в той локальной сети через свич пингуются. А вот настроить сеть на втором у меня нифига не получается. Вроде и делаю всё по образцу и подобию первого, да только на выходе шиш с маслом.<br><br><fieldset><legend>text</legend><code><br />
$ ip a<br />
4: eth2: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc pfifo_fast state DOWN qlen 1000<br />
&nbsp; &nbsp; link/ether 90:e2:ba:2d:9c:83 brd ff:ff:ff:ff:ff:ff<br />
&nbsp; &nbsp; inet 10.100.8.3/24 brd 10.100.8.255 scope global eth2<br />
<br />
$ ping 10.100.8.2 # комп-донор<br />
PING 10.100.8.2 (10.100.8.2) 56(84) bytes of data.<br />
From 10.100.8.3 icmp_seq=2 Destination Host Unreachable<br />
From 10.100.8.3 icmp_seq=3 Destination Host Unreachable<br />
From 10.100.8.3 icmp_seq=4 Destination Host Unreachable<br />
^C<br />
&nbsp;</code></fieldset><br><br>Что не так? Поможите, люди добрые.</p>]]></description>
</item>
</channel>
</rss>