Dd-wrt: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 6: Zeile 6:
  
 
=sollte gehen=
 
=sollte gehen=
<pre>
+
swconfig dev eth0 set enable_vlan 6
swconfig dev eth0 set enable_vlan 10
+
swconfig dev eth0 vlan 6 set ports "0t 5t"
swconfig dev eth0 vlan 10  set ports "0t 5t"
 
 
swconfig dev eth0 set apply
 
swconfig dev eth0 set apply
vconfig add eth0 10
+
vconfig add eth0 6
 
brctl addbr br1
 
brctl addbr br1
brctl addif br1 vlan10
+
brctl addif br1 vlan6
 
brctl addif br1 ath0.1
 
brctl addif br1 ath0.1
 
brctl addif br1 ath1.1
 
brctl addif br1 ath1.1
Zeile 18: Zeile 17:
 
ifconfig ath0.1 up
 
ifconfig ath0.1 up
 
ifconfig ath1.1 up
 
ifconfig ath1.1 up
ifconfig vlan10 up
+
ifconfig vlan6 up
</pre>
+
 
 
*http://www.dd-wrt.com/wiki/index.php?title=TP-Link_TL-WDR4300&redirect=no
 
*http://www.dd-wrt.com/wiki/index.php?title=TP-Link_TL-WDR4300&redirect=no

Version vom 8. März 2016, 09:25 Uhr

Vlans

Switch

sollte gehen

swconfig dev eth0 set enable_vlan 6 swconfig dev eth0 vlan 6 set ports "0t 5t" swconfig dev eth0 set apply vconfig add eth0 6 brctl addbr br1 brctl addif br1 vlan6 brctl addif br1 ath0.1 brctl addif br1 ath1.1 ifconfig br1 up ifconfig ath0.1 up ifconfig ath1.1 up ifconfig vlan6 up