Benutzer:MathiasMahnke/OpenWrt: Unterschied zwischen den Versionen
Aus Opennet
(Die Seite wurde neu angelegt: „* VLAN Trunk (802.1q): vconfig add eth0 12 ifconfig eth0.12 192.168.33.28 netmask 255.255.0.0 ifconfig eth0.12 up ifconfig eth0.12“) |
|||
(2 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | * VLAN Trunk (802.1q): | + | * VLAN Trunk (802.1q) per CLI: |
vconfig add eth0 12 | vconfig add eth0 12 | ||
ifconfig eth0.12 192.168.33.28 netmask 255.255.0.0 | ifconfig eth0.12 192.168.33.28 netmask 255.255.0.0 | ||
ifconfig eth0.12 up | ifconfig eth0.12 up | ||
ifconfig eth0.12 | 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) |
Aktuelle Version vom 24. Juni 2012, 22: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)