VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots
-
Outbound rules look OK. Although I'm wondering why 192.168.11.0/24 shows twice, are you using the same IP space for two different OpenVPN tunnels?
And the results of the connectivity test?
-
@grimson said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
Outbound rules look OK. Although I'm wondering why 192.168.11.0/24 shows twice, are you using the same IP space for two different OpenVPN tunnels?
And the results of the connectivity test?
Client (my iphone)
IP:192.168.30.10
Subnet mask: 255.255.255.0
Router/Gateway: 192.168.30.1
DNS: 192.168.30.1I'm only using one OpenVPN tunnel right now. It could be that when I was following a guide, I double send some data and ignored it when it worked the 2nd time. Could retrace where the mess i left. :(
Connectivty test for client's ip address to LAN, VLAN30 and WAN.
Only VLAN30 has a reply when pinged.
-
I linked you to the client tests, so test from a client on VLAN30.
-
@grimson said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
I linked you to the client tests, so test from a client on VLAN30.
My bad.
Connected my laptop on my wireless VLAN30 which provided me these credentials
IPv4 Address. . . . . . . . . . . : 192.168.30.11
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.30.1Pinged my LAN IP, RTO
Pinged WAN IP, RTO
Pinged WAN Gateway, RTO
Pinged 8.8.8.8, RTO
and lastly pinged www.google.com, RTO.I can only ping 192.168.30.1 which also redirects me to pfSense.
I appreciate the time and help you're doing Grimson. Thank you for the patience. :D -
Any floating rules? Any errors during the filter reload progress? Output of Diagnostics -> Routes?
-
@grimson said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
Any floating rules? Any errors during the filter reload progress? Output of Diagnostics -> Routes?
No floating rules. It's taking some time to load though.
-
Which ports on the switch are connected to what?
I expect to see two ports tagged with VLAN30 there. Packets are tagged to pfSense and tagged to the AP. I'm not really sure how DHCP is working there without that.
Steve
-
Why are you showing port 1 on your switch as T for vlan 1?
Why are things showing as grayed out on port 1?
Here is how it works.. Vlan 1 should be untagged since that is your management port for your AP right.. your LAN..
So pfsense -- 1U,30T -- switch -- 1U,30T -- AP
You would have 2 trunked ports here.. 1 that goes to pfsense, and another that goes to AP.. Per thread on unifi.. Might be old but setting trunked allows all vlans and vlan 1 would be untagged. etc
-
@johnpoz said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
Why are you showing port 1 on your switch as T for vlan 1?
Why are things showing as grayed out on port 1?
He has set port 1 as a trunk port with native VLAN on ID 1, so that should be OK.
Port 8 has VLAN ID 1 as untagged and 30 as tagged, so as long as he has pfSense and the AP each on one of these two ports it should work.
Though I haven't worked much with Unifi switches, so I could be wrong there.
But as he can ping from his VLAN to pfSense and back, and can reach the WebUI from a client on that VLAN it looks good to me.
Sadly he hasn't really answered two of the three questions I asked him last.
-
Yeah but sure looks like it shows T on the vlan 1... And U for 30 on port 1.. Which sure wouldn't be right.. If that is where pfsense or AP is connected too.. We just had this discussion - not very normal to tag vlan 1.
Once you click trunked maybe doesn't matter - but its kind of BS info its giving you then.
-
@johnpoz said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
Once you click trunked maybe doesn't matter - but its kind of BS info its giving you then.
Guess why I keep away from Unifi switches
-
@sethelyon said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
@grimson said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
Any floating rules? Any errors during the filter reload progress? Output of Diagnostics -> Routes?
No floating rules. It's taking some time to load though.
Port 1 is the trunk port and is grayed out so no matter what the letter stands for as long as it is on trunk port it doesnt matter. But beats the purpose of changing it. Very confusing.
@Grimson I appreciate the help sir. Here's the screenshot of Diagnostics > Route. I blacked out my public IP.
@johnpoz I though that putting Untagged on port 8 VLAN ID 1 and tagging VLAN ID 30 on port 8 should do the trick, it does. It gives the correct IP but no internet connection. Yeah, confusing about the grayed port when it is enabled as a trunk port. Changes are not valid if it is grayed. i tried doing it away (even the grayed tagging) still doesnt work.
Im so lost why it is not working. :(
I am so sorry for the late reply because I had to deal with some medical issues. I appreciate everyone for taking in the time for helping.
-
Here's some graph that happening now.
my iPhone is currently connect to VLAN 30 and has the right IP but no internet.
laptop is connected to LAN WIFI which is working as expected.Created a new vlan with a different AP (old dlink ap) and it worked. But is it on a different vlan and untagging that port works.
So the issue may come to when I have 2 vlans on a single port (port 8). Which I dont know if the switch is to blame which gave the right IP.
-
So do your non vlan have internet? And its just the vlan that doesnt?
-
@sethelyon said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
I can only ping 192.168.30.1 which also redirects me to pfSense.
What does this mean exactly - redirects you to pfsense?
Are you running proxy? Any other packages?
-
@johnpoz said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
So do your non vlan have internet? And its just the vlan that doesnt?
Non VLAN has internet, just that this VLAN 30 doesn't have internet.
Made a new test where I created a new vlan with a different AP (old dlink ap) and it worked. But is it on a different vlan and untagging that port (different port) works.
So the issue may come to when I have 2 vlans on a single port (port 8). Which I dont know if the switch is to blame which gave the right IP anyway.
-
I don't have unifi switch... But I have their AP and been using them for long time...
Simple enough test to check on pfsense via tcpdump if your seeing the tags or not.. If you can say you can ping the vlan IP of pfsense then it should be working.
And you say you can not even ping teh lan IP? You sure there is not something stepping on your vlan IP? 30.1
-
@johnpoz said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
I don't have unifi switch... But I have their AP and been using them for long time...
Simple enough test to check on pfsense via tcpdump if your seeing the tags or not.. If you can say you can ping the vlan IP of pfsense then it should be working.
And you say you can not even ping teh lan IP? You sure there is not something stepping on your vlan IP? 30.1
can't ping the IP LAN. I'm on the investigation to check if there's any installed packages that is stepping on my VLAN 30. Because there's a few like avahi, suricata, squid which I didn't put in the first place. (home lab with some guys testing it as well).
-
@sethelyon said in VLAN getting IP but no internet (pfSense, EdgeSwitch8XP, UniFi AC LR) with screenshots:
suricata, squid
Dude!! You need to mention this from the get go... Turn these off!! For troubleshooting.
You should be able to ping the lan IP.. Your saying you can access pfsense web gui from the vlan?
-
Yeah that is very confusing having those ports still marked tagged and untagged but not applying that setting. Weird. Guess I learned something today.
Anyway the fact you are getting an IP in the correct subnet and can ping the pfSense interface tells me the VLAN is configured correctly.Can you ping 192.168.0.1 from a client on the guest VLAN?
Steve