Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Beginner Basics • Re: Speed and CPU issue with HEX s

$
0
0
Yes. You could set ether1 (ISP-facing port) with PVID X, ether5 with same PVID X and this would establish ethernet connectivity between IP phone and ISP.
IF the phone doesn't use VLANs (which they often do). If it does, then you have to find out the VLAN ID which your ISP uses for VoIP and then configure both mentioned ports for hybrid use (tagged VoIP VLAN and untagged with VID X for internet).

Then you could set the rest of ports with PVID Y.

And then complete config with bridge port, bridge interface and vlan interface config (to unwind your brain off these bridge personalities check bridge mysteries explained ... it actually helps to understand tutorial linked in next paragraph).

If you'll look into VLANs, then study this excelent tutorial. None of examples directly apply to your use case, but you should get some insight.

I tried to apply this setup but no luck... I do:
Code:
/interface bridgeadd name=bridge1 protocol-mode=none pvid=15 vlan-filtering=yes/interface vlanadd interface=bridge1 name=vlan15 vlan-id=15add interface=bridge1 name=vlan234 vlan-id=234/ip hotspot profileset [ find default=yes ] html-directory=hotspot/ip pooladd name=dhcp_pool0 ranges=10.10.10.2-10.10.10.254/ip dhcp-serveradd address-pool=dhcp_pool0 interface=vlan234 name=dhcp1/portset 0 name=serial0/interface bridge portadd bridge=bridge1 interface=ether1 pvid=15add bridge=bridge1 interface=ether2 pvid=234add bridge=bridge1 interface=ether3 pvid=234add bridge=bridge1 interface=ether4 pvid=234add bridge=bridge1 interface=ether5 pvid=15add bridge=bridge1 disabled=yes interface=sfp1/ipv6 settingsset disable-ipv6=yes/interface bridge vlanadd bridge=bridge1 tagged=ether1 vlan-ids=15add bridge=bridge1 tagged=ether1 vlan-ids=234/ip addressadd address=192.168.1.222/24 interface=ether2 network=192.168.1.0add address=10.10.10.1/24 interface=vlan234 network=10.10.10.0/ip dhcp-server networkadd address=10.10.10.0/24 gateway=10.10.10.1/ip dnsset servers=192.168.1.111/ip firewall natadd action=masquerade chain=srcnat
And nothing works, no switch between 1,5 and no dhcp server or NAT on 2,3,4. Am I missing something obvious?

Statistics: Posted by johnviglis — Mon Jan 29, 2024 12:15 am



Viewing all articles
Browse latest Browse all 15394

Trending Articles