Benutzer:MathiasMahnke/OpenWrt: Unterschied zwischen den Versionen
Erscheinungsbild
Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 8: | Zeile 8: | ||
uci set network.wan.proto=dhcp |
uci set network.wan.proto=dhcp |
||
uci set network.wan.ifname=eth0.2 |
uci set network.wan.ifname=eth0.2 |
||
uci set network.wan.defaultroute= |
uci set network.wan.defaultroute=0 |
||
(uci commit) |
(uci commit) |
||
Aktuelle 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=0 (uci commit)