- WiFi Bridge - this will be needed to connect the non-WiFi equipment, like the Edgerouter-12, to the WiFi network
- MQTT Server - this would provide an MQTT instance at the WiFi level on the ER12 router for some automation things
- Home Assistant Server - this would provide an HA instance through the ER12 router
- L2TP IPSec Endpoint - this would provide a connection for my laptops from anywhere in the community through the ER12 router
- Raspberry Pi WiFi Endpoint - L2TP IPSec GRE based endpoint that isolates the Ethernet connection of the RPi from the WiFi portion which runs over the campus WiFi network; it also allows a point to point connection between RPi endpoints with multiple networking protocols running over it on whatever vlans I desire; this might possibly be implemented by an RPi Zero W/USB plug
- Plex Server - this would provide Plex capability through the ER12 router
- NextCloud Server - this would provide file and project services through the ER12 router
This is a blog mostly about techie things, what I am doing to my apartment network on the cheap, IOT, 3D Printing, Raspberry Pis, Arduinos, ESP32, ESP8266, Home Automation, Personal Weather Stations, Things That Go Bump in the Night, and some side issues that need discussing. Remember, sometimes the journey to an end is as much fun as the goal achieved!
Friday, December 24, 2021
Possible Networking Changes in an All WiFi Environment
Sunday, February 14, 2021
Project #23 - What Makes Sense to ChangeUp in the Network?
What makes sense in the changeup of my network?
I do have a problem in the way that things are partitioned:
1. vlans are just that, they are setup to not have connection to each other. This is by design, and I went out of my way when I setup my Edgerouter-12 to force vlan isolation even though by default vlans can talk to each other.
2. I actually setup some vlans so that the elements in those vlans would only be able to talk outside the router to the internet and not to each other. This was a security design.
3. I made sure that vlans that were isolated to other vlans were not able to modify any of the settings on my Edgerouter-12 except for the admin vlan. This was a security design.
4. I have a couple of specific computers that are allowed to contact other vlans. This was by design and allows me to monitor equipment as necessary without having to give all my equipment the same level of access. This was a security design.
5. The above way of partitioning has resulted in some problems with being able to get to certain servers. I actually need the following:
- I need to be able to get to port 8123 of my HA-IOT server, on the IOT vlan, from the LAN3 vlan which contains my iPhones, iPads, and laptops.
- My HA-IOT server needs to get to the data servers in the Server vlan
- My Plex server resides in the Server vlan and both the Media and the LAN3 vlan need to get to it
- My Media equipment needs to get to the data servers in the Server vlan
- For testing purposes I need to have some Docker containers in the Development vlan be able to get to the MQTT server on the HA-IOT server in the LAN3 vlan
- My iPhones, iPads, and laptops on the LAN3 vlan need to be able to get to Media equipment on the Media vlan
- Some of these alternate connections are going to require the device to be on the same subnet
So, this means that there needs to be overlap between the different vlans, but at the same time it needs to be controlled. I do have an additional Edgerouter-X which I can use for that purpose. This will be an exploration of what I can accomplish. This Edgerouter-X will not be used as a normal router, but will in fact be the way that I can provide a controlled interface between vlans. If the router is removed, then everything will go back to the way it was before. This will also give me a chance to try out zone based routing on the Edgerouter-X.
Thursday, June 20, 2019
Network General - added an EdgeRouter X as an OpenVPN server
Wednesday, April 18, 2018
Added some patch panels to the network over the weekend
Right now I am concentrating on getting the minimal number of patch panels up along with keeping equipment and connections the same. This is little more than routing an Ethernet cable to a patch panel and then using a patch cable to go from the PP to the device. In the throes of putting the initial two PP together, I made the mistake of routing a piece of equipment to the patch panel as though it were part of the infrastructure. I now know to keep lines primarily from PP to PP within the network.
I started out with a 16 port and one 24 port PP that I placed in two locations. The first location was in the tool room where my main switch is located, that got a 16 port PP. The main switch is like the hub for most of the other managed switches. The second location was part of the computer room shelf where I am not concentrating most of my efforts. I originally drew up a diagram of what I wanted to do first followed by a diagram of where I wanted to go. I followed the first diagram pretty closely but ended up with a lot of differences due to the position of the ports and other equipment that was around it.
Sunday, September 17, 2017
Checking Power for the Computer Room
Friday, March 25, 2016
Adding A New Printer and an Updated Cisco Router
My trusty HP 8500g printer decided on its own to stop printing in a draft mode. It can still print somewhat readable from the front panel (e.g., the network report) but from a remote connection it doesn't come up correctly. This was driving me to drink while I was trying to get some resume's printed. I finally gave up in disgust and ordered a HP OfficeJet Pro 8620 All-in-One Color Photo Printer with Wireless. Like my HP 8500g, it has Ethernet connectivity and wireless connection (I usually don't use the wireless). But there are some new bells and whistles like the AirPrint capability built in (working with my Apple products) and the legal size scan bed. I also noticed that there are some newer software drivers and the printing is much faster. The scanning seems to be more reliable. It had a 4.3 out of 5 rating for 1102 respondents, which is very high.
The new router is an Cisco RV325. The RV220W that I have has reached the end of life and will only be supported with patches until 2020. I got the RV325 because it has a fall-over mode to 3G/4G enabled cell usb adapter. In addition, it has 14 usable ports which may be setup to use VLANs. The additional 2 ports are used for dual WAN connections (one being a fall-over). Looking at the throughput it was around 800Mbps with about 50 Mbps for IPSec connections. Since I am planning on setting up an IPSec VPN to the house, this seemed like a good purchase. It has a 3.8 out of 5 rating for 50 respondents. Update: response time is very quick on this router, much faster than my RV220W. I will probably push the RV220W into service as a WAP only box.
Monday, February 8, 2016
Added Raspberry Pi Cluster for Experimenting
When I was putting this together I was running some tests on a bench with the following layout:
I moved the cluster and router (acting as an 8 port managed switch) to an area where I have a UPS so that the power would be filtered. The first item on the list is to get a reasonable IPSec VPN running, hopefully using StrongSwan with some decent encryption, say AES256. Since the router has a WAN port, I can use that any time that I need to update the RPis in the cluster - just add a wire and then take it away. I did discover one issue though, I am going to have to remove the Mac Mini from the NML vlan because I noticed that all of the ports that were open on my personal vlan were open on the NML vlan. I don't know how to correct that so for now, after I get the IPSec VPN setup, I will remove the Mac Mini so I can reduce the probability that someone will hack into my network.
Saturday, January 23, 2016
TravelRouter#2 - Updated to Routed Client Mode using LuCI
In the expedience of time I will explain the process in the following paragraphs.
(1) connect the router via an Ethernet plugged into the LAN port and the other end placed into a USB to Ethernet adapter on the laptop.
(2) disconnect the laptop from all Ethernet connections except for the router connection.
(3) log into the router with credentials using your browser; select Network -> WiFi.
(4) click on the Scan button next to the "Generic MAC80211 802.11bgn (radio0)" line. Select the WiFi network that you wish to join by clicking on the "Join Network" button.
(5) leave "Replace Wireless Configuration" checked, this will ensure that everything is replaced. Enter the wpa2 passphrase. Make sure that WAN is selected; this will ensure that the wireless setup is associated with the WAN connection on the router. Select save.
(6) When the next screen comes up, make sure that WAN is selected. Click on Save and Apply.
(7) At the next screen you should see the selected WiFi under the "Generic..." line. Next, click on the Add button next to the "Generic..." line. Select LAN to associate with this new WiFi SSID. Change the name from"OpenWRT" if you desire a different SSID for your LAN network connection.
(8) select Wireless Security tab to setup the WPA2 data. Select WPA2-PSK for encryption and "Force TKIP and CCMP (AES)" from the dropdown next to Cipher. Add the passphrase as necessary. Click on Save and Apply. This will bring you back to the screen with the "Generic..." line. You should see both the SSID of the WiFi you are connected to on the WAN side, and the SSID for the LAN side. At this point you are set up.
That is pretty easy setup for OpenWRT. Next, I got to figure out a couple of different setups including one with OpenVPN back to my house.
Friday, January 15, 2016
TravelRouter #1 - I Bought a GL-iNet 6426A Travel Router
I also immediately set the system to allow ssh connections on the LAN side. The next tweek was to update the software listings and setup LuCI for web interface. I did that through ssh (instructions here). I next setup the router with my own SSID and WPA2 password (without enabling the wireless). The interface allowed me to choose between putting the wireless on the LAN or the WAN side of things, I chose LAN. After all that, it would appear that I have about 11.95 MB more space for software. That means that I can do a lot with it.
My main thought is to setup some standard configurations with some kind of selection through the web interface to easily set the router to what I want. That may take some doing. More Later.
Monday, December 21, 2015
Learning BGP - Thinking of adding a number of RPi BGP routers to the network
Monday, February 10, 2014
Manuevered Some connections around to make way for a special VLAN
I have been reading up on the DarkNet and what that really means. Since I am getting more involved with security I thought it might be a good thing to explore various anonymization networks, e.g. TOR, to see how they function and what to expect when I am out there. This obviously involves assuming a pseudo id to mask who I really am - new territory, haven't ventured there before.
I was able to set up a VLAN on the ActionTec router from http://support.actiontec.com/doc_files/Creating_an_Ethernet_VLAN.pdf on the ActionTec site. The instructions are a little old but after a bit of trying out different things, I was able to have a VLAN (tagged) on a specific port with a DHCP server and a localized subnet. I then proceeded to change the wiring around a little, moving my MacMini ethernet connections from the tail-end switch to the one just before it. I set up the first switch to have a tagged input port then connected an Ethernet cable from the ActionTec to it. Next I set up the switch to send the new VLAN down a trunk line to the second switch and from there to the third and last switch. In the process of doing this I consolidated a number of Ethernet connections to one switch which actually speeded up my access to the outside. I was also able to reduce the usage of the last switch in the stream to make it more experimenter like, including adding the new VLAN.
I now have a line from the ActionTec router that has only one port (I will be putting a laptop on this port) isolated from my network that I will be able to use for Anonymity.
Thursday, November 7, 2013
Issue with the FVS318N Router
My main motivation in setting up the LAN to LAN rules is to allow the Media VLAN to be able to access the Plex server running on my Mac Mini which is on a completely separate VLAN. In addition to that, I use the Mac Mini as the main workstation for modifying the routers and switches in my home network. Yea, I know, way too much - but I enjoy doing what I do. I was thinking that I might try my hand at setting up either a Raspberry Pi router or setup a VM on the Mac Mini to do the routing. What would be perfect is if I could do it on the new FVS318N. This router will be able to replace about 3 devices if I succeed.
Update: I figured out that if I use a "1 to 1 NAT" from a router, I can have an IP show up in one VLAN from a device resident in another VLAN with a different IP. I am currently working the issue using a VM on the Mac Mini to do the routing with Shorewall. Once I get that up and running, I will transfer it to a Raspberry Pi router which will be on all the time.
Monday, November 4, 2013
Found an interesting thing while using one of my routers
I still have an issue though, because I set up the ActionTec router to route specific ports to my main router. However, with this new connection, I have a means of controlling pretty much everything in the house. I was wondering how I might fit my new FVS318N router into the mix. Originally, I was going to put it upstairs and replace 3 devices (my main router, the upstairs switch and the router I use with the media vlan downstairs). The media vlan router is connected into the DMZ vlan in the downstairs bedroom. I was going to use the FVS318N to replace it as I could set up multiple dhcp servers, each tuned to a separate vlan. This has been the issue throughout my house as I expand the capabilities of my setup.
Sounds like I need to explore a little more of what vlans can do for me.
Tuesday, May 21, 2013
FInally broke the code on the Vlan setup
The GS108T instructions are a little vague on how to set up ports as tagged and untagged on isolated vlans. I needed to set up ports between two managed switches with a trunk line, i.e. the packets were 802.1Q tagged, with packets going in opposite directions on the same physical ethernet line. My problem centered around understanding what the instructions were saying, not that they are bad instructions, it's just that they left out some details or someone assumed that the user would automatically know what to do. I am learning how to use the product correctly. I found out that you needed to set up the ports on either side of the trunk line in the following manner:
- you need to set the T on each of the vlans that you want to appear as tagged on the port; the vlan numbers should be the same on either switch.
- on the PVID screen you need to set the acceptable frame types as "VLAN only" instead of "Admit All"; this forces the port to discard any untagged packets that appear
- on the PVID screen ignore the PVID field for the trunk port; this was not clear in the documentation
- on the PVID screen leave the ingress filtering to "Disable" as the opposite drops tagged packets that are not the id in the PVID field; since you can only have one number in the PVID field, this would not be a good choice (not clear in the documentation)
- you need to have a U on each of the ports represented with the vlan that you want to recieve/transmit on; note that only one vlan should be present on the untagged ports to isolate the vlan from others; this is not true of the tagged ports
- on the PVID screen change the PVID field to be the vlan number that you wish to have on the port
- on the PVID screen leave the acceptable frame types to "Admit All" for the untagged port; this will ensure that the incoming packets will be destined for the specific vlan mentioned in the PVID field
- on the PVID screen leave the ingress filtering to "Disable" on the untagged port; this will ensure that the rules in 802.1Q are followed for the port
Thursday, December 6, 2012
Strange Port Openings Appeared
This morning I was fiddling with the router and I remembered that I still had uPnP running. When I went to turn it off, I noticed that the Teredo tunneling protocol had been activated from both the WMC pc and the CE ip addresses. (I looked it up) The Teredo tunneling protocol is a way of tunneling through a router that has IPv6 turned off, which is the case on my router. I turned off IPv6 because of all the things that I had read concerning bypassing routers. Symantec has a nice writeup on how this protocol can be used by botnets, viruses, etc. to wreak havoc on a network. Needless to say, I eliminated the Teredo ports and turned off uPnP altogether.
I am assuming that the CE will still work with the WMC PC because Microsoft should have already given out certs for the connection. There should no longer be a need to pass back any information. I will test it out tonight but the theory is that this setup should work without having uPnP or those ports available. Otherwise, I am really concerned that I have an opening to the outside that I did not authorize.
BTW, what are people who aren't tech knowledgeable supposed to do?
-- LW
Sunday, December 2, 2012
First Vlan Tryout Setup
1. Setup the Stack to connect through vlan8.
2. Setup the Mac Mini to put vlan8 out as a tagged stream.
3. Setup the Mac Mini to be able to get to any system in vlan8, but not the other way around (iptables equiv.).
4. Setup the first switch to accept vlan8 packets on the same port as the Mac Mini.
5. Setup the first switch to pass the tagged vlan8 to the second switch on a trunk.
6. Setup the second switch to receive the tagged vlan8 packet on the trunk and pass it as a tagged packet to the port on which the router resides.
7. Setup the router to receive the tagged vlan8 packet on the trunk line and pass it on through the NAT firewall to the outside.
8. The router should be set up so that it does not allow cross communication between vlan8 and any other vlan on the router.
9. Setup the router with a port forward to the VMware stack.
That is basically what I need to accomplish, now on to figuring out the particulars of each.
Update: 12/3/2012 - I have performed steps 4, 5, and 6 with the two switches. That was the easy part of this sequence. I have decided to make the subnets reflective of the vlan number by using the vlan number as one of the 4 octets. Not sure whether to use C, B, or A addressing scheme. I have also performed step 2 to have the vlan8 output as a tagged stream. When I went to perform step 1 I set the Stack to the vlan that I had created in step 2, I encountered no problems. When I changed the DHCP address to the new vlan8 subnet that is when the problems began. More later.
- LW
Friday, November 16, 2012
Less Than Happy with the New Router
I will be attempting to close this port down in the near future. If I am not able to do that, I will be putting all of my network behind my other router and DMZing the connection to it from the ActionTec. If the organization down south needs to see what I have in my network they can contact me directly. Conspiracy theories aside, I just don't trust something that I know nothing about and is well known across the internet. The port is also the same port that is used by at least two botnets for their control. Also the username and password combo is subject to attack. That is why I don't allow management of any router I have directly from an Internet connection. Hopefully Verizon will understand.
Update: [12/2/2012] it would appear that I may be completely wrong here. The ActionTec router has a TR-069 capability which allows it to be controlled as part of a larger scale system for remote management of end-user devices. (see http://en.wikipedia.org/wiki/TR-069)
- LW
Saturday, October 20, 2012
A Little Router Conversion
Thursday, October 18, 2012
Well Fudge - My Router Doesnt Do Port VLANs
Now I have re-arranged my network setup to only have one port into the Buffalo router which will be trunk fed, i.e. all the packets will have tags. I will also be able to have separate DHCP servers for each tagged vlan to put the addresses into separate subnets. The other two routers I have are Linksys WRT54GLs which have Broadcom chipsets and will support the port - trunk metaphor. They are 100MHz ethernet but that is less important in the lower portions of my network. So with a little re-arrangement I have resolved the main issue. Now I can use the Netgear managed switch to force my little vlans to appear.
-- LW
Tuesday, October 16, 2012
Oops - Operator Error - Did Not Look at Examples
In the setup for Port Forwarding, there was a entry in each port field asking for the source network. I just assumed that it meant WAN if I wanted the Internet. The field was there to limit the IP addresses to a certain range of values, not the overall VLAN name. It sometimes pays to look at the help files. In this case, nowhere in the documentation does it tell you that is what the field is for; glad I now know.
I updated the software to set up some VLANs running through the house and keep certain flows like TV STB flows from interacting with Wireless traffic and personal computer traffic.
Now I am onto getting the VLANs working
- LW

