Hello,
First, I am totally new to this level of networking but I did study it in depth by reading the manuals and forums for about a month so I have became familiar with the terms and am pretty familiar with my switch. A friend gave me the RB750 and it is set up for port based VLANs.
I have everything working and it's acting as it should. My problem is I want to be able to access devices on other VLANs. I have two networked satellite receivers and other computers and will be installing NAS etc. If I attach a satellite receiver to the same VLAN my computer is plugged into I can play and record from it but I need to do this from any VLAN. I can also access files on the other computers as long as they are on the same VLAN. It doesn't matter which VLAN, they all work but both devices must be on the same VLAN. I can ping any of the VLANs from any VLAN. I can ping any device on any VLAN from any VLAN.
I have an HP 5120 PoE 48 port Layer 3 Switch and have set up three IP sub-net based VLANs. These were set up with the ip-subnet-vlan commands, not just given sub-net addresses.
The VLANs in the switch are as follows.
VLAN 1: 192.168.10.0 - Ports 1-16
VLAN 2: 192.168.20.0 - Ports 17-32
VLAN 3: 192.168.30.0 - Ports 33-48
This is how the switch displays the VLANs:
display ip-subnet-vlan vlan all
VLAN ID: 1
Subnet Index IP Address Subnet Mask
0 192.168.10.0 255.255.255.0
VLAN ID: 2
Subnet Index IP Address Subnet Mask
0 192.168.20.0 255.255.255.0
VLAN ID: 3
Subnet Index IP Address Subnet Mask
0 192.168.30.0 255.255.255.0
I changed the default address of the RB750 and it is set up on VLAN 1 with IP address 192.168.10.1. Port 1 is the gateway with internet attached to it from the DSL router with a gateway of 192.168.1.254.
Port 1 is ether1-gateway and is attached to the DSL router.
Port 2 is ether2-master-local and goes to port 1 of the HP (VLAN 1).
Port 3 is ether3-slave-local and goes to port 17 on the HP (VLAN 2).
Port 4 is ether4-slave-local and goes to port 33 on the HP (VLAN 3).
The HP VLANs are currently set up to get their IP by DHCP from the MT. I believe they need to be set up with static addresses but I don't know how to do this in the MT.
The MT is setup with DHCP servers for each VLAN and they work. When you plug into the HP you are assigned the proper sub-net IP address and all VLANs have internet access. Your default route and gateway will be .1 for any of the sub-nets, like this for VLAN 2: 192.168.20.1
It is my understanding that the HP switch will allow inter-vlan communication but you have to set it up properly and this is the problem.
The HP 5120 configuration manual says this:
Configuring basic settings of a VLAN interface
For hosts of different VLANs to communicate, you must use a router or Layer 3 switch to perform Layer 3
forwarding. You use VLAN interfaces to achieve this.
VLAN interfaces are virtual interfaces used for Layer 3 communication between different VLANs. They do
not exist as physical entities on devices. For each VLAN, you can create one VLAN interface. You can
assign the VLAN interface an IP address and specify it as the gateway of the VLAN to forward traffic
destined for an IP subnet different from that of the VLAN.
According to that if I use the VLAN IP as the gateway then it will route between VLANs. The MT is assigning addresses with DHCP and it assigns the default route and gateway as the IP address of the interface being used. For instance, if you plug into HP port 22 (VLAN 2) your default route/gateway is 192.168.20.1 which is the IP address of ether3-slave-local. If you plug into HP port 37 (VLAN 3) your default route/gateway is 192.168.30.1 which is the IP address of ether4-slave-local.
I can access the configuration page of my Cisco 3502 AP on VLAN 1 from any VLAN. I can access the configuration page of the HP from any sub-net IP (from any VLAN). Everything seems to work great, but I can't stream from the satellite receiver or share files unless both devices are on the same VLAN.
I'd appreciate any help and I believe the problem is I just don't know enough about the RB750. According to the HP manual it appears the computer needs to have the VLAN IP as the gateway to be able to access other VLANs and if the address isn't found there then the request would be sent to the router for routing to the internet. I think I need static addresses for the HP VLANs, probably assigned by MAC address, and then the computer would need the VLAN IP as the gateway. I think the HP can route between VLANs without the help of the router. I did have it all set up in only the HP with the HP providing DHCP servers and I had three stand alone sub-net networks. I shutdown those DHCP servers and had the MT take over and provide DHCP servers and the intetnet gateway. That was the problem with just the HP switch, there was no internet access from the other VLANs, only VLAN 1 had internet access.
I also do not understand VLANs in the MT and how they relate or link to VLANs in the HP. I'm sorry this is so long and I hope I haven't confused you but I know you need the details. I can post the HP configuration if you need it. Thank you.
Here is the MT configuration:
[admin@MikroTik] > export compact
oct/15/2016 12:04:08 by RouterOS 6.37.1
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] name=ether3-slave-local
set [ find default-name=ether4 ] name=ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=
ether5-slave-local
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=default-dhcp ranges=192.168.10.10-192.168.10.254
add name=v2 ranges=192.168.20.10-192.168.20.250
add name=v3 ranges=192.168.30.10-192.168.30.250
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=ether2-master-local
lease-time=3d name=default
add address-pool=v2 bootp-support=dynamic disabled=no interface=
ether3-slave-local lease-time=3d name=v2 src-address=192.168.20.1
add address-pool=v3 always-broadcast=yes bootp-support=dynamic disabled=no
interface=ether4-slave-local lease-time=3d name=v3 src-address=192.168.30.1
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/interface ethernet switch vlan
add ports=ether2-master-local switch=switch1 vlan-id=1
add ports=ether3-slave-local switch=switch1 vlan-id=2
add ports=ether4-slave-local switch=switch1 vlan-id=3
/ip address
add address=192.168.10.1/24 comment="VLAN 1-10" interface=ether2-master-local
network=192.168.10.0
add address=192.168.30.1/24 comment="VLAN 3-30" interface=ether4-slave-local
network=192.168.30.0
add address=192.168.20.1/24 comment="VLAN 2-20" interface=ether3-slave-local
network=192.168.20.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no
interface=ether1-gateway
/ip dhcp-server network
add address=192.168.10.0/24 comment="default configuration" dns-server=
192.168.10.1 gateway=192.168.10.1
add address=192.168.20.0/24 comment=vlan2-20 dns-server=192.168.20.1 gateway=
192.168.20.1
add address=192.168.30.0/24 comment=vlan3-30 dns-server=192.168.30.1 gateway=
192.168.30.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.10.1 name=router
/ip firewall filter
add action=accept chain=input comment="default configuration" protocol=icmp
add action=accept chain=input comment="default configuration" connection-state=
""
add action=accept chain=input comment="default configuration" connection-state=
""
add action=drop chain=input comment="default configuration" in-interface=
ether1-gateway
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration"
out-interface=ether1-gateway
/ip proxy
set cache-path=web-proxy1 max-cache-size=none parent-proxy=0.0.0.0
/ip service
set api disabled=yes
/ip traffic-flow
set cache-entries=4k
/system clock
set time-zone-autodetect=no time-zone-name=America/Chicago
/system clock manual
set dst-end="nov/06/2016 02:00:00" dst-start="mar/13/2016 02:00:00" time-zone=
-06:00
/system ntp client
set enabled=yes primary-ntp=104.131.53.252
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
/tool sniffer
set filter-mac-address=00:56:A3:4B:39:F3/FF:FF:FF:FF:FF:FF