Initial setup and internet access

Hi All,

sorry if this is not the correct part of the forum to post this.

we are using “MikroTik CRS328-4C-20S-4S+RM 20x SFP + 4xSFP+ switch met 4x combo” and have executed the below sequence of commands on the switch console but we are not able to connect to the internet. Any help here on what we are missing will be great.


=== begin ===
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.a.b/30 interface=vlan4011_uplink1
add address=192.168.a.c/30 interface=vlan4022_uplink2
add address=p.q.r.s/27 interface=combo2
ip route
add distance=1 dst-address=0.0.0.0/0 gateway=x.x.x.x,y.y.y.y

=== end ===

we are not able to connect to the internet.

Any help on what could be missing would be really great, Thanks.

Sorry not a mind reader!
Missing network diagram and /export.

akshark, since you are new here, first welcome. Second, in order to help you, as anav said we need more details. What he meant by /export was 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.

https://forum.mikrotik.com/viewtopic.php?p=908118