Benutzer:MathiasMahnke/OpenWrt: Unterschied zwischen den Versionen

Aus Opennet
Wechseln zu: Navigation, Suche
 
(Eine dazwischenliegende Version von einem Benutzer wird nicht angezeigt)
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=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)
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge