Community discussions

MikroTik App
 
User avatar
PKSpeleo
newbie
Topic Author
Posts: 28
Joined: Fri May 13, 2022 6:02 pm
Location: Munchen

IP and Routing: SFP GPON Module WebUI access

Sat Aug 20, 2022 7:43 pm

Hello!
I am trying to access WebUI on my SFP GPON Module (Zyxel PMG3000-D20B from Telekom, Germany) to set a password for the GPON connection, but I can't understand what is wrong.
WebUI must be on 10.10.1.1 IP of SFP Module according to this article
I am creating IP 10.10.1.2/24 for sfp-sfpplus1 interface. Disabled bridge for sfp-sfpplus1.
IP Route for 10.10.1.0 on sfp-sfpplus1 was created automatically but is unreachable and invalid.
DIcH 10.10.1.0/24 sfp-sfpplus1 0
SFP Modem in interfaces was recognized and I can see a model number, and temperature, but can't see anything on the status page.
Maybe the problem is not in the IP configuration but in the SFP Module? I am expecting if SFP Modul was recognized (it shows the correct name, serial, and temperature) - all fine...
How to fix it?

Here is my Config.
You can find, that I am already made access to the WebUI of the external modem (192.168.100.1) by creating an IP on the ether1 port.
And I expected to make the same with SFP.
[admin@MikroTik-PK] > export
# aug/20/2022 18:16:18 by RouterOS 7.4.1
# software id = 4J2H-VK94
#
# model = RB4011iGS+5HacQ2HnD
# serial number = xxxxxxx
/interface bridge
add admin-mac=xxxxxxxx auto-mac=no comment=defconf name=bridge
add comment="Wireguard NL" name=bridge-nl
add comment="Wireguard NL2" name=bridge-nl2
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40/80/160mhz-XXXXXXXX country=germany disabled=no distance=indoors installation=indoor mode=\
    ap-bridge skip-dfs-channels=all ssid=Dom-Pon wireless-protocol=802.11
set [ find default-name=wlan2 ] band=2ghz-g/n channel-width=20/40mhz-XX country=germany disabled=no distance=indoors frequency=2442 installation=indoor mode=\
    ap-bridge ssid=Dom-Pon tx-power=10 tx-power-mode=all-rates-fixed wireless-protocol=802.11
/interface wireguard
add listen-port=111 mtu=1420 name=wireguard_nl
add listen-port=1111 mtu=1420 name=wireguard_nl2
/interface vlan
add interface=ether1 name=Telekom-vlan-7 vlan-id=7
/interface pppoe-client
add add-default-route=yes disabled=no interface=Telekom-vlan-7 name=Telekom-pppoe-out user=qweqweq@t-online.de
/interface wireless
add keepalive-frames=disabled mac-address=zxxz master-interface=wlan2 multicast-buffering=disabled name=wlan-nl ssid=Dom-Pon-N wds-cost-range=0 \
    wds-default-cost=0 wps-mode=disabled
add keepalive-frames=disabled mac-address=zxzxz master-interface=wlan2 multicast-buffering=disabled name=wlan-nl2 ssid=Dom-Pon-N2 wds-cost-range=0 \
    wds-default-cost=0 wps-mode=disabled
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
add name=dhcp_pool1 ranges=192.168.90.2-192.168.90.254
add name=dhcp_pool2 ranges=192.168.100.2-192.168.100.254
/ip dhcp-server
add address-pool=dhcp interface=bridge name=defconf
add address-pool=dhcp_pool1 interface=bridge-nl name=dhcp1
add address-pool=dhcp_pool2 interface=bridge-nl2 name=dhcp2
/port
set 0 name=serial0
set 1 name=serial1
/routing table
add disabled=yes fib name=wg-rable-nl
add disabled=yes fib name=wg-table-nl2
/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 disabled=yes interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge-nl comment="Wireguard NL" interface=wlan-nl
add bridge=bridge-nl2 comment="Wireguard NL2" interface=wlan-nl2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface detect-internet
set detect-interface-list=all
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface wireguard peers
add allowed-address=0.0.0.0/0 endpoint-address=1231231 endpoint-port=1111 interface=wireguard_nl persistent-keepalive=23s public-key=\
    "qweqw"
