Installing pfSense on brand new hardware – no drivers?
-
He seems like a smart guy. I'm sure he will figure it out. ;)
-
Well unfortunately given my zero prior experience with VLANs, I was unable to make this work. Since I have the venerable WRT54G running my network now, I at least have the stability I need.
At this point I now have the time to either rebuild a new box or futz with the VLAN thing until I get it working. If someone would have the time and patience to help me figure out what I'm doing wrong with the VLAN setup, I'd love to learn how to do it… otherwise, the hardware build I'm currently considering is so:
http://www.amazon.com/gp/product/B00B2D7QU6/ - Jetway mini ITX motherboard with Atom D2550 and dual onboard RTL8111E NIC
http://www.amazon.com/gp/product/B003Y3RWV0/ - Jetway daughterboard with 3x Intel 82541 NIC
http://www.amazon.com/gp/product/B0065SMVVW - 4GB DDR3-1066 CL7 RAMExisting SSD
Existing Mini PCIe WiFi card (though I plan to consider hanging an access point off this eventually, for 802.11n or ac joy)Thoughts, either way?
-
Since you already have the switch I would try to get VLANs working first.
What have you tried? What did it do? What did you expect it to do?Steve
-
Time to get that experience with VLANS now. Could you post your VLAN switch setup as it is now? You might need to post a couple of screens to show the whole configuration.
-
I'll have to get those tonight. The gist is:
Port 1: ACCESS VLAN 10 only (cable modem goes here)
Port 2: TRUNK VLAN 10,20 (pfsense box goes here)
Port 3-7: GENERAL VLAN 20 (misc LAN connections)
Port 8: GENERAL VLAN 1,20 ("management" port for web GUI access)IIRC, all ports except 2 are set to UNTAG, and 2 is TAG.
In pfsense, I created two VLAN interfaces on re0 (the physical port), one with VLAN ID 10 and one with VLAN ID 20, then set those as the appropriate WAN/LAN networks.
Does this sound about right, or does something sound terribly wrong with it? I was able to plug into port 8, and access the pfsense box on port 2, but pfsense wasn't getting a WAN IP.
-
Thye call those "general" and not untagged "access"?
-
(on this switch, anyways:) "ACCESS" can only be assigned to one VLAN, and I believe is UNTAG only.
The big problem I ran into is that the router's WAN VLAN wouldn't get an IP address from the cable modem… and then I just kinda stopped there because without a WAN IP this setup isn't going to do me much good.
-
You can get an IP, I'm pretty sure. You just need to figure out how.
-
See this is exactly why there's always confusion using VLANs. ::)
I confess I always kind of muddle through when setting up VLANs, there always seem to be at least three ways of doing the same thing. The concept of the PVID seems completely superfluous when you can set the ID tag specifically. I am open to be corrected here and I imagine in a much more complex network may require (or at least utilise) these features.The settings you have made don't look obviously wrong. I'll re-read the manual while waiting for screen shots.
Steve
-
Well - He would have to have the pfsense set up properly and the switch in order to get an IP. I really do think this is just a temporary setback. It makes no sense that someone would make a switch that could't have more than 1 untagged access vlan. It did take me a couple minutes to wrap my mind around it, but only a couple. Someone could also set this up via teamviewer and let him watch how its done once. I've done that a few times also.
-
If someone would be willing to do the Teamviewer thing, I'd greatly appreciate it. I could plug the switch's WAN port into the WRT54G's LAN so we can play with it without interrupting the network for everyone else in the house. Both my cable connection and the WRT54G LAN give DHCP-assigned IP addresses, and the WRT54G's range (192.168.1.x) is completely different from where I have my pfSense box set (10.0.x.x) so that shouldn't conflict.
Even if I could get someone in IM or IRC so we could discuss what's going on live instead of spamming the forums, that'd probably go a long ways :)
(BTW, I got home late last night and basically just fed the cats and passed out, so I didn't get to set up the hardware or get screenshots – sorry)
-
Ok, read the manual (we are talking about the TL-SG3210 V1 here?). It's actually refreshingly informative though it still seems needlessly complex to me. ::)
I would do this using only access ports and one trunk port. Since you have more ports than you need (at least at this stage) I would reserve one port to be the management port, that way you can always get back into the switch webgui using a different machine connected to it. It should be possible to use VLAN1 as the LAN interface and that way have access to the switch webgui from any LAN client but doing so is never recommended. This is because the management VLAN, VLAN1, is treated differently by the switch than any other and weird things can happen if you're not paying attention.
So configure your switch much as is shown in the example in the manual, section 6.4. It's only sliughtly different to your own config posted earlier:Port 1: ACCESS VLAN 10 (cable modem goes here)
Port 2: TRUNK VLAN 10,20 (pfsense box goes here)
Port 3-7: ACCESS VLAN 20 (misc LAN connections)
Port 8: ACCESS VLAN 1 ("management" port for web GUI access)I guess the two SFP ports are 9 and 10? You can probably leave them as default which you will notice is also the status of port 8.
Using access ports instead of general removes a lot of the possibility of errors. The PVID of the access ports is automatically set to the VLAN it's assigned to and the PVID of the trunk port should not matter since it should never see any untagged packets.
The only thing that concerns me slightly is that in your previous config the pfSense box should have been able to talk to the modem. The other VLANs may or may not have worked depending on how you had configured the general ports. :-\
I'm very open to being corrected on this. :)
Steve
-
I think you know what you are talking about stephenw10. I could jump on and correct the setup using your outline via teamviewer, but I was sort of thinking someone else might enjoy the experience. I don't see a reason why this won't work. If no one else gets into it in a day or so, I'll have free time for that by then.