Hi,
I've been struggling with an issue on my RB1100. I'm trying to setup a SIP client emmbeded on a ZTE router from my ISP, but I haven't been able to make it register so far.
Quick summary (if more details needed just let me know):
Port 11: WAN Port, VLAN1074 configured
Port1 and Port6 are software bridged, Ports2-5 slaves of Port1 and Ports7-10 slaves of Port 6.
Relevant Ports
Port1: PC plugged in
Port2: ZTE router
Port11: ONT that gives me internet access
/interface bridge print
Flags: X - disabled, R - running
0 R name="LAN_bridge" mtu=1500 l2mtu=1598 arp=enabled mac-address=4C:5E:0C:5A:61:05 protocol-mode=rstp priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m
/interface bridge port print
Flags: X - disabled, I - inactive, D - dynamic
INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether1 LAN_bridge 0x80 10 none
1 ether6 LAN_bridge 0x80 10 none
/interface ethernet
set [ find default-name=ether11 ] name=WAN
set [ find default-name=ether1 ] speed=1Gbps
set [ find default-name=ether2 ] master-port=ether1
set [ find default-name=ether3 ] master-port=ether1
set [ find default-name=ether4 ] master-port=ether1
set [ find default-name=ether5 ] master-port=ether1
set [ find default-name=ether7 ] master-port=ether6
set [ find default-name=ether8 ] master-port=ether6
set [ find default-name=ether9 ] master-port=ether6
set [ find default-name=ether10 ] master-port=ether6
Relevant Firewall
add chain=input connection-state=established
add chain=input connection-state=related
add chain=forward connection-state=established
add chain=forward connection-state=related
add action=drop chain=input in-interface=vlan1074 log=yes log-prefix=input_drop
add action=drop chain=forward in-interface=vlan1074 log=yes log-prefix=fw_drop
add action=masquerade chain=srcnat out-interface=vlan1074
add action=masquerade chain=srcnat out-interface=WAN
/ip firewall service-port
set sip disabled=yes ports=5060
I am trying to debug the reason, still haven't figured out why.
I have mirrored Port2 to Port1, so I am able to capture traffic with Wireshark on my PC. There, I see that REGISTER requests are being originated from the SIP router to the SIP proxy gateway:
192.168.1.XX SIP Request: REGISTER sip:xxxx.xxxx.xxxx (1 binding)
But I see no packets coming back.
In the meantime, I've been using the sniffer tool to trace packets, but I'm unable to see this connection listed on it (this would mean the packet is not leaving the switch for some reason, right?).
Strangest thing to me is that if I make an UDP traceroute from the ZTE SIP router to the SIP Proxy, it works (I can see the packets going out using the sniffer tool and I get a reply)
Any idea of what might be going wrong? Any help is appreciated!
EDITED:
Looks like if I sniff specifying LAN_bridge instead of eth2, I can see this traffic
/tool sniffer quick interface=LAN_bridge ip-protocol=udp port=5060
INTERFACE TIME NUM DIR SRC-MAC DST-MAC VLAN SRC-ADDRESS DST-ADDRESS PROTOCOL SIZE
LAN_br... 58.314 1 <- :5060 (sip) 0:5 :5060 (sip) ip:udp 486If instead of interface=LAN_bridge I use interface=all I would expect capturing everything on any interface, but instead nothing shows up. Does it make sense?
Another weird is that I see VLAN "0:5" when sniffing.