orange fibernet -> huawei konvertor/router (192.168.100.2) -> mikrotik RB951G-2HnD (192.168.2.1)
Mikrotik berie internet z huaweia a je nastaveny ako "bezbridge", kde kazdy interface ma svoju IP, atd., ako sme to robili tuna, ak pamatate
viewtopic.php?f=12&t=114534
No lenze, teraz sa potrebujem dostat do toho huaweia na ipcke 192.168.100.2 a vobec ho nevidim. Je mozne nejak mikrotik nastavit, aby som huawei videl? Pretoze asi mi tam daco chyba...zeby routing? huawei s jeho ipckou 192.168.100.2 pingam. Ale nedostanem sa do jeho webconfigu - stranka nenajdena.
pc mam nastavene na statickej ipcke
ip:192.168.2.2
maska: 255.255.255.0 (ked som skusal zmenit na 255.255.0.0, tak som huawei ani nepingol)
brana: 192.168.2.1
dns: 192.168.2.1
Prihadzujem nejake vypisy nastaveni:
Kód: Vybrať všetko
[admin@MikroTik] > interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE ACTUAL-MTU L2MTU MAX-L2MTU MAC-ADDRESS
0 R ether1-gw ether 1500 1598 4074 D4:CA:6D:CC:71:1A
1 R ether2 - hlavne pc ether 1500 1598 4074 D4:CA:6D:CC:71:1B
2 RS ether3 - HTPC ether 1500 1598 4074 D4:CA:6D:CC:71:1C
3 ether4 ether 1500 1598 4074 D4:CA:6D:CC:71:1D
4 ether5 ether 1500 1598 4074 D4:CA:6D:CC:71:1E
5 R wlan1 wlan 1500 1600 2290 D4:CA:6D:CC:71:1F
Kód: Vybrať všetko
[admin@MikroTik] > ip dhcp print
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TI
0 DHCP pre WiFi wlan1 Pool pre WiFi 1d
1 DHCP pre ether2 ether2 - hlavne pc dhcp 1d
2 I ;;; DHCP server can not run on slave interface!
DHCP pre ether3 ether3 - HTPC Pool pre ether3 1d
3 I DHCP pre ether4 ether4 Pool pre ether4 1d
4 I DHCP pre ether5 ether5 Pool pre ether5 1d
Kód: Vybrať všetko
[admin@MikroTik] > ip arp print
Flags: X - disabled, I - invalid, H - DHCP, D - dynamic, P - published, C - complete
# ADDRESS MAC-ADDRESS INTERFACE
0 DC 192.168.2.2 FC:AA:14:01:9F:43 ether2 - hlavne pc
1 DC 192.168.100.1 F8:98:B9:29:26:CD ether1-gw
2 D 192.168.2.4 ether2 - hlavne pc
3 DC 192.168.50.253 2C:F0:EE:74:68:2F wlan1
4 DC 192.168.50.4 E4:E4:AB:6B:EE:9F wlan1
Kód: Vybrať všetko
[admin@MikroTik] > ip firewall filter print
Flags: X - disabled, I - invalid, D - dynamic
0 D ;;; special dummy rule to show fasttrack counters
chain=forward action=passthrough
1 ;;; Windows file sharing
chain=forward action=accept protocol=tcp dst-port=445 log=no log-prefix=""
2 ;;; NetBIOS UDP
chain=forward action=accept protocol=udp dst-port=135-139 log=no log-prefix=""
3 ;;; defconf: accept established,related
chain=forward action=accept connection-state=established,related log=no log-prefix=""
4 ;;; NetBIOS TCP
chain=forward action=accept protocol=tcp dst-port=135-139 log=no log-prefix=""
5 ;;; defconf: fasttrack
chain=forward action=fasttrack-connection connection-state=established,related log=no log-prefix=""
6 ;;; defconf: drop invalid
chain=forward action=drop connection-state=invalid log=no log-prefix=""
7 ;;; defconf: drop all from WAN not DSTNATed
chain=forward action=drop connection-state=new connection-nat-state=!dstnat in-interface=ether1-gw log=no log-prefix="
8 chain=input action=accept protocol=icmp log=no log-prefix=""
9 chain=input action=accept connection-state=established log=no log-prefix=""
10 chain=input action=accept connection-state=related log=no log-prefix=""
11 chain=input action=drop in-interface=ether1-gw log=no log-prefix=""
Kód: Vybrať všetko
[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; defconf: masquerade
chain=srcnat action=masquerade out-interface=ether1-gw log=no log-prefix=""
1 ;;; TCP port forward pre torrent
chain=dstnat action=dst-nat to-addresses=192.168.2.2 to-ports=6114 protocol=tcp dst-address=192.168.100.0/24 dst-port=6114 log=no
log-prefix=""
2 ;;; UDP port forward pre torrent
chain=dstnat action=dst-nat to-addresses=192.168.2.2 to-ports=6114 protocol=udp dst-address=192.168.100.0/24 dst-port=6114 log=no
log-prefix=""
3 ;;; TCP port forward pre eMule - default port 4661
chain=dstnat action=dst-nat to-addresses=192.168.2.2 to-ports=4661 protocol=tcp dst-address=192.168.100.0/24 log=no log-prefix=""
4 ;;; UDP port forward pre eMule - default port 4661
chain=dstnat action=dst-nat to-addresses=192.168.2.2 to-ports=4661 protocol=udp dst-address=192.168.100.0/24 log=no log-prefix=""