Ask Your Question
1

The same IP configured on different compute nodes

asked 2013-10-25 00:37:36 -0500

Dongjh gravatar image

updated 2013-10-25 16:22:21 -0500

smaffulli gravatar image

I have one controller and two compute nodes, running nova-network, i have created the following vmnet.

 # nova network-create vmnet --fixed-range-v4=192.168.11.0/24 --bridge-interface=br100 --multi-host=T --gateway=192.168.11.253 --dns1=192.168.11.36 --dns2=192.168.11.24

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 ?**

root@compute1:~# ifconfig br100
br100     Link encap:Ethernet  HWaddr b8:ca:3a:ec:66:8c
          inet addr:192.168.11.253  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::baca:3aff:feec:668c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9043 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20972 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:903366 (903.3 KB)  TX bytes:2504357 (2.5 MB)

root@compute1:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet 169.254.169.254/32 scope link lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br100 state UP qlen 1000
    link/ether b8:ca:3a:ec:66:8c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::baca:3aff:feec:668c/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether b8:ca:3a:ec:66:8e brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether b8:ca:3a:ec:66:90 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether b8:ca:3a:ec:66:92 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:0a:f7:24:1e:40 brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.182/24 brd 10.10.10.255 scope global eth4
    inet6 fe80::20a:f7ff:fe24:1e40/64 scope link
       valid_lft forever preferred_lft forever
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:0a:f7:24:1e:42 brd ff:ff:ff:ff:ff:ff
8: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether b8:ca:3a:ec:66:8c brd ff:ff:ff:ff:ff:ff
    inet 192.168.11.253/24 brd 192.168.11.255 scope global br100
    inet 192.168.11.182/24 brd 192.168.11.255 scope global secondary br100
    inet6 fe80::baca:3aff:feec:668c/64 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-10-25 02:15:07 -0500

sngirame gravatar image

AFAIK...this should not be a problem Check the below link to understand your configuration - Bridge is using eth0 ...see the HWaddr of bridge and eth0 https://wiki.openstack.org/wiki/UnderstandingFlatNetworking#Multiple_nodes.2C_multiple_adapters

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-10-25 00:37:36 -0500

Seen: 593 times

Last updated: Oct 25 '13