Benutzer:MathiasMahnke/OpenWrt: Unterschied zwischen den Versionen
Erscheinungsbild
Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 5: | Zeile 5: | ||
ifconfig eth0.12 |
ifconfig eth0.12 |
||
* VLAN Trunk (802.1q) per UCI: |
* VLAN Trunk (802.1q) per UCI: |
||
network.wan=interface |
uci set network.wan=interface |
||
network.wan.proto=dhcp |
uci set network.wan.proto=dhcp |
||
network.wan.ifname=eth0.2 |
uci set network.wan.ifname=eth0.2 |
||
network.wan.defaultroute=1 |
uci set network.wan.defaultroute=1 |
||
(uci commit) |
|||
Version vom 24. Juni 2012, 20:41 Uhr
- VLAN Trunk (802.1q) per CLI:
vconfig add eth0 12 ifconfig eth0.12 192.168.33.28 netmask 255.255.0.0 ifconfig eth0.12 up ifconfig eth0.12
- VLAN Trunk (802.1q) per UCI:
uci set network.wan=interface uci set network.wan.proto=dhcp uci set network.wan.ifname=eth0.2 uci set network.wan.defaultroute=1 (uci commit)