Ask Your Question

malascom's profile - activity

2016-07-19 03:55:29 -0600 received badge  Famous Question (source)
2016-07-07 09:31:13 -0600 received badge  Famous Question (source)
2016-06-20 08:56:15 -0600 received badge  Famous Question (source)
2016-06-20 08:56:15 -0600 received badge  Notable Question (source)
2016-06-20 08:56:15 -0600 received badge  Popular Question (source)
2016-06-06 01:08:21 -0600 received badge  Taxonomist
2016-04-22 06:05:41 -0600 received badge  Famous Question (source)
2016-04-17 15:04:44 -0600 received badge  Notable Question (source)
2016-04-12 05:32:17 -0600 received badge  Famous Question (source)
2016-03-03 07:29:26 -0600 asked a question OpenStack Compute node linux bridge problem

On the virtual machines we have two network interfaces. Eth0 (10.70.70.0/24) and eth1 (10.71.71.0/24)

i use eth1 for managment and eth0 for public access

The DHCP reply packets are not able to reach the TAP interface because the bridge is sending the packet back to eth0.

Eth0 is saying to the bridge that he has the INSTANCE interface and the packet is sent back to eth0. Eth0 sends it again to br interface and they get in a loop. At the end the packet gets droped. Here brctl showmacs on the bridge

$ brctl showmacs brq466a96cb-7a
port no mac addr                is local?       ageing timer
  2     00:0c:29:18:5d:36       no                 0.26
  2     00:0c:29:a0:61:0a       yes                0.00
  2     00:0c:29:a0:61:0a       yes                0.00
  2     00:19:56:be:2d:ad       no                 1.85
  2     00:19:56:be:2d:ae       no                 1.85
  2     64:9e:f3:35:b0:37       no                 0.00
  2     fa:16:3e:76:b2:65       no                18.17
  2     fa:16:3e:f4:33:9c       no                11.16
  1     fe:16:3e:76:b2:65       yes                0.00
  1     fe:16:3e:76:b2:65       yes                0.00

fa:16:3e:76:b2:65 is the mac of the instance and as you can see in the table is writen that is on port 2 where eth 0 is

Please help me how to fix this. The interfaces are in promiscus mode

2016-02-29 15:15:32 -0600 received badge  Notable Question (source)
2016-02-29 15:09:15 -0600 received badge  Notable Question (source)
2016-02-25 09:46:16 -0600 received badge  Popular Question (source)
2016-02-23 11:56:22 -0600 received badge  Famous Question (source)
2016-02-23 11:55:42 -0600 received badge  Notable Question (source)
2016-02-23 05:43:49 -0600 asked a question network interfaces in open stack liberty

In the official Liberty install-guide it is written to configure the interfaces like this :

Configure the first interface as the management interface:

     IP address: 10.0.0.11

     Network mask: 255.255.255.0 (or /24)

     Default gateway: 10.0.0.1

The public interface uses a special configuration without an IP address assigned to it. Configure the second interface as the public interface:

# The public network interface
auto INTERFACE_NAME
iface  INTERFACE_NAME inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down

How can we establish connection to internet with interface like this , with NO IP ADDRESS ?

My first interface is host-only interface and the second i tryed with NAT and with bridged but is not working. I can not access the internet .

Can someone help me understand how can i access the internet without an IP address :D ?

2016-02-22 08:56:12 -0600 commented question linux bridge not forwarding packets to tap interface

darragh-oreilly do you know how to set up vnic to promiscous from vmware ?

2016-02-21 01:59:35 -0600 received badge  Popular Question (source)
2016-02-20 11:21:29 -0600 commented question linux bridge not forwarding packets to tap interface

thank you a lot ... That was the problem, i set up the network interface eth0 to promiscous from Virtual Box Menu and now is working :D thanks one more time

2016-02-20 10:46:00 -0600 commented question linux bridge not forwarding packets to tap interface

i am runing on vbox but anyway i will set up the interfaces to promiscous. Just one question, is it OK that my eth0 in vbox is set up as bridged_adapter and my eth1 is as host only adapter or i need to change that ?

2016-02-20 10:46:00 -0600 received badge  Commentator
2016-02-20 10:15:15 -0600 received badge  Popular Question (source)
2016-02-20 09:57:00 -0600 received badge  Student (source)
2016-02-20 03:11:36 -0600 commented answer linux bridge not forwarding packets to tap interface

