Community discussions

MikroTik App
 
akshark
just joined
Topic Author
Posts: 14
Joined: Fri Apr 07, 2023 11:57 am

MicroTik switch unable to access internet

Fri Apr 07, 2023 11:13 pm

we have a "MikroTik CRS328-4C-20S-4S+RM 20x SFP + 4xSFP+ switch with 4x combo" switch and are connecting two uplinks to it on the SFP+ ports.

We have 4 10Gb Ethernet ports. I am connecting my laptop to the port combo2 and testing internet connection but i am unable to connect to internet.

I have executed the following commands on the switch

/interface vlan
add interface=sfp-sfpplus1 name=vlan4011_uplink1 vlan-id=4011
add interface=sfp-sfpplus2 name=vlan4022_uplink2 vlan-id=4022

/ip address
add address=192.168.x.y/30 interface=vlan4011_uplink1 network=192.168.x.40
add address=192.168.z.y/30 interface=vlan4022_uplink2 network=192.168.z.40
add address=a.b.c.d/27 interface=combo2

/ip route
add distance=1 dst-address=0.0.0.0/0 gateway=192.168.x.41
add distance=1 dst-address=0.0.0.0/0 gateway=192.168.z.41


any help on how to configure the switch so that internet would be accessible. Thanks.
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1497
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: MicroTik switch unable to access internet

Fri Apr 07, 2023 11:35 pm

Please provide a network drawing or better description of what is connected to what. Also include your configuration. To export and paste your configuration (and I'm assuming you are using WebFig or Winbox), open a terminal window, and type (without the quotes) "/export hide-sensitive file=any-filename-you-wish". Then open the files section and right click on the filename you created and select download in order to download the file to your computer. It will be a text file with whatever name you saved to with an extension of .rsc. Suggest you then open the .rsc file in your favorite text editor and redact any sensitive information. Then in your message here, click the code display icon in the toolbar above the text entry (the code display icon is the 7th one from the left and looks like a square with a blob in the middle). Then paste the text from the file in between the two code words in brackets.
 
akshark
just joined
Topic Author
Posts: 14
Joined: Fri Apr 07, 2023 11:57 am

Re: MicroTik switch unable to access internet

Tue Apr 11, 2023 2:22 pm

Hello many thanks for your reply.

We have two uplinks from the ISP connected to sfp-sfpplus1 and sfp-sfpplus2 port and below is the file you requested, any help here would be great, Thanks,.

# jan/02/1970 00:20:12 by RouterOS 6.48.6
# software id = KUH3-URPS
#
# model = CRS328-4C-20S-4S+
# serial number = HE50sN
/interface bridge
add admin-mac=88:88:99:99:AB:6A auto-mac=no comment=defconf name=bridge
/interface vlan
add interface=sfp-sfpplus1 name=vlan4011_uplink1 vlan-id=4011
add interface=sfp-sfpplus2 name=vlan4022_uplink2 vlan-id=4022
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge port
add bridge=bridge comment=defconf interface=combo1
add bridge=bridge comment=defconf interface=combo2
add bridge=bridge comment=defconf interface=combo3
add bridge=bridge comment=defconf interface=combo4
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=sfp-sfpplus2
add bridge=bridge comment=defconf interface=sfp-sfpplus3
add bridge=bridge comment=defconf interface=sfp-sfpplus4
add bridge=bridge comment=defconf interface=sfp1
add bridge=bridge comment=defconf interface=sfp2
add bridge=bridge comment=defconf interface=sfp3
add bridge=bridge comment=defconf interface=sfp4
add bridge=bridge comment=defconf interface=sfp5
add bridge=bridge comment=defconf interface=sfp6
add bridge=bridge comment=defconf interface=sfp7
add bridge=bridge comment=defconf interface=sfp8
add bridge=bridge comment=defconf interface=sfp9
add bridge=bridge comment=defconf interface=sfp10
add bridge=bridge comment=defconf interface=sfp11
add bridge=bridge comment=defconf interface=sfp12
add bridge=bridge comment=defconf interface=sfp13
add bridge=bridge comment=defconf interface=sfp14
add bridge=bridge comment=defconf interface=sfp15
add bridge=bridge comment=defconf interface=sfp16
add bridge=bridge comment=defconf interface=sfp17
add bridge=bridge comment=defconf interface=sfp18
add bridge=bridge comment=defconf interface=sfp19
add bridge=bridge comment=defconf interface=sfp20
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
    192.168.88.0
add address=192.168.110.42/30 interface=vlan4011_uplink1 network=\
    192.168.110.40
add address=192.168.210.42/30 interface=vlan4022_uplink2 network=\
    192.168.210.40
add address=a.b.c.65/27 interface=combo4 network=a.b.c.64
/ip route
add distance=1 gateway=192.168.110.41
add distance=1 gateway=192.168.210.41
/system identity
set name=RouterOS
/system routerboard settings
set boot-os=router-os

Also, when i try to trace route to 8.8.8.8 i see that we are able to reach 192.168.110.41 which should be one of the uplinks but it does not go beyond that. please see attached screenshot
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: akakua, GoogleOther [Bot], iDaemon and 105 guests