I have two nics on my TS-453Be. I have setup a VLAN (VLAN 44) on adapter 2 and I'm able to create a Virtual Switch which connects to vlan 44 (I call it Virtual Switch 2-V44). As you can see on the diagram it's working fine and it gets an IP. However regardless of anything that I do, I am unable to connect one of my Containers (openhab) to that v44 switch. See attachment. What I want is to connect the red line.
I have tried changing the settings in the configuration of that virtual switch (see attachment)... I go through it selecting the VLAN 44 switch and the container that I want to have connected to it, but nothing changes and it remains connected to the one it is currently connected to.
It's frustrating. Am I doing something wrong or is this the same bug that others are talking about here?
QNAP, any fix for this?
Cannot connect a Container Station to VLAN Virtual Switch
-
- New here
- Posts: 6
- Joined: Sun Jun 03, 2018 2:08 am
Cannot connect a Container Station to VLAN Virtual Switch
You do not have the required permissions to view the files attached to this post.
-
- New here
- Posts: 6
- Joined: Sun Jun 03, 2018 2:08 am
Re: Cannot connect a Container Station to VLAN Virtual Switch
One more thing... In Container Station, there's no option to select the VLAN Virtual Switch... it doesn't show in the list. (See attachment)
You do not have the required permissions to view the files attached to this post.
-
- Starting out
- Posts: 41
- Joined: Sat Feb 02, 2013 10:36 pm
Re: Cannot connect a Container Station to VLAN Virtual Switch
I have this working. on QTS 4.4.3
My setup:
One of my QNAP adapters is named Trunk. It is plugged into a switch port that has no default VLAN ID, so all traffic must be tagged. I added a few VLANs to Trunk In Container Station, I chose Bridge mode networking and Trunk as the interface. As you say, the Trunk (VLAN: 1) is not a choice here. I saved the container settings, then went over to Network & Virtual Switches I found the switch that was connected to my container. In the image below the container's adapter is called unifi_Virtual Adapter 1. I then edited that Virtual Switch's settings. From this settings screen, I can select Trunk (VLAN: 1). I also renamed the virtual switch to Container VLAN 1 so I can identify it later. When I started my container, it got a DHCP address in the VLAN 1 subnet and I was able to talk to it on that IP address.
My setup:
One of my QNAP adapters is named Trunk. It is plugged into a switch port that has no default VLAN ID, so all traffic must be tagged. I added a few VLANs to Trunk In Container Station, I chose Bridge mode networking and Trunk as the interface. As you say, the Trunk (VLAN: 1) is not a choice here. I saved the container settings, then went over to Network & Virtual Switches I found the switch that was connected to my container. In the image below the container's adapter is called unifi_Virtual Adapter 1. I then edited that Virtual Switch's settings. From this settings screen, I can select Trunk (VLAN: 1). I also renamed the virtual switch to Container VLAN 1 so I can identify it later. When I started my container, it got a DHCP address in the VLAN 1 subnet and I was able to talk to it on that IP address.
You do not have the required permissions to view the files attached to this post.
-
- Starting out
- Posts: 41
- Joined: Sat Feb 02, 2013 10:36 pm
Re: Cannot connect a Container Station to VLAN Virtual Switch
UPDATE: The method I describe above does not survive a reboot of the NAS. On reboot, the auto-started container ends up connected to an entirely new Virtual Switch which is wired to the main interface, not a virtual interface.
I swear I tested reboots before and thought it worked. I guess not.
I swear I tested reboots before and thought it worked. I guess not.
-
- New here
- Posts: 6
- Joined: Sun Jun 03, 2018 2:08 am
Re: Cannot connect a Container Station to VLAN Virtual Switch
Thanks for your reply @kbyrd. I had already tried the method you described and couldn't even get to work prior to a reboot, let alone after.
Can anyone describe a way to do this? Perhaps by editing some setup / config file in docker?
Can anyone describe a way to do this? Perhaps by editing some setup / config file in docker?
-
- New here
- Posts: 4
- Joined: Wed Aug 25, 2021 6:58 pm
Re: Cannot connect a Container Station to VLAN Virtual Switch
Sorry to bump an old thread, but has anyone found a solution to this?
- Toxic17
- Ask me anything
- Posts: 6469
- Joined: Tue Jan 25, 2011 11:41 pm
- Location: Planet Earth
- Contact:
Re: Cannot connect a Container Station to VLAN Virtual Switch
obviously not. best to raise a ticket with QNAP.
Regards Simon
Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following
NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following
NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
-
- First post
- Posts: 1
- Joined: Fri Jul 13, 2018 5:37 pm
Re: Cannot connect a Container Station to VLAN Virtual Switch
I am using 5.0.0.1828 and the problem is still alive.
Is there any progress about it?
Is there any progress about it?
-
- New here
- Posts: 9
- Joined: Wed Sep 15, 2021 8:50 am