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

Beginner Basics • Help with configuration of a port.

$
0
0
Hello everyone,

I have a RB4011iGS+5HacQ2HnD and what I am trying to do is to configure only one ethernet port to be different than the other. So let's say that i want to do this on eth9. All the other port sfp+,eth1-8 + eth10 are configured to work as a bridge on the network 192.168.88.0/24. I get the internet connection from the sfp+ port of a udm-pro directly connected to the rb4011 on the sfp+. So recently I changed ISP and the ISP demands from the user to configure one port for VoIP in a specific way in order to telephone service to work. So this is my config:
Code:
/interface bridgeadd name=bridge port-cost-mode=short/interface ethernetset [ find default-name=sfp-sfpplus1 ] auto-negotiation=no/iot lora serversadd address=eu.mikrotik.thethings.industries name=TTN-EU protocol=UDPadd address=us.mikrotik.thethings.industries name=TTN-US protocol=UDPadd address=eu1.cloud.thethings.industries name="TTS Cloud (eu1)" protocol=UDPadd address=nam1.cloud.thethings.industries name="TTS Cloud (nam1)" protocol=\    UDPadd address=au1.cloud.thethings.industries name="TTS Cloud (au1)" protocol=UDPadd address=eu1.cloud.thethings.network name="TTN V3 (eu1)" protocol=UDPadd address=nam1.cloud.thethings.network name="TTN V3 (nam1)" protocol=UDPadd address=au1.cloud.thethings.network name="TTN V3 (au1)" protocol=UDP/portset 0 name=serial0set 1 name=serial1/zerotierset zt1 comment="ZeroTier Central controller - https://my.zerotier.com/" \    disabled=yes disabled=yes name=zt1 port=9993/interface bridge portadd bridge=bridge interface=ether1 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether2 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether3 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether5 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether6 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether7 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether8 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether9 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether10 internal-path-cost=10 path-cost=10add bridge=bridge interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether4/interface detect-internetset detect-interface-list=all/ip addressadd address=192.168.88.12/24 interface=bridge network=192.168.88.0add address=192.168.1.20/24 interface=sfp-sfpplus1 network=192.168.1.0/ip dhcp-clientadd interface=bridge use-peer-ntp=no/ip dnsset servers=45.90.28.246,45.90.30.246/ip firewall nat# no interfaceadd action=masquerade chain=srcnat dst-address=192.168.88.0/24 dst-limit=\    1,5,dst-address/1m40s limit=1,5:packet out-interface=*F psd=21,3s,3,1 \    src-address=192.168.2.0/24 time=0s-1d,sun,mon,tue,wed,thu,fri,satadd action=masquerade chain=srcnat dst-address=192.168.2.0/24 src-address=\    192.168.88.0/24/ip routeadd gateway=192.168.88.1/ip serviceset www disabled=yesset www-ssl certificate=https-cert-00-rtr-lr disabled=no/system clockset time-zone-name=Europe/Athens/system identityset name=00-rtr-lr/system noteset show-at-login=no/system ntp clientset enabled=yes/system ntp client serversadd address=pool.ntp.org
Basically I want eth9 to be configured as a pppoe connection with credentials

Username: guest@onenetvoice.gr
Password: guest


(DO NOT WORRY ABOUT THE CREDENTIALS!! All users of the ISP use the same credentials they authenticate the service in a different way.)

and the VLAN of this pppoe connection is 838. And also I would specific DNS servers for this port. I do not know exactly the IP addresses of the specific DNS servers, but if you could provide the command and I would apply them myself once the provider calls me back and provides the IP addreses.

Is it possible for you please to help me out to configure this.

I know this is a very noob. But any help given is much appreciated!

Thanks!

Statistics: Posted by und3rd06012 — Sun Jan 28, 2024 5:10 pm



Viewing all articles
Browse latest Browse all 15133

Trending Articles