Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Témata - mivasi_

Stran: [1]
1
Ahoj,
snažím se nastavit CRS328-24P-4S+RM jako router (jeden port WAN, zbytek je v bridgi). IPv6 konektivita mi funguje v pohodě, u IPv4 se ale nedostanu z LAN do WAN. CRS konektivitu má, z winboxu se dopingám ven a stejně tak se dopingám zvenku na CRS. Našel jsem pár nešťastníků se stejným problémem, ale jejich řešení mi bohužel nefunguje. Nenapadá vás, čím by to mohlo být?

Kód: [Vybrat]
/interface bridge
add admin-mac=18:FD:74:EE:27:EE auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] poe-out=off
/interface wireguard
add listen-port=51820 mtu=1420 name=wireguard1
/interface vlan
add interface=ether1 name=vlan848 vlan-id=848
/interface pppoe-client
add add-default-route=yes disabled=no interface=vlan848 max-mru=1492 max-mtu=\
    1492 name=pppoe-out1 user=xxxx
/interface ethernet switch port
set 0 l3-hw-offloading=no
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp ranges=10.64.0.100-10.64.0.250
/ip dhcp-server
add address-pool=dhcp interface=bridge name=dhcp1
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=ether10
add bridge=bridge comment=defconf interface=ether11
add bridge=bridge comment=defconf interface=ether12
add bridge=bridge comment=defconf interface=ether13
add bridge=bridge comment=defconf interface=ether14
add bridge=bridge comment=defconf interface=ether15
add bridge=bridge comment=defconf interface=ether16
add bridge=bridge comment=defconf interface=ether17
add bridge=bridge comment=defconf interface=ether18
add bridge=bridge comment=defconf interface=ether19
add bridge=bridge comment=defconf interface=ether20
add bridge=bridge comment=defconf interface=ether21
add bridge=bridge comment=defconf interface=ether22
add bridge=bridge comment=defconf interface=ether23
add bridge=bridge comment=defconf interface=ether24
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=sfp-sfpplus2
add bridge=bridge comment=defconf interface=sfp-sfpplus3
add bridge=bridge comment=defconf interface=sfp-sfpplus4
/interface list member
add interface=ether1 list=WAN
add interface=bridge list=LAN
add interface=wireguard1 list=LAN
/interface wireguard peers
add allowed-address=10.64.0.50/32 interface=wireguard1 persistent-keepalive=1m \
    public-key="xxxx"
/ip address
add address=10.64.0.1/24 interface=bridge network=10.64.0.0
/ip dhcp-client
add interface=ether1
/ip dhcp-server network
add address=10.64.0.0/24 dns-server=1.1.1.1 gateway=10.64.0.1 netmask=24
/ip dns
set servers=1.1.1.1
/ip firewall filter
add action=accept chain=input comment="accept established,related,untracked" \
    connection-state=established,related,untracked
add action=drop chain=input comment="drop invalid" connection-state=invalid
add action=accept chain=input comment="accept ICMP" protocol=icmp
add action=accept chain=input comment="accept to local loopback (for CAPsMAN)" \
    dst-address=127.0.0.1
add action=drop chain=input comment="drop all not coming from LAN" \
    in-interface-list=!LAN
add action=fasttrack-connection chain=forward comment=fasttrack \
    connection-state=established,related hw-offload=yes
add action=accept chain=forward comment="accept established,related, untracked" \
    connection-state=established,related,untracked
add action=drop chain=forward comment="drop invalid" connection-state=invalid
add action=drop chain=forward comment="drop all from WAN not DSTNATed" \
    connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1 out-interface-list=\
    WAN
/ipv6 address
add from-pool=metronet interface=bridge
add address=2a01:510:xxxx:xxxx::1 interface=pppoe-out1
/ipv6 dhcp-client
add interface=pppoe-out1 pool-name=metronet pool-prefix-length=56 request=\
    prefix
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
/ipv6 firewall filter
add action=accept chain=input comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
    invalid
add action=accept chain=input comment="defconf: accept ICMPv6" protocol=icmpv6
add action=accept chain=input comment="defconf: accept UDP traceroute" port=\
    33434-33534 protocol=udp
add action=accept chain=input comment=\
    "defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
    udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
    protocol=udp
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
    ipsec-ah
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
    ipsec-esp
add action=accept chain=input comment=\
    "defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=input comment="accept wireguard" dst-port=51820 \
    protocol=udp
