Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
anleitungen:edge_router_x:start [2019/08/22 10:31] – [Edge Router X] frank | anleitungen:edge_router_x:start [2019/08/29 12:55] – [Netzwerkeinstellungen für Mesh-VPN, Mesh + Client] frank | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Edge Router X ====== | ====== Edge Router X ====== | ||
- | * Standardmäßig ist eth0 der WAN Port und eth1-eth4 sind Client Ports. Um das zu ändern, siehe dort. | + | * Standardmäßig ist eth0 der WAN Port und eth1-eth4 sind Client Ports. Um das zu ändern, siehe [[# |
* Konfig-Modus: | * Konfig-Modus: | ||
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/ | Man verbindet zunächst seinen Rechner mit eth0 des Routers und vergibt eine IP Adresse aus dem Bereich 192.168.1.0/ | ||
+ | |||
+ | Komplette netzwerk-Config mit | ||
+ | |||
+ | * Wan eth0 | ||
+ | * Mesh eth1 u. eth2 | ||
+ | * Client eth3 u. eth4 | ||
< | < | ||
Zeile 164: | Zeile 170: | ||
{{ : | {{ : | ||
+ | **Fehlerbild auf der Seriellen Konsole:** | ||
< | < | ||
Zeile 204: | Zeile 211: | ||
</ | </ | ||
- | Wenn man im uboot Menü die Option (4) wählt, wird der Loop unterbrochen und man kann die OPtionen | + | Wenn man im uboot Menü die Option (4) wählt, wird der Loop unterbrochen und man kann die Optionen |
< | < | ||
Zeile 221: | Zeile 228: | ||
</ | </ | ||
- | Auf dem eigenen Rechner muss also ein TFTPd((Bei Arch Linux z.B. der tftp-hpa, der wird in ''/ | + | Auf dem eigenen Rechner muss also ein TFTPd((Bei Arch Linux z.B. der tftp-hpa, der wird in ''/ |
< | < | ||
Zeile 235: | Zeile 242: | ||
</ | </ | ||
- | Nur einmal drücken! Dann kommt die Abfrage, ob man das wirklich möchte, dann kann man die IPs und den Namen des Factory-Images angeben und das Image wird geschrieben und gebootet. | + | Nur einmal drücken! Dann kommt die Abfrage, ob man das wirklich möchte, dann kann man die IPs und den Namen des Factory-Images angeben und das Image wird geholt, |
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | Zum debrick | + | Zum Debrick |
</ | </ | ||
Zeile 245: | 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: ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ==== Nachher: ==== | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | < | ||
+ | root@ffmsg-stabue-offload:/ | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | |||
+ | config globals ' | ||
+ | option ula_prefix ' | ||
+ | |||
+ | config device ' | ||
+ | option name ' | ||
+ | option macaddr ' | ||
+ | |||
+ | config device ' | ||
+ | option name ' | ||
+ | option macaddr ' | ||
+ | |||
+ | config interface ' | ||
+ | option proto ' | ||
+ | option ifname ' | ||
+ | option ip6table ' | ||
+ | option sourcefilter ' | ||
+ | option peerdns ' | ||
+ | option reqprefix ' | ||
+ | |||
+ | config switch | ||
+ | option name ' | ||
+ | option reset ' | ||
+ | option enable_vlan ' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '3 4 6t' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '0 6t' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '1 2 6t' | ||
+ | |||
+ | config interface ' | ||
+ | option igmp_snooping ' | ||
+ | option ifname ' | ||
+ | option multicast_querier ' | ||
+ | option peerdns ' | ||
+ | option auto ' | ||
+ | option type ' | ||
+ | option proto ' | ||
+ | option macaddr ' | ||
+ | |||
+ | config rule6 ' | ||
+ | option mark ' | ||
+ | option lookup ' | ||
+ | |||
+ | config route6 ' | ||
+ | option type ' | ||
+ | option table ' | ||
+ | option target '::/ | ||
+ | option metric ' | ||
+ | option gateway '::' | ||
+ | option interface ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option index ' | ||
+ | option proto ' | ||
+ | option disabled ' | ||
+ | option transitive ' | ||
+ | |||
+ | config interface ' | ||
+ | option igmp_snooping ' | ||
+ | option index ' | ||
+ | option proto ' | ||
+ | option transitive ' | ||
+ | option macaddr ' | ||
+ | option ifname ' | ||
+ | option disabled ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option transitive ' | ||
+ | option mtu ' | ||
+ | option macaddr ' | ||
+ | option fixed_mtu ' | ||
+ | option proto ' | ||
+ | |||
+ | config interface ' | ||
+ | option igmp_snooping ' | ||
+ | option type ' | ||
+ | option auto ' | ||
+ | option ra_holdoff ' | ||
+ | option multicast_querier ' | ||
+ | option macaddr ' | ||
+ | list ifname ' | ||
+ | list ifname ' | ||
+ | list ifname ' | ||
+ | option ipv6 ' | ||
+ | option keep_ra_dnslifetime ' | ||
+ | option sourcefilter ' | ||
+ | option peerdns ' | ||
+ | option robustness ' | ||
+ | option reqprefix ' | ||
+ | option query_interval ' | ||
+ | option query_response_interval ' | ||
+ | option proto ' | ||
+ | |||
+ | config device ' | ||
+ | option type ' | ||
+ | option name ' | ||
+ | option peer_name ' | ||
+ | option macaddr ' | ||
+ | option peer_macaddr ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option ipaddr ' | ||
+ | option ip6addr ' | ||
+ | option ip6deprecated ' | ||
+ | option proto ' | ||
+ | |||
+ | config interface ' | ||
+ | option proto ' | ||
+ | |||
+ | config interface ' | ||
+ | option multicast_router ' | ||
+ | option ifname ' | ||
+ | option auto ' | ||
+ | option macaddr ' | ||
+ | option learning ' | ||
+ | option proto ' | ||
+ | |||
+ | config route6 ' | ||
+ | option target ' | ||
+ | option gateway '::' | ||
+ | option interface ' | ||
+ | |||
+ | </ | ||
+ | |||