add allowed-address=0.0.0.0/0 endpoint-address=12312312 endpoint-port=1111 interface=wireguard_nl2 persistent-keepalive=23s public-key=\
    "eqweqw"
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
add address=10.66.66.60/24 interface=wireguard_nl network=10.66.66.0
add address=192.168.90.1/24 disabled=yes interface=bridge-nl network=192.168.90.0
add address=10.66.66.23/24 interface=wireguard_nl2 network=10.66.66.0
add address=192.168.100.1/24 disabled=yes interface=bridge-nl2 network=192.168.100.0
add address=192.168.1.1 disabled=yes interface=ether1 network=192.168.1.1
add address=192.168.100.2/24 interface=ether1 network=192.168.100.0
add address=10.10.1.2/24 interface=sfp-sfpplus1 network=10.10.1.0
/ip dhcp-server lease
add address=192.168.88.250 client-id=1:0:11:32:7e:fc:5b comment=NAS mac-address=adas server=defconf
add address=192.168.88.247 client-id=1:2c:9e:fc:52:6b:32 comment=Printer mac-address=sfsdfsd server=defconf
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=192.168.88.1
add address=192.168.90.0/24 dns-server=1.1.1.1,8.8.8.8 gateway=192.168.90.1
add address=192.168.100.0/24 dns-server=1.1.1.1,8.8.8.8 gateway=192.168.100.1
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001,8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip 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 ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related hw-offload=yes
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 all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
add action=masquerade chain=srcnat out-interface=wireguard_nl
add action=masquerade chain=srcnat out-interface=wireguard_nl2
add action=dst-nat chain=dstnat comment="NAS 5000" dst-port=5000 protocol=tcp to-addresses=192.168.88.250 to-ports=0
add action=dst-nat chain=dstnat comment="NAS 5001" dst-port=5001 protocol=tcp to-addresses=192.168.88.250 to-ports=0
add action=dst-nat chain=dstnat comment="NAS 443" disabled=yes dst-port=443 protocol=tcp to-addresses=192.168.88.250
add action=dst-nat chain=dstnat comment="NAS 1194 UDP" disabled=yes dst-port=1194 protocol=udp to-addresses=192.168.88.250
add action=masquerade chain=srcnat out-interface=Telekom-pppoe-out
/ip route
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=wireguard_nl pref-src="" routing-table=wg-rable-nl scope=30 suppress-hw-offload=no target-scope=10
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=wireguard_nl2 pref-src="" routing-table=wg-table-nl2 scope=30 suppress-hw-offload=no target-scope=10
/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=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
/routing rule
add action=lookup-only-in-table disabled=yes src-address=10.66.66.0/24 table=wg-rable-nl
add action=lookup-only-in-table disabled=yes src-address=10.66.66.0/24 table=wg-table-nl2
add action=lookup-only-in-table disabled=yes src-address=192.168.90.0/24 table=wg-rable-nl
add action=lookup-only-in-table disabled=yes src-address=192.168.100.0/24 table=wg-table-nl2
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name=MikroTik-PK
/system leds
add interface=wlan2 leds=wlan2_signal1-led,wlan2_signal2-led,wlan2_signal3-led,wlan2_signal4-led,wlan2_signal5-led type=wireless-signal-strength
add interface=wlan2 leds=wlan2_tx-led type=interface-transmit
add interface=wlan2 leds=wlan2_rx-led type=interface-receive
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

 
User avatar
ingdaka
Trainer
Trainer
Posts: 452
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: IP and Routing: SFP GPON Module WebUI access

Sat Aug 20, 2022 11:37 pm

To be able to ping interface must be running!
 
User avatar
PKSpeleo
newbie
Topic Author
Posts: 28
Joined: Fri May 13, 2022 6:02 pm
Location: Munchen

Re: IP and Routing: SFP GPON Module WebUI access

Sat Aug 20, 2022 11:44 pm

To be able to ping interface must be running!
Hmmm... It is not running in my case.
But why?
Do I need to connect an optical cable to run it?
But it is not activated on ISP side and i also need to enter PLOAM on WebUI to activate it...
 
User avatar
PKSpeleo
newbie
Topic Author
Posts: 28
Joined: Fri May 13, 2022 6:02 pm
Location: Munchen

Re: IP and Routing: SFP GPON Module WebUI access  [SOLVED]

Sun Aug 21, 2022 12:23 am

To be able to ping interface must be running!
Thanks a lot for your idea!
My SFP GPON module needs to be connected by optic cable and it changes the status to runned after 1 minute.
After the status switched to runned I was successfully able to ping and access SFP WebUI!
Thanks!

Who is online

Users browsing this forum: Ahrefs [Bot] and 38 guests