[Openstack] Network configuration on compute node

Javier Alvarez javier.alvarez at bsc.es
Wed Feb 27 11:55:56 UTC 2013


Hello,

I'm having troubles with the network configuration in a compute node. I 
followed this tutorial:

http://www.mirantis.com/blog/openstack-networking-single-host-flatdhcpmanager/

But my instances are unable to get an IP via DHCP. The network 
configuration in the compute node when an instance is running is as follows:

 > ifconfig

br100     Link encap:Ethernet  HWaddr fe:16:3e:3b:3f:ef
           inet6 addr: fe80::b0e3:fdff:fe8f:ae5f/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:132 errors:0 dropped:0 overruns:0 frame:0
           TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:24372 (23.8 KiB)  TX bytes:2790 (2.7 KiB)

eth0      Link encap:Ethernet  HWaddr 68:b5:99:c2:3b:04
           inet addr:172.16.8.21  Bcast:172.16.8.255 Mask:255.255.255.0
           inet6 addr: fe80::6ab5:99ff:fec2:3b04/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:12559093 errors:0 dropped:0 overruns:0 frame:0
           TX packets:5842385 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:11928155434 (11.1 GiB)  TX bytes:636265975 (606.7 MiB)
           Memory:fe860000-fe880000

eth2      Link encap:Ethernet  HWaddr 68:b5:99:c2:3b:0e
           UP BROADCAST PROMISC 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:1000
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
           Memory:fe760000-fe780000

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:156854 errors:0 dropped:0 overruns:0 frame:0
           TX packets:156854 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1140082417 (1.0 GiB)  TX bytes:1140082417 (1.0 GiB)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:3b:3f:ef
           inet6 addr: fe80::fc16:3eff:fe3b:3fef/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:7 errors:0 dropped:0 overruns:0 frame:0
           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:500
           RX bytes:1310 (1.2 KiB)  TX bytes:1956 (1.9 KiB)

 > brctl show

bridge name     bridge id               STP enabled     interfaces
br100           8000.fe163e3b3fef       no              vnet0

Also, tcpdump in br100 shows the DHCP being broadcasted (I think):

12:54:17.895215 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from fa:16:3e:7e:eb:2e (oui Unknown), length 280
12:54:20.899472 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
Request from fa:16:3e:7e:eb:2e (oui Unknown), length 280

But they never get to eth2, any help?

Thanks,

Javi

-- 
Javier Álvarez Cid-Fuentes
Grid Computing and Clusters Group
Barcelona Supercomputing Center (BSC-CNS)
Tel. (+34) 93 413 72 46


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer




More information about the Openstack mailing list