ok i will tru option 2 and i let you know how it goes

2016-02-19 14:46:14 -0600 commented answer linux bridge not forwarding packets to tap interface

the problem is there do you have any idea how to fix this ? because the bridge is looking in the table, he sees the first entrance that says port 2 for fa:16:3e:4d:41:d6 and he sends back to eth0

2016-02-19 14:44:55 -0600 commented answer linux bridge not forwarding packets to tap interface

i just added the files in the description. i just noticed that in $brctl showmacs command there are three entries for the instance: 2 fa:16:3e:4d:41:d6 no 132.30 1 fe:16:3e:4d:41:d6 yes 0.00 1 fe:16:3e:4d:41:d6 yes

2016-02-19 08:15:45 -0600 asked a question linux bridge not forwarding packets to tap interface

I have installed Liberty version of openstack. I get problem when a dhcp request i send form the instance . I create a FLAT network and i boot the instance, the problem is that the DHCPDISCOVER reaches the DHCP server on the controller, the DHCP server generates DHCPOFFER and the DHCPOFFER is propagated to the compute node. When the packet is at the linux bridge of the COMPUTE NODE, the packet is sent towards eth0 and not the Tap interface on which the instance is .

As you can notice in the $brctl showmacs command there are three entries for the instance:

  2     fa:16:3e:4d:41:d6       no               132.30
  1     fe:16:3e:4d:41:d6       yes                0.00
  1     fe:16:3e:4d:41:d6       yes                0.00

the first one is saying that is not local and he is sending the packet to PORT 2 on which is eth0... how do i fix this in the linux bridge ?

Can somebody help me how to make the linux bridge forward the packet towards TAP interface...

I can see the DHCPOFFER packet on eth0 interface , then i can see it in the linux bridge and then again in the eth0.. the packet is sent back

Here is my configuration on compute node:

ifconfig on the compute node:

root@compute:/home/opencontrolnode01# ifconfig
brqa7ecec51-b9 Link encap:Ethernet  HWaddr 00:0c:29:a0:61:0a
          inet addr:10.70.70.7  Bcast:10.70.70.255  Mask:255.255.255.0
          inet6 addr: fe80::508b:a1ff:fe44:c9c3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1442 (1.4 KB)  TX bytes:1564 (1.5 KB)

eth0      Link encap:Ethernet  HWaddr 00:0c:29:a0:61:0a
          inet6 addr: fe80::20c:29ff:fea0:610a/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:285454 errors:0 dropped:2 overruns:0 frame:0
          TX packets:298 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:261167472 (261.1 MB)  TX bytes:47022 (47.0 KB)

