Hi I am trying to get the 4.0 setup, previously when I installed 3.x.x version
few months back I do not remember having to setup vlan for the Host system. But
with 4.x it looks like there needs to be vlans setup? I have not worked with
vlan much before. It appears that in order to support vlan properly the switch
must have 802.1Q vlan and trunk support so that it can pass the tagged frames
properly. My question is, if I am understanding the requirement for a switch
correctly in order to run Cloudstack with basic networking.
If I follow the doc and create the vlan, I can not connect/ping anything to on
the primary network/lan. Other machines on the lan can't see the host either.
Primary net: 192.168.10.0/255.255.248.0
Here is my /etc/network/interfaces file:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0.100
iface eth0.100 inet static
address 192.168.10.139
netmask 255.255.248.0
gateway 192.168.10.254
dns-nameserver 192.168.10.254
# Public network
auto cloudbr0
iface cloudbr0 inet manual
bridge_ports eth0.200
bridge_fd 5
bridge_stp off
bridge_maxwait 1
# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports eth0.300
bridge_fd 5
bridge_stp off
bridge_maxwait 1
Output of ifconfig
cloud0 Link encap:Ethernet HWaddr 8a:30:03:69:ca:89
inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::8830:3ff:fe69:ca89/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:984 (984.0 B)
cloudbr0 Link encap:Ethernet HWaddr 8c:89:a5:de:7f:f7
inet6 addr: fe80::8e89:a5ff:fede:7ff7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:984 (984.0 B)
cloudbr1 Link encap:Ethernet HWaddr 8c:89:a5:de:7f:f7
inet6 addr: fe80::8e89:a5ff:fede:7ff7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:984 (984.0 B)
eth0 Link encap:Ethernet HWaddr 8c:89:a5:de:7f:f7
inet6 addr: fe80::8e89:a5ff:fede:7ff7/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:2705 errors:0 dropped:32 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:345620 (345.6 KB) TX bytes:4610 (4.6 KB)
Interrupt:42 Base address:0x2000
eth0.100 Link encap:Ethernet HWaddr 8c:89:a5:de:7f:f7
inet addr:192.168.10.139 Bcast:192.168.15.255 Mask:255.255.248.0
inet6 addr: fe80::8e89:a5ff:fede:7ff7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:594 (594.0 B)
eth0.200 Link encap:Ethernet HWaddr 8c:89:a5:de:7f:f7
inet6 addr: fe80::8e89:a5ff:fede:7ff7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1774 (1.7 KB)
eth0.300 Link encap:Ethernet HWaddr 8c:89:a5:de:7f:f7
inet6 addr: fe80::8e89:a5ff:fede:7ff7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1774 (1.7 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:777 errors:0 dropped:0 overruns:0 frame:0
TX packets:777 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:51004 (51.0 KB) TX bytes:51004 (51.0 KB)
virbr0 Link encap:Ethernet HWaddr 92:e6:5b:3f:54:93
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)