[Berlin-wireless] Frage zu Roaming

Perry isprotejesvalkata at gmail.com
Fr Jul 8 14:49:38 CEST 2016


In der Scherer8 habe ich Roaming eingerichtet.

Was ich gemacht habe ist:

a) Auf alle Router, ein tagged VLAN (VID 200) einrichten für connected
DHCP clients.
b) Nur auf der core router, DHCP-dienst auf VLAN 200 einrichten.

LAN-mesh OLSR läuft auf eine seperate tagged VLAN (VID 211)

In mein setup sind alle Routern per Netzwerkkabel mit einander verbunden
(sehr einfach).  Könnte auch mit ein wireless bridge oder IP-relay via
OLSR oder IP-tunnel laufen (habe nie getestet).

Note: die DHCP Schnittstelle auf die nicht-core-Routern sind unmanaged.

Config (ausschnitte):

Router: scherer8 (core router)

/etc/config/network

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'
	option mirror_source_port '0'
	option mirror_monitor_port '0'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '200'
	option ports '0t 1t'

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option ports '0t 2t'
	option vid '211'

config interface 'dhcp'
	option proto 'static'
	option netmask '255.255.255.0'
	option ipaddr '10.X.Y.Z'
	option type 'bridge'
	option ifname 'eth0.200'
	option dns '85.214.20.141 213.73.91.35 194.150.168.168'
	option delegate '0'

config interface 'mesh_vlan_211'
	option proto 'static'
	option ifname 'eth0.211'
	option delegate '0'
	option ipaddr '10.XX.YY.ZZ'
	option netmask '255.255.255.255'


/etc/config/wireless


config wifi-iface
	option ifname 'wlan0-dhcp-2'
	option encryption 'none'
	option device 'radio0'
	option mode 'ap'
	option ssid 'berlin.freifunk.net'
	option network 'dhcp'

config wifi-iface
	option ifname 'wlan1-dhcp-5'
	option encryption 'none'
	option device 'radio1'
	option mode 'ap'
	option ssid 'berlin.freifunk.net'
	option network 'dhcp'


/etc/config/dhcp


config dhcp 'dhcp'
	option leasetime '15m'
	option force '1'
	option interface 'dhcp'
	list dhcp_option '119,olsr'
	option start '50'
	option limit '200'


Router: scherer8-abb (als AP für DHCP clients und OLSR)

/etc/config/network

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'
	option mirror_source_port '0'
	option mirror_monitor_port '0'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '200'
	option ports '0t 1t'

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option vid '211'
	option ports '0t 1t'

config interface 'dhcp'
	option proto 'none'
	option type 'bridge'
	option ifname 'eth0.200'
	option delegate '0'
	option auto '1'

config interface 'mesh_vlan_211'
	option proto 'static'
	option ifname 'eth0.211'
	option delegate '0'
	option ipaddr '10.XXX.YYY.ZZZ'
	option netmask '255.255.255.255'

/etc/config/wireless (gliech wie oben)

/etc/config/dhcp

config dhcp 'dhcp'
	option interface 'dhcp'
	option ignore '1'


Perry

On 08.07.2016 12:16, Smilie wrote:
> im FAQ steht:
> 
> """
> Einige Standorte unterstützen dieses sogenannte Roaming jedoch nicht.
> """
> 
> Gibt es im berliner Netz schon Roaming 
> und auf welchem Prinzip beruht es?
> 
> lg
> 
> _______________________________________________
> Berlin mailing list
> Berlin at berlin.freifunk.net
> http://lists.berlin.freifunk.net/cgi-bin/mailman/listinfo/berlin
> Diese Mailingliste besitzt ein ffentlich einsehbares Archiv
> 



Mehr Informationen über die Mailingliste Berlin