Zdravo,<br><br>glede na to, da uporabljaš CentOS predlagam ogled<br><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://kbase.redhat.com/faq/FAQ_79_3681.shtm" target="_blank">http://kbase.<span id="st" name="st" class="st">
redhat</span>.com/faq/FAQ_79_3681.shtm</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://kbase.redhat.com/faq/FAQ_79_3684.shtm" target="_blank">http://kbase.<span id="st" name="st" class="st">redhat
</span>.com/faq/FAQ_79_3684.shtm</a><br><br>preverjeno deluje<br><br>lp<br><br><div><span class="gmail_quote">2007/12/18, Rok Potočnik <<a href="mailto:r@rula.net">r@rula.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andraz Sraka wrote:<br>> V kernelu rabis imeti podporo za dot1q, in potem uporabis tale proggy ..<br>><br>> uporaba enostavno takole:<br>><br>> # vconfig add <eth-device> [vlanid]<br>><br>> in se ti zgenerira device 'vlanID'. Naceloma z malo truda, lahko tudi po
<br>> svoje preimenujes te device-e. Ce uporabljas Debian linux lahko vse<br>> skupaj vrzes v '/etc/network/interfaces', kot<br>><br>> auto vlan1000<br>> iface vlan1000 inet static<br>> address
<a href="http://10.0.0.1">10.0.0.1</a><br>> netmask <a href="http://255.255.255.0">255.255.255.0</a><br>> vlan_raw_device eth1<br>><br>> in lepo dobis 'vlan1000' device.<br><br>Uporabljam CentOS...
<br><br>CONFIG_VLAN_8021Q=m<br><br>s skriptico<br><br>for i in `seq 1 16`<br>do vconfig add eth0 $i<br>ifconfig eth0.$i 192.168.$i.1 netmask <a href="http://255.255.255.0">255.255.255.0</a><br>done<br><br>naredim vlane, promet naceloma laufa...but!
<br>vlani, k so ustvarjeni imajo tisti port tagged, v drugi smeri se pa ne<br>taggira. torej... k gre ping ven, gre na eth0.13, k pride pa ping reply,<br>pride pa untagged na eth0. sem probal s...<br><br>for i in `seq 1 16`
<br>do ip a add 192.168.$i.1 dev eth0<br>done<br><br>vendar brez srece... zdle niam nobene ideje, kak se tegale resit...<br><br>--<br>LP, Rok<br>_______________________________________________<br>lugos-list mailing list<br>
<a href="mailto:lugos-list@lugos.si">lugos-list@lugos.si</a><br><a href="http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list">http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list</a><br></blockquote></div><br>
<br clear="all"><br>-- <br>Janko Harej<br>TŠC Nova Gorica