<?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; Настройка vlan в Slackware]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=7221</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=7221&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Настройка vlan в Slackware».]]></description>
		<lastBuildDate>Fri, 08 Oct 2010 07:15:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98995#p98995</link>
			<description><![CDATA[<div class="quotebox"><cite>bormant пишет:</cite><blockquote><p>В rc.local может быть слишком поздно, потому как стартует последним, а сетевые службы поднимаются в rc.inet2, то есть раньше rc.local...</p><p>С учётом сказанного, можно прописать этот код/вызов скрипта, например в rc.netdevice (вызывается из rc.modules (по &quot;if [ -x&nbsp; ...&quot;)), а в rc.inet1.conf параметры для eth0 зачистить. Либо оставить как есть, если на vlan ничего из rc.inet2 не используется сейчас и не будет использоваться потом...</p></blockquote></div><p>Хорошо. Большое спасибо за совет!</p>]]></description>
			<author><![CDATA[null@example.com (mr.iostream)]]></author>
			<pubDate>Fri, 08 Oct 2010 07:15:11 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98995#p98995</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98935#p98935</link>
			<description><![CDATA[<p>В rc.local может быть слишком поздно, потому как стартует последним, а сетевые службы поднимаются в rc.inet2, то есть раньше rc.local...</p><p>С учётом сказанного, можно прописать этот код/вызов скрипта, например в rc.netdevice (вызывается из rc.modules (по &quot;if [ -x&nbsp; ...&quot;)), а в rc.inet1.conf параметры для eth0 зачистить. Либо оставить как есть, если на vlan ничего из rc.inet2 не используется сейчас и не будет использоваться потом...</p>]]></description>
			<author><![CDATA[null@example.com (bormant)]]></author>
			<pubDate>Fri, 08 Oct 2010 04:35:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98935#p98935</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98840#p98840</link>
			<description><![CDATA[<p>Спасибо вам gramozeka!!!!!&nbsp; wink&nbsp; [РЕШЕНО]</p><p>Все решилось гораздо банальнее, название vlan интерфейса должно было заканчиваться на 104, то есть eth0.104 вместо eth0.2</p><p>Не знаю с чем это может быть связано, такая проблема наблюдается и в SUSE. </p><p>Мой Vlan 104, следовательно и имя должно кончаться на 104.</p><p>Теперь vlan-ы работают!</p><p>Что бы не потерять vlans после перезагрузки, я прописал как и написано в мануале в стартовый скрипт /etc/rc.d/rc.local следующие строки:</p><div class="quotebox"><blockquote><p>modprobe 8021q<br />ifconfig eth0 down<br />vconfig add eth0 104<br />ifconfig eth0 up<br />ifconfig eth0.104 192.168.128.220 netmask 255.255.255.0 up</p></blockquote></div><p>В итоге:</p><div class="quotebox"><blockquote><p>root@slackware:/home/iostream# ifconfig eth0.104<br />eth0.104&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:04:ac:e6:3d:ab&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:192.168.128.220&nbsp; Bcast:192.168.128.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::204:acff:fee6:3dab/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:28954 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:26 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:0 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:1608808 (1.5 MiB)&nbsp; TX bytes:2036 (1.9 KiB)</p><p>root@slackware:/home/iostream# ping 192.168.128.2<br />PING 192.168.128.2 (192.168.128.2) 56(84) bytes of data.<br />64 bytes from 192.168.128.2: icmp_seq=1 ttl=254 time=1.02 ms<br />64 bytes from 192.168.128.2: icmp_seq=2 ttl=254 time=0.941 ms<br />64 bytes from 192.168.128.2: icmp_seq=3 ttl=254 time=0.945 ms<br />64 bytes from 192.168.128.2: icmp_seq=4 ttl=254 time=0.998 ms<br />64 bytes from 192.168.128.2: icmp_seq=5 ttl=254 time=0.938 ms<br />^C<br />--- 192.168.128.2 ping statistics ---<br />5 packets transmitted, 5 received, 0% packet loss, time 4002ms<br />rtt min/avg/max/mdev = 0.938/0.969/1.026/0.049 ms</p></blockquote></div><p>Надеюсь данная тема поможет кому то еще!&nbsp; wink</p>]]></description>
			<author><![CDATA[null@example.com (mr.iostream)]]></author>
			<pubDate>Thu, 07 Oct 2010 16:53:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98840#p98840</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98836#p98836</link>
			<description><![CDATA[<p><a href="http://www.techonia.com/create-vlan-on-linux-with-cisco-catalyst-switch">How to create vlan on Linux (with Cisco Catalyst Switch)</a> , судя по этому руководству Вы сделали только два шага из шести ...</p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Thu, 07 Oct 2010 16:29:23 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98836#p98836</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98834#p98834</link>
			<description><![CDATA[<div class="quotebox"><cite>gramozeka пишет:</cite><blockquote><p><a href="http://pkgs.org/slackware-13.1/slackware-i386/vlan-1.9-i486-2.txz.html">http://pkgs.org/slackware-13.1/slackware-i386/vlan-1.9-i486-2.txz</a> ... от оно чё !!! oO</p></blockquote></div><p>Этот пакет я поставил первым делом&nbsp; smile <br />Он есть в репах.</p>]]></description>
			<author><![CDATA[null@example.com (mr.iostream)]]></author>
			<pubDate>Thu, 07 Oct 2010 16:25:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98834#p98834</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98824#p98824</link>
			<description><![CDATA[<p><a href="http://pkgs.org/slackware-13.1/slackware-i386/vlan-1.9-i486-2.txz.html">http://pkgs.org/slackware-13.1/slackware-i386/vlan-1.9-i486-2.txz</a> ... от оно чё !!! oO</p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Thu, 07 Oct 2010 15:55:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98824#p98824</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98822#p98822</link>
			<description><![CDATA[<p>&quot; ...&nbsp; &nbsp;Сразу запретите форвардинг. Но если вам нужно пропускать сети друг к<br />&nbsp; &nbsp;другу, то будьте внимательны при написании правил маршрутизации и<br />&nbsp; &nbsp;форвардинга - у вас теперь много интерфейсов. <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> ... &quot; ©</p><p>вероятно в этом причина ?</p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Thu, 07 Oct 2010 15:48:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98822#p98822</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98800#p98800</link>
			<description><![CDATA[<p>Пробую....</p><p>Vlan поднялся, но пакеты по влану не проходят: </p><p>вывод ifconfig:</p><p>eth0&nbsp; &nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 00:04:ac:e6:3d:ab&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:172.20.1.61&nbsp; Bcast:172.20.1.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::204:acff:fee6:3dab/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:11149 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:3100 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:5273961 (5.0 MiB)&nbsp; TX bytes:420131 (410.2 KiB)</p><p>eth0.2&nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 00:04:ac:e6:3d:ab&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:192.168.128.220&nbsp; Bcast:192.168.128.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::204:acff:fee6:3dab/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:0 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:2 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:0 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:0 (0.0 B)&nbsp; TX bytes:156 (156.0 B)</p><p>таблица маршрутизации:</p><p>Destination&nbsp; &nbsp; &nbsp;Gateway&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Genmask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags Metric Ref&nbsp; &nbsp; Use Iface<br />192.168.128.0&nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0.2<br />172.20.1.0&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.255.255.0&nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0<br />loopback&nbsp; &nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;255.0.0.0&nbsp; &nbsp; &nbsp; &nbsp;U&nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 lo<br />default&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;office-nat.btc&nbsp; 0.0.0.0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UG&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; 0 eth0</p>]]></description>
			<author><![CDATA[null@example.com (mr.iostream)]]></author>
			<pubDate>Thu, 07 Oct 2010 14:16:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98800#p98800</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98756#p98756</link>
			<description><![CDATA[<div class="quotebox"><cite>gramozeka пишет:</cite><blockquote><p><a href="http://www.opennet.ru/base/net/linux_vlan.txt.html">Прочитайте может поможет</a>&nbsp; oO</p></blockquote></div><p>Уже пробовал, не тру =(</p>]]></description>
			<author><![CDATA[null@example.com (mr.iostream)]]></author>
			<pubDate>Thu, 07 Oct 2010 12:11:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98756#p98756</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98736#p98736</link>
			<description><![CDATA[<p><a href="http://www.opennet.ru/base/net/linux_vlan.txt.html">Прочитайте может поможет</a>&nbsp; oO</p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Thu, 07 Oct 2010 11:31:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98736#p98736</guid>
		</item>
		<item>
			<title><![CDATA[Настройка vlan в Slackware]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=98700#p98700</link>
			<description><![CDATA[<p>Здравствуйте господа!</p><p>Гуглю уже час и нигде не могу найти инструкцию по настройке vlan под Slackware.&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /> </p><p>Помогите кто чем может smile</p>]]></description>
			<author><![CDATA[null@example.com (mr.iostream)]]></author>
			<pubDate>Thu, 07 Oct 2010 09:43:52 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=98700#p98700</guid>
		</item>
	</channel>
</rss>
