anleitungen:edge_router_x:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
anleitungen:edge_router_x:start [2019/08/22 10:37] – [Debricking] frankanleitungen:edge_router_x:start [2020/02/26 16:24] (aktuell) frank
Zeile 15: Zeile 15:
  
 Man verbindet zunächst seinen Rechner mit eth0 des Routers und vergibt eine IP Adresse aus dem Bereich 192.168.1.0/24. Jetzt sollte man sich per SSH auf dem Router anmelden können. (Benutzer ''ubnt'', Passwort ''ubnt'', IP ''192.168.1.1''): Man verbindet zunächst seinen Rechner mit eth0 des Routers und vergibt eine IP Adresse aus dem Bereich 192.168.1.0/24. Jetzt sollte man sich per SSH auf dem Router anmelden können. (Benutzer ''ubnt'', Passwort ''ubnt'', IP ''192.168.1.1''):
 +
 +Komplette netzwerk-Config mit 
 +
 +* Wan eth0
 +* Mesh eth1 u. eth2
 +* Client eth3 u. eth4
  
 <code> <code>
Zeile 50: Zeile 56:
 </code> </code>
  
-Nun meldet man sich wieedr per ssh am Router an, wechselt ins /tmp Verzeichnis und Flasht das gebnerische Factory Image:+Nun meldet man sich wieder per ssh am Router an, wechselt ins /tmp Verzeichnis und flasht das generische Factory Image:
  
 <code> <code>
Zeile 246: Zeile 252:
  
 ===== Netzwerkeinstellungen für Mesh-VPN, Mesh + Client ===== ===== Netzwerkeinstellungen für Mesh-VPN, Mesh + Client =====
 +
 +Um auf eth1/eth2 Mesh und eth3/eth4 Client Netz zu haben, geht man folgendermaßen vor.
 +
 +
 +==== Vorher: ====
 +
 +{{ :anleitungen:edge_router_x:vorher.png |}}
 +
 +
 +==== Nachher: ====
 +
 +
 +{{ :anleitungen:edge_router_x:nachher.png |}}
 +
 +
 +<code>
 +root@ffmsg-stabue-offload:/etc/config# cat network 
 +
 +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 'fd31:b78e:2c52::/48'
 +
 +config device 'lan_dev'
 + option name 'eth0.1'
 + option macaddr '18:e8:29:2f:6f:0c'
 +
 +config device 'wan_dev'
 + option name 'eth0.2'
 + option macaddr '18:e8:29:2f:6f:0d'
 +
 +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 '3 4 6t'
 +
 +config switch_vlan
 + option device 'switch0'
 + option vlan '2'
 + option ports '0 6t'
 +
 +config switch_vlan
 + option device 'switch0'
 + option vlan '3'
 + option ports '1 2 6t'
 +
 +config interface 'wan'
 + option igmp_snooping '1'
 + option ifname 'eth0.2'
 + option multicast_querier '0'
 + option peerdns '0'
 + option auto '1'
 + option type 'bridge'
 + option proto 'dhcp'
 + option macaddr 'f2:f2:1a:48:57:48'
 +
 +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 index '4'
 + option proto 'gluon_wired'
 + option transitive '1'
 + option macaddr 'f2:f2:1a:48:57:4c'
 + option ifname 'eth0.3'
 + option disabled '0'
 +
 +config interface 'mesh_vpn'
 + option ifname 'mesh-vpn'
 + option transitive '1'
 + option mtu '1398'
 + option macaddr 'f2:f2:1a:48:57:4f'
 + option fixed_mtu '1'
 + 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 '18:e8:29:2f:6f:0c'
 + list ifname 'eth0.1'
 + list ifname 'local-port'
 + list ifname 'bat0'
 + option ipv6 '1'
 + option keep_ra_dnslifetime '1'
 + option sourcefilter '0'
 + option peerdns '1'
 + option robustness '9'
 + option reqprefix 'no'
 + option query_interval '2000'
 + option query_response_interval '500'
 + option proto 'dhcpv6'
 +
 +config device 'local_node_dev'
 + option type 'veth'
 + option name 'local-node'
 + option peer_name 'local-port'
 + option macaddr '16:41:95:40:f7:dc'
 + option peer_macaddr '18:e8:29:2f:6f:0c'
 +
 +config interface 'local_node'
 + option ifname 'local-node'
 + option ipaddr '10.119.224.1/20'
 + option ip6addr 'fdc7:3c9d:ff31:e::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 '18:e8:29:2f:6f:0c'
 + option learning '1'
 + option proto 'none'
 +
 +config route6 'local_node_route6'
 + option target 'fdc7:3c9d:ff31:e::/64'
 + option gateway '::'
 + option interface 'client'
 +
 +</code>
 +
  
  • anleitungen/edge_router_x/start.1566463024.txt.gz
  • Zuletzt geändert: 2019/08/22 10:37
  • von frank