memphis2k
Occasional Visitor
Hello,
I'm new to tagging VLAN's and need some assistance.
Hardware:
pfSense in a Hyper-V VM setup with VLAN tagging (1-100)
HP V1810 48 Port managed switch
RT-AC68U running latest Merlin
VLAN's:
VLAN 1: (default) everything otherwise specified
VLAN 11: Insecure Hardwired (Works)
VLAN 21: Guest Network on AC68U (Works)
I can get Guest VLAN Wifi to work (DHCP) on an Android phone however, when I do, the the normal 2.4/5Ghz Wifi does not work, no DHCP from pfSense once I run the below code.
I only got VLAN 21 / Guest Wifi to work when I tagged Port 1 & Port 37 on VLAN 21.
With a managed switch, the HP V1810, do i need two Cat5e's going to the AC68U, one for the normal VLAN 1 & another for VLAN21? This is where I'm lost.
HP V1810 Tag choices:
Tagged
Untagged
Exclude All
Port 1 - From pfsense LAN to HP Switch
Port 45 - Repair PC - VLAN 11
Port 37 - AC68U
Or do I need to change something below:
I'm new to tagging VLAN's and need some assistance.
Hardware:
pfSense in a Hyper-V VM setup with VLAN tagging (1-100)
HP V1810 48 Port managed switch
RT-AC68U running latest Merlin
VLAN's:
VLAN 1: (default) everything otherwise specified
VLAN 11: Insecure Hardwired (Works)
VLAN 21: Guest Network on AC68U (Works)
I can get Guest VLAN Wifi to work (DHCP) on an Android phone however, when I do, the the normal 2.4/5Ghz Wifi does not work, no DHCP from pfSense once I run the below code.
I only got VLAN 21 / Guest Wifi to work when I tagged Port 1 & Port 37 on VLAN 21.
With a managed switch, the HP V1810, do i need two Cat5e's going to the AC68U, one for the normal VLAN 1 & another for VLAN21? This is where I'm lost.
HP V1810 Tag choices:
Tagged
Untagged
Exclude All
Port 1 - From pfsense LAN to HP Switch
Port 45 - Repair PC - VLAN 11
Port 37 - AC68U
Or do I need to change something below:
Code:
#!/bin/sh
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"
#logger starting guest vlan
nvram set ctf_disable_force=1
nvram set ctf_disable=1
#Model { WAN L1 L2 L3 L4 CPU }
#RTAC68U: { 0, 1, 2, 3, 4, 5 }
#Create/Remove vlan tag port 1 & CPU
robocfg vlan 21 ports "1t 5t"
vconfig add eth0 21
brctl addbr guest
brctl addif guest vlan21
brctl delif br0 wl0.1
brctl addif guest wl0.1
ifconfig vlan21 up
killall eapd
#eth1 and eth2 are 2.4 and 5ghz main wifi
nvram set lan_ifnames="vlan1 eth1"
nvram set lan_ifname="br0"
#wl0.x is 2.4ghz guests (Virtual Access Point)
#wl1.x is 5ghz guests
nvram set lan1_ifnames="vlan21 wl0.1"
nvram set lan1_ifname="guest"
ip link set guest up
eapd
Last edited: