VLAN Konfiguratiion

Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen
Author Message
Michl
DD-WRT Novice


Joined: 03 Nov 2015
Posts: 43

PostPosted: Wed Jul 01, 2020 16:35    Post subject: VLAN Konfiguratiion Reply with quote
Hallo nochmals,

ich will mal das VLAN-Geraffel tiefer verstehen (auf meinem ASUS RT-AC56U).
Hierfür hat mir schon mal die Links sehr geholfen:
https://wiki.dd-wrt.com/wiki/index.php/Switched_Ports
https://wiki.dd-wrt.com/wiki/index.php/Default_internal_device_network

Die Standardkonfiguration (nach einem Reset) sieht ja wie folgt aus:


Anhand des Schaubilds (Illustration of port and vLAN mappings) und den Befehlen in "Preserve Settings Before you start" versuchte ich die ganze Technik zu verstehen. Zu Beginn muss erst wohl herausgefunden werden wie die internen Nummern der Ports sind. Hier die Ausgaben:

Quote:
nvram show | grep vlan.*ports | sort

Code:

vlan1ports=0 1 2 3 5*
vlan2ports=4 5u


Quote:
nvram show | grep port.*vlans | sort

Code:

port0vlans=2
port1vlans=1
port2vlans=1
port3vlans=1
port4vlans=1
port5vlans=1 2 16


Quote:
nvram show | grep vlan.*hwname | sort

Code:

vlan1hwname=et0
vlan2hwname=et0


Also der Switch-Port an eth0 ist dann bei diesem Router wohl 5, wie ich es aus der Ausgabe interpretiere (könnte ja auch 8 sein).

Jetzt ist noch die Frage ob die LAN-Ports 1-4 die interne Nummer 0-3 oder 1-4 tragen. Dementsprechend ob der WAN Port 0 oder 4 ist.

Anhand der GUI-Ausgabe und der Ausgabe vlan1ports + vlan2ports hätte ich es so interpretiert, dass der WAN Port wohl 4 sein müsste. Aber das deckt sich nicht mit der Ausgabe bei port0vlans=2. Hier würde man doch eher vermuten, dass der WAN-Port doch 0 ist.

Kann hier jemand Licht ins Dunkel bringen?
Vielen Dank



VLAN.png
 Description:
 Filesize:  48.36 KB
 Viewed:  4486 Time(s)

VLAN.png


Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum