sean.kiong
May 19th, 2011, 07:18 PM
Hi there,
I had setup a Multi VLANs in VMware ESXi with HP Procurve Networking Switch.
The following is the /etc/network/interfaces summary of the network server which connect all the Virtual Machine.
all my servers is running on ubuntu server 10.04.
vlan5 = network server
addr 192.168.5.5
subnet 255.255.255.0
vlan6 = WAN
addr 192.168.6.5
subnet 255.255.255.240
gateway 192.168.6.1 which is the internet modem ip.
vlan10 = VLANs allow internet access
addr 192.168.10.5
subnet 255.255.255.0
gateway 192.168.5.5
vlan11 = VLANs no internet access
addr 192.168.11.5
subnet 255.255.255.0
gateway 192.168.5.5
I use ip forwarding in /etc/ufw/before.rules to forward vlan5 and vlan10 segmant to vlan6.
-POSTROUTING -0 192.168.5.0/24 -o vlan6 -MASQUERADE
-POSTROUTING -0 192.168.10.0/24 -o vlan6 -MASQUERADE
something like that, the configuration was working fine. vlan10 and vlan11 can access to the servers in vlan5.
vlan5 and vlan10 can access to the internet.
vlan11 do not have any internet access.
My question is whenever the internet is down or vlan6 is disconnected, the entire network will be down. vlan10 and vlan11 can not reach vlan5.
I do notice that vlan11 will try to goto the DNS to search for an internal ip which is vlan5.
Please guide me how can I correct this ugly setting.
Many thanks
I had setup a Multi VLANs in VMware ESXi with HP Procurve Networking Switch.
The following is the /etc/network/interfaces summary of the network server which connect all the Virtual Machine.
all my servers is running on ubuntu server 10.04.
vlan5 = network server
addr 192.168.5.5
subnet 255.255.255.0
vlan6 = WAN
addr 192.168.6.5
subnet 255.255.255.240
gateway 192.168.6.1 which is the internet modem ip.
vlan10 = VLANs allow internet access
addr 192.168.10.5
subnet 255.255.255.0
gateway 192.168.5.5
vlan11 = VLANs no internet access
addr 192.168.11.5
subnet 255.255.255.0
gateway 192.168.5.5
I use ip forwarding in /etc/ufw/before.rules to forward vlan5 and vlan10 segmant to vlan6.
-POSTROUTING -0 192.168.5.0/24 -o vlan6 -MASQUERADE
-POSTROUTING -0 192.168.10.0/24 -o vlan6 -MASQUERADE
something like that, the configuration was working fine. vlan10 and vlan11 can access to the servers in vlan5.
vlan5 and vlan10 can access to the internet.
vlan11 do not have any internet access.
My question is whenever the internet is down or vlan6 is disconnected, the entire network will be down. vlan10 and vlan11 can not reach vlan5.
I do notice that vlan11 will try to goto the DNS to search for an internal ip which is vlan5.
Please guide me how can I correct this ugly setting.
Many thanks