I’ve added the IP information to both interfaces and I can reach the Interweb just fine. The problem begins when I go to add Vlans.
ie: I setup a VLAN called, “ADMIN” with an ID of 2 with an ip of 192.168.101.1/24 and assigned it to Eth2 (Private).
I will plug my laptop into the Private port and assign an IP from that Subnet and no dice. Most likely an issue that I don’t have the port on my laptop in the proper vlan ID. No problem…
So I plug it into a 3com 4200g switch and turn on port trunking so it will get all VLAN ids. I’ll assign another port as VLAN ID 2 on the switch so I can plug my laptop in and assign an IP from that VLAN. No joy! I can’t even ping the VLAN interface. Yet when I switch back to the default VLAN 1 and plug directly into ETH2 I can ping/route traffic.
Where am I going wrong?
For some reason I’m having very little luck with Mikrotik. I’m used to doing things in Cisco/3com and while I’m not opposed to learning new things this OS just seems very backwards compared to what I’m used to.
Now I want to create VLAN721 to eth2. (to use web server with Real Public IP).
I did:
[otgoo@MikroTik] > interface bridge add name=VLAN721_bridge
[otgoo@MikroTik] > interface bridge port add bridge=VLAN721_bridge interface=eth2
[otgoo@MikroTik] > interface bridge port add bridge=VLAN721_bridge interface=VLAN721
Web server is connecting to internet all okay. But my LAN clients stopped to connect to internet. Otherwise no connection from 192.168.0.0/24 to 202.131.XXX.XXX gateway.
I think I found the problem here. I did assign IP addresses to the different vlan interfaces but on my core switch (3com) after you enable the trunking you have to set the permit-vlan flag to denote which vlan ids can pass. I failed to do this. I had tried it last week and i was able to route traffic from any vlan.
Now I have to start working on the firewall rules to block/allow inbound traffic as well as rules to block/allow specific traffic between vlans.
I’m slowly learning but don’t have much of a lab to test in so having to use live equipment.