Change your gateway for the switch to the same ip as your gateway of your router, 192.168.0.1
Change your switch ip to 192.168.0.2/24
Add you VLAN 300 on the switch
Tag the ports/interface that you want on the switch as VLAN 300 include - untagged
Log into your router and ping from the router to VLAN 300. Basically check your router is actually intervlan routing. I don't know much about the edge router, but check it has switch mode and bridge modes on across the ports, not sure which way it routes.
Change your management VLAN to VLAN ID 1 just until until you get your network up and running, then create a new VLAN on the switch and the router for your management, and make sure you assign a port on the switch for the new management VLAN so you don't lock yourself out of your switch GUI.
** Make sure you set your firewall rules up on your router so that you can access VLAN300 from VLAN 1 as I presume your PC is on VLAN 1
cheers
------------------------------
TerrenceT Tibbs
------------------------------
Original Message:
Sent: 09-08-2021 01:37 PM
From: Matt Gawarecki
Subject: [InstantOn 1930] How can I configure a new VLAN to talk to my router?
Hey Aruba friends 👋
I've been struggling with what I feel like is a simple task, but no matter what I try, I can't seem to find a solution: how can I configure a new VLAN to communicate between my InstantOn switch and my router? I can send pings back and forth just fine over the management VLAN, but other VLANs either time out or are unreachable, regardless of which device the packets are coming from.
To ask a more concrete question: say I want to create VLAN 300 and hook up a security camera on that VLAN using port 2, and I have my switch connected to a router via a trunk on port 7. How can I configure things such that the security camera is reachable from my router? I'm happy to supply additional information necessary to help answer my question, and thanks so much for any help y'all can provide.
----
Here's a quick visual diagram, and an abbreviated rundown of my setup so far:
Switch (Aruba InstantOn 1930):
- Set Up Network > Get Connected:
--- Management Address Type: Static
--- IP Address: 192.168.0.2/24
--- Gateway Address: 192.168.0.1
- Switching > Trunk Configuration
--- TRK 1:
----- Static
----- Members: 7
- VLAN > VLAN Configuration > VLAN Configuration:
---- VLAN 1 (Default)
---- VLAN 300 (Static)
- VLAN > VLAN Configuration > VLAN Membership Configuration:
--- VLAN ID: 300
----- Interface 2: included, untagged
(switch port 7 ↔️ router port eth4)
Router (EdgeRouter 6P):
- eth4 (the interface itself):
--- Address: 192.168.0.1/24
- eth4.300 (virtual interface for VLAN300):
--- Address: 192.168.30.1/24
- DHCP services:
--- 192.168.30.0/24
------------------------------
Matt Gawarecki
------------------------------