Ask Your Question
0

Openstack interface vnet0 doesn't forward data to br100.

asked 2015-04-01 02:50:47 -0500

socfreak390 gravatar image

This is my Openstack single node VM's networking state. During installation I had setup the localrc with the following

HOST_IP=192.168.110.145
FLAT_INTERFACE=eth0

The server had only eth0 interface with IP address:192.168.110.145 before openstack installation and then post installation and running an instance brings it to this state

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/32 scope link lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br100 state UP group default qlen 1000
    link/ether 00:0c:29:84:b3:07 brd ff:ff:ff:ff:ff:ff
    inet 192.168.110.145/24 brd 192.168.110.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe84:b307/64 scope link
       valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether ee:09:3c:2c:ce:78 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
4: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 00:0c:29:84:b3:07 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 brd 10.0.0.255 scope global br100
       valid_lft forever preferred_lft forever
    inet 192.168.110.145/24 scope global br100
       valid_lft forever preferred_lft forever
    inet6 fe80::d8c4:c2ff:fed2:2abc/64 scope link
       valid_lft forever preferred_lft forever
7: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br100 state UNKNOWN group default qlen 500
    link/ether fe:16:3e:9f:a8:dd brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe9f:a8dd/64 scope link
       valid_lft forever preferred_lft forever

My questions are:

  1. Is it normal that br100 and eth0 share the same MAC and IP address?
  2. I can ping 8.8.8.8 from the instance, the ICMP data goes from the instance->vnet0->br100->eth0->internet and back but when I generate ICMP traffic from a load tester software towards 8.8.8.8, vnet0 seems to recieve those packets but does not forward it to br100.

I have enabled ICMP traffic in Access & Security.

Essentially I need to send data to and from the instance.

edit retag flag offensive close merge delete

Comments

can you run a continuous ping form the instance, and tcpdump the traffic on eth0 and br100 interface. Also can you run 'route -n' on your compute node

omar-munoz gravatar imageomar-munoz ( 2015-04-01 13:41:44 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-02 00:49:11 -0500

socfreak390 gravatar image

Yes, continuous ping works. tcpdump shows the same packets in eth0 and br100(same MAC)

route -n on compute node is

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.110.2   0.0.0.0         UG    0      0        0 br100
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 br100
192.168.110.0   0.0.0.0         255.255.255.0   U     0      0        0 br100
192.168.110.0   0.0.0.0         255.255.255.0   U     1      0        0 eth0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

I have noticed ping from 10.0.0.3 with source set as anything other than 10.0.0.3 fails like ping -I 10.0.0.20 8.8.8.8 fails but ping 8.8.8.8 works

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

1 follower

Stats

Asked: 2015-04-01 02:50:47 -0500

Seen: 366 times

Last updated: Apr 02 '15