eth1      Link encap:Ethernet  HWaddr 00:0c:29:a0:61:14
          inet addr:10.71.71.7  Bcast:10.71.71.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fea0:6114/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1814 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1959 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:587718 (587.7 KB)  TX bytes:693827 (693.8 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:65536  Metric:1
          RX packets:3209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3209 ...
(more)
2016-02-19 02:35:21 -0600 received badge  Enthusiast
2016-02-18 15:15:49 -0600 received badge  Popular Question (source)
2016-02-16 14:22:10 -0600 commented answer openstack liberty has no OVS

because in the manual that you gave me it is implemented with 3 nodes. Controller network and compute. I have only two, controller (that is also and network node) and compute

2016-02-16 14:21:42 -0600 commented answer openstack liberty has no OVS

correct but linux bridges are not working property. AS i understand linux bridges need to create a bridge interface between my management interface and my public interface . But on my control node that interface is not created . Do you think i can implement OVS with only two nodes ?

2016-02-16 08:16:43 -0600 asked a question openstack liberty has no OVS

I followed this http://docs.openstack.org/liberty/install-guide-ubuntu/ (http://docs.openstack.org/liberty/ins...) instalation guide for openstack and there is no part for instalation and configuration of OVS !! can openstack work without OVS ?

because my configuration is not working ... DHCP is not giving ip address to the instances

2016-02-15 08:21:38 -0600 asked a question flat instances don't get IP address

I was following the Liberty installation guide and at the end when i lunch a Public provider network and when i lunch the instance and try to access the instance using the virtual console the instance has no IP address. i can not do the tests.

my neutron.conf is:

[DEFAULT]

core_plugin = ml2

service_plugins = router

auth_strategy = keystone


allow_overlapping_ips = True




notify_nova_on_port_status_changes = True


notify_nova_on_port_data_changes = True


nova_url = http://controller:8774/v2


rpc_backend = rabbit


[keystone_authtoken]

auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = xxx


[database]

connection = mysql+pymysql://neutron:alascom@controller/neutron


[nova]


auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = nova
password = xxx

# PEM encoded Certificate Authority to use when verifying HTTPs connections.
# cafile =

# PEM encoded client certificate cert file
# certfile =

# Verify HTTPS connections.
# insecure = False

# PEM encoded client certificate key file
# keyfile =

# Name of nova region to use. Useful if keystone manages more than one region.
# region_name =

# Timeout value for http requests
# timeout =

[oslo_concurrency]

lock_path = $state_path/lock


[oslo_messaging_rabbit]




rabbit_host = controller
rabbit_userid = openstack
rabbit_password = xxx

my /etc/neutron/plugins/ml2/ml2_conf.ini is :

[ml2]


type_drivers = local, flat

tenant_network_types = vxlan

mechanism_drivers = linuxbridge,l2population

extension_drivers = port_security

[ml2_type_flat]


flat_networks = public



[ml2_type_vxlan]


vni_ranges = 1:1000



[securitygroup]

enable_ipset = True

my /etc/neutron/plugins/ml2/linuxbridge_agent.ini is :

[linux_bridge]

physical_interface_mappings = public:eth0

[vxlan]


enable_vxlan = True
local_ip = 10.71.71.8
l2_population = True

[agent]


prevent_arp_spoofing = True

[securitygroup]

firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

enable_security_group = True

my /etc/neutron/l3_agent.ini is :

[DEFAULT]

interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver


external_network_bridge =

and the /etc/neutron/dhcp_agent.ini is:

[DEFAULT]

interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq


enable_isolated_metadata = True


dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf

my ifconfig is:

eth0      Link encap:Ethernet  HWaddr 00:0c:29:d1:14:92
          inet addr:10.70.70.8  Bcast:10.70.70.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fed1:1492/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:424552 errors:0 dropped:64 overruns:0 frame:0
          TX packets:35419 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:364178739 (364.1 MB)  TX bytes:80672066 (80.6 MB)

eth1      Link encap:Ethernet  HWaddr 00:0c:29:d1:14:9c
          inet addr:10.71.71.8  Bcast:10.71.71.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fed1:149c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49275 errors:0 dropped:52 overruns:0 frame:0
          TX packets:41207 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16649043 (16.6 MB)  TX bytes:13268744 (13.2 MB)

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:65536  Metric:1
          RX packets:274023 errors:0 dropped:0 overruns:0 frame:0
          TX packets:274023 errors:0 dropped:0 ...
(more)
2016-02-15 06:25:52 -0600 received badge  Scholar (source)
2016-02-15 03:29:39 -0600 commented answer ERROR with installing neutron-server [liberty]

tnx a lot. this fixed the error for me! thanks :D

2016-02-15 03:29:12 -0600 received badge  Supporter (source)
2016-02-15 03:28:25 -0600 commented answer Instances do not get IPs by DHCP

sorry where can i fidn the localrc file ... i have the same problem but i can not find the localrc file to try to set up this parameters

2016-02-14 04:23:03 -0600 received badge  Notable Question (source)
2016-02-13 08:22:28 -0600 commented question ERROR with installing neutron-server [liberty]

i created plugin.ini and i added to the problem description . still does not work the subnet extension

2016-02-13 08:20:19 -0600 edited question ERROR with installing neutron-server [liberty]

I folowed the official http://docs.openstack.org/liberty/install-guide-ubuntu (http://docs.openstack.org/liberty/ins...) for installing and configuring open stack . When i restart the neutron server and i look at the /var/log/neutron/neutron-server.log i get this error:

ERROR neutron.api.extensions [-] It was impossible to process the following extensions: subnet_allocation because of missing requirements.

Here is my neutron.conf file:

 [DEFAULT] 

 dhcpbridge_flagfile=/etc/nova/nova.conf
 dhcpbridge=/usr/bin/nova-dhcpbridge   
 logdir=/var/log/nova   
 state_path=/var/lib/nova   
 lock_path=/var/lock/nova   
 force_dhcp_release=True    
 libvirt_use_virtio_for_bridges=True   
 ec2_private_dns_show_ip=True    
 api_paste_config=/etc/nova/api-paste.ini
 enabled_apis=osapi_compute,metadata   
 rpc_backend = rabbit     
auth_strategy= keystone     
my_ip = 10.10.10.11     
network_api_class=nova.network.neutronv2.api.API    
security_group_api = neutron    
 linuxnet_interface_driver=nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver    
firewall_driver=nova.virt.firewall.NoopFirewallDriver

     [oslo_messaging_rabbit]

     rabbit_host = controller 
     rabbit_userid = openstack 
     rabbit_password =alascom123


[database]

connection = mysql+pymysql://nova:alascom@controller/nova

[keystone_authtoken]

auth_uri = http://controller:5000 
auth_url = http://controller:35357 
auth_plugin = password 
project_domain_id = default 
user_domain_id = default 
project_name = service 
username = nova 
password = alascom


[vnc]

vncserver_listen = 10.10.10.11 vncserver_proxyclient_address =
10.10.10.11

[glance]

host = controller

[oslo_concurrency]

lock_path = /var/lib/nova/tmp

[neutron]

url = http://controller:9696 
auth_url = http://controller:35357 
auth_plugin = password 
project_domain_id = default 
user_domain_id = default 
region_name = RegionOne 
project_name = service 
username = neutron 
password = alascom

service_metadata_proxy = True metadata_proxy_shared_secret = alascom

and here is the plugin.ini

[ml2]
# (ListOpt) List of network type driver entrypoints to be loaded from
# the neutron.ml2.type_drivers namespace.
#

type_drivers = flat,vlan

# Example: type_drivers = flat,vlan,gre,vxlan,geneve

# (ListOpt) Ordered list of network_types to allocate as tenant
# networks. The default value 'local' is useful for single-box testing
# but provides no connectivity between hosts.
#

tenant_network_types =

# Example: tenant_network_types = vlan,gre,vxlan,geneve


# (ListOpt) Ordered list of networking mechanism driver entrypoints
# to be loaded from the neutron.ml2.mechanism_drivers namespace.

mechanism_drivers = linuxbridge

# Example: mechanism_drivers = openvswitch,mlnx
# Example: mechanism_drivers = arista
# Example: mechanism_drivers = openvswitch,cisco_nexus,logger
# Example: mechanism_drivers = openvswitch,brocade
# Example: mechanism_drivers = linuxbridge,brocade

# (ListOpt) Ordered list of extension driver entrypoints
# to be loaded from the neutron.ml2.extension_drivers namespace.

extension_drivers = port_security

# Example: extension_drivers = anewextensiondriver

# =========== items for MTU selection and advertisement =============
# (IntOpt) Path MTU.  The maximum permissible size of an unfragmented
# packet travelling from and to addresses where encapsulated Neutron
# traffic is sent.  Drivers calculate maximum viable MTU for
# validating tenant requests based on this value (typically,
# path_mtu - max encap header size).  If <=0, the path MTU is
# indeterminate and no calculation takes place.
# path_mtu = 0

# (IntOpt) Segment MTU.  The maximum permissible size of an
# unfragmented packet travelling a L2 network segment.  If <=0,
# the segment MTU is indeterminate and no calculation takes place.
# segment_mtu = 0

# (ListOpt) Physical network MTUs.  List of mappings of physical
# network to MTU value.  The format of the mapping is
# <physnet>:<mtu val>.  This mapping allows specifying a
# physical network MTU value that differs from the default
## physical_network_mtus =
# Example: physical_network_mtus = physnet1:1550, physnet2:1500
# ======== end of items for MTU selection and advertisement =========

# (StrOpt) Default network type for external networks when no provider
# attributes are specified. By default it is None, which means that if ...
(more)
2016-02-13 08:18:10 -0600 received badge  Popular Question (source)
2016-02-12 15:53:33 -0600 commented question ERROR with installing neutron-server [liberty]

i just edit the problem and i add neutron.conf. where can i find plugin.ini ?

in etc/neutron/plugins/ml2/ i have: linuxbridge_agent.ini
ml2_conf_brocade.ini
ml2_conf.ini
ml2_conf_sriov.ini
sriov_agent.ini ml2_conf_brocade_fi_ni.ini
ml2_conf_fslsdn.ini
ml2_conf_ofa.ini