<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: ΢ÈíÑźÚ; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721"></HEAD>
<BODY style="MARGIN: 10px">
<DIV><SPAN><FONT style="FONT-WEIGHT: bold" size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN><FONT style="FONT-WEIGHT: bold" size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT style="FONT-WEIGHT: bold" size=2>i have one controller and two
compute nodes, running nova-network, i have created the following
vmnet.</FONT></SPAN></DIV>
<DIV><SPAN><FONT style="FONT-WEIGHT: bold" size=2></FONT></SPAN> </DIV>
<DIV><SPAN>
<DIV style="FONT-WEIGHT: bold"># nova network-create vmnet
--fixed-range-v4=192.168.11.0/24 --bridge-interface=br100 --multi-host=T
--</DIV>
<DIV style="FONT-WEIGHT: bold">gateway=192.168.11.253 --dns1=192.168.11.36
--dns2=192.168.11.24</DIV>
<DIV style="FONT-WEIGHT: bold"> </DIV>
<DIV style="FONT-WEIGHT: bold">when i start the Cirros instances, the vmnet
gateway IP address 192.168.11.253 will be configured on the bridge br100
on each compute node, however the VM's can comunicate with the external network.
Will this be a problem?</DIV>
<DIV> </DIV>
<DIV>
<DIV style="FONT-WEIGHT: bold">root@compute1:~# ifconfig br100</DIV>
<DIV>br100 Link encap:Ethernet HWaddr
b8:ca:3a:ec:66:8c</DIV>
<DIV> inet <SPAN
style="FONT-WEIGHT: bold">addr:192.168.11.253</SPAN>
Bcast:192.168.11.255 Mask:255.255.255.0</DIV>
<DIV> inet6 addr:
fe80::baca:3aff:feec:668c/64 Scope:Link</DIV>
<DIV> UP BROADCAST RUNNING
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:9043
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:20972
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:903366
(903.3 KB) TX bytes:2504357 (2.5 MB)</DIV>
<DIV> </DIV>
<DIV>root@compute1:~# ip addr</DIV>
<DIV>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state
UNKNOWN</DIV>
<DIV> link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00</DIV>
<DIV> inet 127.0.0.1/8 scope host lo</DIV>
<DIV> inet 169.254.169.254/32 scope link lo</DIV>
<DIV> inet6 ::1/128 scope host</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
br100 state UP qlen 1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:8c brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::baca:3aff:feec:668c/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:8e brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:90 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:66:92 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
qlen 1000</DIV>
<DIV> link/ether 00:0a:f7:24:1e:40 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 10.10.10.182/24 brd 10.10.10.255 scope global
eth4</DIV>
<DIV> inet6 fe80::20a:f7ff:fe24:1e40/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether 00:0a:f7:24:1e:42 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>8: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP</DIV>
<DIV> link/ether b8:ca:3a:ec:66:8c brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> <SPAN style="FONT-WEIGHT: bold"> inet 192.168.11.253/24
brd 192.168.11.255 scope global br100</SPAN></DIV>
<DIV> inet 192.168.11.182/24 brd 192.168.11.255 scope global
secondary br100</DIV>
<DIV> inet6 fe80::baca:3aff:feec:668c/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>10: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
noqueue state DOWN</DIV>
<DIV> link/ether d6:bd:23:e0:86:1f brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 192.168.122.1/24 brd 192.168.122.255 scope global
virbr0</DIV>
<DIV>11: vlan100@br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue master br100 state UP</DIV>
<DIV> link/ether fa:16:3e:94:98:cc brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::f816:3eff:fe94:98cc/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>14: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br100 state UNKNOWN qlen 500</DIV>
<DIV> link/ether fe:16:3e:e9:73:2b brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::fc16:3eff:fee9:732b/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>15: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br100 state UNKNOWN qlen 500</DIV>
<DIV> link/ether fe:16:3e:79:63:1a brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::fc16:3eff:fe79:631a/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV>root@compute2:~# ifconfig br100</DIV>
<DIV>br100 Link encap:Ethernet HWaddr
b8:ca:3a:ec:7b:3a</DIV>
<DIV> <SPAN
style="FONT-WEIGHT: bold">inet addr:192.168.11.253</SPAN>
Bcast:192.168.11.255 Mask:255.255.255.0</DIV>
<DIV> inet6 addr:
fe80::baca:3aff:feec:7b3a/64 Scope:Link</DIV>
<DIV> UP BROADCAST RUNNING
MULTICAST MTU:1500 Metric:1</DIV>
<DIV> RX packets:10420
errors:0 dropped:0 overruns:0 frame:0</DIV>
<DIV> TX packets:21246
errors:0 dropped:0 overruns:0 carrier:0</DIV>
<DIV> collisions:0
txqueuelen:0</DIV>
<DIV> RX bytes:997249
(997.2 KB) TX bytes:2545513 (2.5 MB)</DIV>
<DIV> </DIV>
<DIV>root@compute2:~# ip addr</DIV>
<DIV>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state
UNKNOWN</DIV>
<DIV> link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00</DIV>
<DIV> inet 127.0.0.1/8 scope host lo</DIV>
<DIV> inet 169.254.169.254/32 scope link lo</DIV>
<DIV> inet6 ::1/128 scope host</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
br100 state UP qlen 1000</DIV>
<DIV> link/ether b8:ca:3a:ec:7b:3a brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::baca:3aff:feec:7b3a/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:7b:3c brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:7b:3e brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether b8:ca:3a:ec:7b:40 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
qlen 1000</DIV>
<DIV> link/ether 00:0a:f7:24:25:a0 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 10.10.10.183/24 brd 10.10.10.255 scope global
eth4</DIV>
<DIV> inet6 fe80::20a:f7ff:fe24:25a0/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen
1000</DIV>
<DIV> link/ether 00:0a:f7:24:25:a2 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV>8: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP</DIV>
<DIV> link/ether b8:ca:3a:ec:7b:3a brd ff:ff:ff:ff:ff:ff</DIV>
<DIV style="FONT-WEIGHT: bold"> inet 192.168.11.253/24 brd
192.168.11.255 scope global br100</DIV>
<DIV style="FONT-WEIGHT: bold"> inet 192.168.11.183/24 brd
192.168.11.255 scope global secondary br100</DIV>
<DIV> inet6 fe80::baca:3aff:feec:7b3a/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>10: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
noqueue state DOWN</DIV>
<DIV> link/ether 22:8b:bd:c8:52:90 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet 192.168.122.1/24 brd 192.168.122.255 scope global
virbr0</DIV>
<DIV>11: vlan100@br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue master br100 state UP</DIV>
<DIV> link/ether fa:16:3e:6c:5b:1f brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::f816:3eff:fe6c:5b1f/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>13: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br100 state UNKNOWN qlen 500</DIV>
<DIV> link/ether fe:16:3e:10:c8:29 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::fc16:3eff:fe10:c829/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV>
<DIV>14: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master br100 state UNKNOWN qlen 500</DIV>
<DIV> link/ether fe:16:3e:7d:78:56 brd ff:ff:ff:ff:ff:ff</DIV>
<DIV> inet6 fe80::fc16:3eff:fe7d:7856/64 scope link</DIV>
<DIV> valid_lft forever preferred_lft
forever</DIV></DIV>
<DIV> </DIV></DIV></SPAN></BODY></HTML>