Config FB 4040 als Offloader

Hallo,
ich möchte gerne eine FB4040 als Offloader nutzen um mehrere Unifi APs dahinter auf einem VLAN mit Freifunk zu versorgen.
Kann ich, vergleichbar mit den Futros, den WAN und den LAN Port nutzen?

Ist es möglich, das mir jemand hierzu die passende config zukommen lässt?

Moin,

einfach das LAN-Mesch ausschalten, dann kommt aus den gelben Ports Klientnetz raus.

Interessant wird es erst, wenn man noch Meschnetz für ein Außengerät braucht. Aber auch das geht.

Grüße
Matthias

Hi, das klappt wunderbar.
Ich möchte aber ganze aber nur in einem VLAN haben. Bei den futors, die wir im Einsatz haben, nutze ich dazu

config interface 'client'
option igmp_snooping '1'
option type 'bridge'
option auto '1'
option multicast_querier '1'
option macaddr '10:fe:ed:03:85:31'
option ipv6 '1'
option keep_ra_dnslifetime '1'
option sourcefilter '0'
option peerdns '0'
option robustness '3'
option reqprefix 'no'
option query_interval '2000'
option query_response_interval '500'
option proto 'dhcpv6'
list ifname 'local-port'
list ifname 'bat0'
list ifname 'eth0.212' ###<<<<<<<<<<<< VLAN3 Clientnetz

Bei der FB sieht die Config jetzt wie folgt aus:

config interface 'loopback'   
    option ifname 'lo'    
    option proto 'static' 
    option ipaddr '127.0.0.1'             
    option netmask '255.0.0.0'            
          
config globals 'globals'      
    option ula_prefix 'fddc:93f0:fed6::/48'               
          
config interface 'wan6'       
    option proto 'dhcpv6' 
    option ifname 'br-wan'
    option ip6table '1'   
    option sourcefilter '0'               
    option peerdns '0'    
    option reqprefix 'no' 
          
config switch 
    option name 'switch0' 
    option reset '1'      
    option enable_vlan '1'
          
config switch_vlan            
    option device 'switch0'               
    option vlan '1'       
    option ports '1 2 3 4 0'              
          
config interface 'wan'        
    option igmp_snooping '1'              
    option ifname 'eth1'  
    option multicast_querier '0'          
    option peerdns '0'    
    option auto '1'       
    option type 'bridge'  
    option proto 'dhcp'   
    option macaddr '0a:c7:8f:8b:68:10'    
          
config rule6 'wan6_lookup'    
    option mark '0x01/0x01'               
    option lookup '1'     
          
config route6 'wan6_unreachable'              
    option type 'unreachable'             
    option table '1'      
    option target '::/0'  
    option metric '65535' 
    option gateway '::'   
    option interface 'loopback'           
          
config interface 'mesh_wan'   
    option ifname 'br-wan'
    option index '0'      
    option proto 'gluon_wired'            
    option disabled '1'   
    option transitive '1' 
          
config interface 'mesh_lan'   
    option igmp_snooping '0'              
    option ifname 'eth0'  
    option index '4'      
    option proto 'gluon_wired'            
    option transitive '1' 
    option macaddr '0a:c7:8f:8b:68:14'    
    option disabled '1'   
          
config interface 'mesh_vpn'   
    option ifname 'mesh-vpn'              
    option transitive '1' 
    option mtu '1364'     
    option macaddr '0a:c7:8f:8b:68:17'    
    option fixed_mtu '1'  
    option proto 'gluon_mesh'             
          
config interface 'mesh_radio0'
    option proto 'gluon_mesh'             
          
config interface 'mesh_radio1'
    option proto 'gluon_mesh'             
          
config interface 'client'     
    option igmp_snooping '1'              
    option type 'bridge'  
    option auto '1'       
    option ra_holdoff '30'
    option multicast_querier '1'          
    option macaddr 'e8:df:70:8a:f6:9c'    
    option ipv6 '1'       
    option keep_ra_dnslifetime '1'        
    option sourcefilter '0'               
    option peerdns '0'    
    option robustness '9' 
    option reqprefix 'no' 
    option query_interval '2000'          
    option query_response_interval '500'  
    option proto 'dhcpv6' 
    list ifname 'local-port'              
    list ifname 'bat0'    
    list ifname 'eth0.112'      # <<<<<<<<<<<<<<VLAN 112          
          
config device 'local_node_dev'
    option type 'veth'    
    option name 'local-node'              
    option peer_name 'local-port'         
    option macaddr 'de:ad:be:ef:08:01'    
    option peer_macaddr 'e8:df:70:8a:f6:9c'               
          
config interface 'local_node' 
    option ifname 'local-node'            
    option ipaddr '10.46.0.1/16'          
    option ip6addr '2a03:2260:115:4600::1/128'            
    option ip6deprecated '1'              
    option proto 'static' 
          
config interface 'gluon_bat0' 
    option proto 'gluon_bat0'             
          
config interface 'bat0'       
    option multicast_router '2'           
    option ifname 'bat0'  
    option auto '1'       
    option macaddr 'e8:df:70:8a:f6:9c'    
    option learning '1'   
    option proto 'none'   
          
config route6 'local_node_route6'             
    option target '2a03:2260:115:4600::/64'               
    option gateway '::'   
    option interface 'client'             

Damit hätte ich gehofft das VLAN 112 auf dem ersten LAN-Port auszugeben und im Unifi-Controller die SSID Freifunk mit dem VLAN 112 anzulegen. Aber auch wenn ich das VLAN direkt auf einem Switch-Port lege bekomme ich dort keine Freifunk-IP.

Besten Dank!

Du könntest doch auch an deinem Switch für einen Port die VLAN-ID festlegen und dann direkt aus der FritzBox mit dem Clientnetz in den Switch. Oder habe ich einen Denkfehler?

Nein, kein Denkfehler. So mache ich es gerade.

Ich würde auch erst ab dem Switch das Vlan drauf machen. Das ist dann updatefest.