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

Beginner Basics • Network works on console but not on my switch ports

$
0
0
Hey guys,

I am new to Mikrotik devices and face a problem with my CRS326-24G-2S+.
No matter what I do on my client (DHCP or static IP), when I am connect to the switch via ethernet I can't ping the gateway (and other IPs on that network).

What works right now is:
- I can connect to the switch from a different vlan through my cisco switch.
- internet works on the CRS and on the console I can ping everything behind my cisco switch.

What I did was creating a bridge, then the vlans and put them onto the ports and created a trunk on Port9 to my Cisco switch.
It's a basic config and I simply want to use it as a L2 switch for now (though I am using RouterOS).

So like you see in the config then tried to:
- setup port 2 and port 17 to obtain an IP from vlan10 (also tried static IP)
- tried the same with vlan111 on port 18 (also dhcp and static)

Cisco side is pretty basic, also disabled STP. I noticed that by default ether1 is defined as WAN.
So also was configuring ether1 like I did below but the results were the same.

Why doesn't it work? What did I forget?

Let me show you my conifg. I deleted some unimportant stuff about other ports to make it more readable:

Code:
/interface bridgeadd igmp-snooping=yes name=bridge1 protocol-mode=none/interface vlanadd interface=bridge1 name=vlan10 vlan-id=10/interface listadd name=WANadd name=LAN/ip hotspot profileset [ find default=yes ] html-directory=hotspot/portset 0 name=serial0/interface bridge portadd bridge=bridge1 interface=ether1add bridge=bridge1 interface=ether2 pvid=10add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=ether17 pvid=\    10add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=ether18 pvid=\    111/ip neighbor discovery-settingsset discover-interface-list=!dynamic/interface bridge vlanadd bridge=bridge1 vlan-ids=1add bridge=bridge1 tagged=ether9 untagged=ether2,ether17,bridge1 vlan-ids=10add bridge=bridge1 tagged=ether9 untagged=ether18 vlan-ids=111/interface list memberadd interface=ether1 list=WANadd interface=ether2 list=LANadd interface=ether17 list=LANadd interface=ether18 list=LAN/ip addressadd address=10.0.0.6/28 interface=vlan10 network=10.0.0.0/ip dnsset servers=10.0.0.1/ip routeadd disabled=no dst-address=0.0.0.0/0 gateway=10.0.0.1 routing-table=main \    suppress-hw-offload=no/system routerboard settingsset boot-os=router-os

Best regards!
Yann

Statistics: Posted by yanndecay — Sun Jan 07, 2024 5:19 am



Viewing all articles
Browse latest Browse all 21317

Trending Articles