add action=drop chain=input comment=\
    "defconf: drop everything else not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=\
    invalid
add action=drop chain=forward comment="defconf: drop packets with bad src ipv6" \
    src-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: drop packets with bad dst ipv6" \
    dst-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
    hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
    icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=500,4500 \
    protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
    ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
    ipsec-esp
add action=accept chain=forward comment=\
    "defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
    "defconf: drop everything else not coming from LAN" in-interface-list=!LAN
/ipv6 nd
set [ find default=yes ] mtu=1492
/system clock
set time-zone-name=Europe/Prague
/system note
set show-at-login=no
/system routerboard settings
set boot-os=router-os enter-setup-on=delete-key

2
Sítě / Nastavení IPv6 /48 na MikroTiku
« kdy: 05. 09. 2023, 17:19:17 »
Ahoj,
mam na strese 60G Mikrotik ve sprave ISP a za nim svoje hAP. Pozadal jsem ISP o IPv6, dostal jsem /48 subnet (zadnou adresu na WAN, zadnou gateway), a kdyz se pokusim nastavit na WAN adresu (resp. /64) z toho /48 subnetu, tak moje hAP zacne rvat, ze `duplicate address detected`. Adresu gatewaye bych asi mohl dostat pres RA, ale predpokladam, ze v tom pripade by se mi sama pridala i default routa, kdyz mam Accept RA nastaveno na yes.

Mam pravdu, kdyz si myslim, ze je na strane ISP neco blbe, ze bych mel dostat jeste tu adresu na WAN a mozna i adresu gatewaye? Nebo je nejaky zpusob, jak to rozchodit i s tim, co mam?

3
Sítě / Příprava kabeláže pro bondovanou xDSL službu
« kdy: 16. 01. 2023, 04:05:17 »
Ahoj,
objednali jsme si do starého domu v centru města xDSL. Při první návštěvě technika jsme bohužel přišli na to, že v rámci rekonstrukce nájemník patra pod náma zlikvidoval všechny kabely, které vedly z našich pater do krabice CETINu, která je na ulici, takže jsme se s technikem dohodli, že si do krabice husím krkem natáhneme kabel a pak si znovu objednáme technika, který službu zapojí. Půjde o bondovanou službu, takže s Terminátorem.

Bude v pohodě, když do krabice CETINu natáhneme Cat6 UTP (které si technik rozdělí mezi dvě linky) a na místě, kde chceme Terminátor, připravíme normální RJ45 zásuvku, nebo by CETIN mohl mít problém s tím, že to není telefonní kabel nebo že je to zakončené normální zásuvkou?

4
Sítě / PODA GPON: vlastní SFP a IPv6/IPv4 adresy
« kdy: 05. 10. 2022, 21:23:56 »
Ahoj,
do paneláku nám PODA tahá GPON. Jejich nabídka vypadá oproti HFC od Vodafonu dost dobře, ale mám pár nejasných věcí.

- Je pořád aktuální, že dávají jen /64 IPv6 prefix? Našel jsem, že to plánují měnit, ale nenašel jsem nic o tom, že už by s tím něco udělali.
- Umožňují použití vlastního koncového HW? Ideálně bych si pořídil nějaký SFP modul a strčil do Turrisu (Huawei SmartAX MA5671A?)
- Dá se při zřízení vyhandlovat veřejná IPv4 v ceně služby?

A cokoli dalšího, co bych měl vědět nebo si na to dát pozor...

5
Sítě / Metronet DSL a IPv6 na Mikrotiku
« kdy: 29. 06. 2022, 19:29:12 »
Ahoj,
poprvý v životě vidím RouterOS a mám konektivitu od Metronetu. Veřejná IPv4 nebyla problém, ta se nastavila v podstatě sama (po přidání VLAN a PPPoE), ale IPv6 je by-default v tom routeru vypnutá a nejsem z toho WebFigu moc moudrý. Od Metronetu jsem dostal /64 na WAN a /56 na LAN, prý je potřeba SLAAC a DHCPv6. Vůbec netuším, kam sáhnout, a všichni, které znám a s RouterOS umí, dělají v prostředí, kde je IPv6 sprosté slovo.

Mohli byste mne prosím navést, co je všechno potřeba udělat, abych v6 rozchodil? Google nepomohl. :/

Stran: [1]