❗️Toto je původní verze internetového fóra ISPforum.cz do února 2020 bez možnosti registrace nových uživatelů. Aktivní verzi fóra naleznete na adrese https://telekomunikace.cz

Nefunguje ping na jiný subnet

Návody a problémy s konfigurací.
ondrej22
Příspěvky: 2
Registrován: 9 years ago

Nefunguje ping na jiný subnet

Příspěvekod ondrej22 » 9 years ago

Dobrý den ve spolek,

prosím o radu. Nemohu se pingnout z PC1 (192.168.1.11) na eth1(bridge PRIVATE, mikrotik 192.168.1.7) do PC2 192.168.77.3 na eth4(bridge WIFI, mikrotik 192.168.77.1).
Stejně tak není dostupný mikrotik přes ping na 192.168.77.1.

Co mám špatně nastavené?
Děkuji

Kód: Vybrat vše

/ip address
add address=192.168.77.1/24 interface="Bridge HOTSPOT" network=192.168.77.0
add address=192.168.1.7/24 interface="Bridge PRIVATE" network=192.168.1.

/ip route
add distance=1 gateway=192.168.1.2 routing-mark=12345
add distance=1 gateway=192.168.1.1

/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=12345 src-address=192.168.77.0/24

/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related

/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes to-addresses=0.0.0.0
add action=masquerade chain=srcnat out-interface="Bridge PRIVATE" src-address=192.168.77.0/24 to-addresses=0.0.0.0

/ip dhcp-server network
add address=192.168.1.0/24 dns-server=192.168.1.7 gateway=192.168.1.7
add address=192.168.3.0/24 dns-server=192.168.3.1 gateway=192.168.3.1
add address=192.168.77.0/24  dns-server=192.168.77.1 gateway=192.168.77.1
0 x