Re: Layer3 Router, Anbindung eines lokalen Clients übers WAN-Kabel?

Christian Dresel freifunk at dresel.systems
Sa Apr 30 18:45:01 CEST 2022


nochmal ich

Am 30.04.22 um 18:37 schrieb Christian Dresel:
> vi /etc/config/gateway
>> config vlan '8'
>>      option comment 'rechner'
>>      option ports '5t'     (<= das ist der WAN Port)
>>
>> config babelpeer 'rechner'
>>      option vlan '8'
>>      option type 'wired'
>>      option rxcost '6144'
>>
Jetzt seh ich es erst, warum ist das VLAN 8 hier Babel? Du willst doch 
Client sein oder? Das ganze muss etwa so aussehen:

[...]

config vlan '6' #ich hab keine Ahnung auf welchen VLAN dein Babel rein 
kommt, VLAN id 6 ist jetzt nur ein Beispiel)
     option comment 'deinBabelpeer'
     option ports '1t' #ich hab keine Ahnung auf welchen Port dein Babel 
rein kommt, auf Port 1 getagged ist jetzt nur ein Beispiel

config vlan '8'
      option comment 'client'
      option ports '1 2 5t' #(5t Client für WAN tagged VLAN 8 zurück und 
vllt. will man auf Port 1 und 2 auch noch Client untagged haben? Ist 
jetzt nur ein Beispiel und musst du natürlich an deine Gegebenheiten 
anpassen wo du überall Client haben willst)

config client
     option vlan '8'
     list ipaddr '[....]

config babelpeer 'deinBabelpeer'
     option vlan '6' #ich hab keine Ahnung auf welchen VLAN dein Babel 
rein kommt, VLAN id 6 ist jetzt nur ein Beispiel)
     option type 'wired'
     option rxcost '512'

[...]

(und jetzt hab ich so lang dran rum getippt, ich hoffe jetzt hab ich nix 
verdreht ansonsten korrigiert bestimmt gleich mich jemand :P)

Gruß

Christian



Mehr Informationen über die Mailingliste franken