Forum Replies Created
-
AuthorPosts
-
georgemason
MemberJust to close off this topic, here’s a quick update.
I managed to get QoS working in my environment by changing from a bridged to routed configuration. I’m still not clear on why the bridged setup didn’t work, but by moving everything to layer 3 everything is working as expected.
What I did:
– Gave ETH00 and ETH01 IP addresses, on different IP networks/VLANs
– Changed inside IP of firewall to same IP subnet/VLAN as ETH01
– Gave ETH00 the firewall’s old inside IP
– Configured the default gw on Zeroshell to point to the inside IP of firewall
– Default gw of other machines on network were already pointing at Zeroshell, as ETH00 had the firewall’s old IPAfter making these changes traffic flows and I can see the effect of shaping when I alter the QoS parameters.
Thanks for making such a useful product open-source. I love linux! 😀
George
georgemason
MemberI have thought more about this, and I am fairly sure that I will have to use a L3 (i.e. routed) setup. The reason for this is that I’m trying to use a VM as the bridge, this would be fine if:
– all of the traffic came from the same virtual switch as the Zeroshell VM AND
– I could enable promiscuous mode on the virtual switch port and virtual NIC of the Zeroshell VMHowever some of the traffic comes from the physical LAN, hence same VLAN but seperate switch, and I think that promiscuous mode is disabled by default in VMware ESX.
What is required to change from a bridged to a routed configuration?
Thanks, George
georgemason
MemberJust to clarify, the Zeroshell machine doesn’t see the 802.1q trunks, it just has one interface in one segment (VLAN3) and one in another (VLAN4).
georgemason
MemberHi fulvio, thanks for the reply.
I put the VLANs in place to seperate the two parts of the network which the bridge then connects, providing the QoS. I will attempt to explain in more detail below.
Basically the servers, and the Zeroshell are all running on virtual machines in the same VMware ESX server. The servers and workstations are all on the Inside VLAN, the Zeroshell VM has two interfaces, one of which is on the Inside VLAN, the other on the same VLAN as the firewall.
All machines have addresses on the 192.168.11.0/24 network. The firewall is also on this range. My understanding was that the Zeroshell should act as a L2 bridge between the two segments, therefore forwarding all packets it receives on either interface and doing QoS according to the rules I have created. This doesn’t seem to be happening at the moment, although broadcasts must be getting through, because a test laptop I used managed to get an DHCP IP across the Zeroshell. If I didn’t use VLANs, then when the machines try to get to the default gateway (i.e. the firewall) then they will access it directly, therefore no QoS. Or is this incorrect?
To give an example, my test machine is 192.168.11.10, so the network map is like this:
VLAN3 VLAN4
PC
> Zeroshell
> Firewall
> Internet
192.168.11.10 192.168.11.252 192.168.11.254Thanks,
George
georgemason
MemberSorry, should have mentioned that I’m using the Zeroshell VMware applicance (ZeroShell-1.0.beta9-VMWARE.zip).
-
AuthorPosts