← Back to team overview

openstack team mailing list archive

Re: Need Help

 

Hi

Here is the result

Compute node
------------

*brctl show*

bridge name     bridge id               STP enabled     interfaces
br100           8000.002590976edb       no              eth1
                                                        vnet0
*ip addr list*

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 state UP qlen
1000
    link/ether 00:25:90:97:6e:da brd ff:ff:ff:ff:ff:ff
    inet 69.155.84.133/25 brd 85.195.84.255 scope global eth0
    inet 69.155.84.142/32 scope global eth0
    inet6 fe80::225:90ff:fe97:6eda/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br100
state UP qlen 1000
    link/ether 00:25:90:97:6e:db brd ff:ff:ff:ff:ff:ff
4: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:25:90:97:6e:db brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.3/24 brd 10.0.0.255 scope global br100
    inet 192.168.1.133/24 brd 192.168.1.255 scope global br100
    inet6 fe80::225:90ff:fe97:6edb/64 scope link
       valid_lft forever preferred_lft forever
9: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master br100 state UNKNOWN qlen 500
    link/ether fe:16:3e:41:0c:2a brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe41:c2a/64 scope link
       valid_lft forever preferred_lft forever

*route -n*

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
0.0.0.0         69.155.84.129   0.0.0.0         UG    0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0
br100
69.155.84.128   0.0.0.0         255.255.255.128 U     0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
br100

*virtual machine
----------------------
*
*ip addr list*

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
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether fa:16:3e:41:0c:2a brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.2/24 brd 10.0.0.255 scope global eth0
    inet6 fe80::f816:3eff:fe41:c2a/64 scope link tentative dadfailed
       valid_lft forever preferred_lft forever

*route -n*

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
0.0.0.0         10.0.0.3        0.0.0.0         UG    100    0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0

Best Regards,

Umar

On Tue, Jan 8, 2013 at 12:24 AM, Stefano Zanella
<zanella.stefano@xxxxxxxxx>wrote:

> Can you please post the output of "ip addr list", "route -n" and "brctl
> show" on compute node and virtual machine? More than a firewall issue, it
> seems a routing issue to me.
> Thanks,
>     Stefano
>
>
> On Mon, Jan 7, 2013 at 7:38 PM, Umar Draz <unix.co@xxxxxxxxx> wrote:
>
>> I think My network configuration is ok,
>>
>> I can ping compute's own ip address 192.168.1.133 from virtual machine.
>> But I can't access other local machines.
>>
>> I think its security firewall issue or need some routing table?
>>
>> Here is the out put of ping.
>>
>> root@ubuntu-cloud# ping 192.168.1.133
>> PING 192.168.1.133 (192.168.1.133) 56(84) bytes of data.
>> 64 bytes from 192.168.1.133: icmp_req=1 ttl=64 time=0.225 ms
>> 64 bytes from 192.168.1.133: icmp_req=2 ttl=64 time=0.360 ms
>> 64 bytes from 192.168.1.133: icmp_req=3 ttl=64 time=0.271 ms
>> root@ubuntu-cloud# ping 192.168.1.130
>> PING 192.168.1.130 (192.168.1.130) 56(84) bytes of data.
>> From 10.0.0.3: icmp_seq=2 Redirect Host(New nexthop: 192.168.1.130)
>>
>> 10.0.0.3 is the gateway of virtual machine which is the ip of compute's
>> br100
>>
>> Best Regards,
>>
>> Umar
>>
>> On Mon, Jan 7, 2013 at 11:26 PM, Stefano Zanella <
>> zanella.stefano@xxxxxxxxx> wrote:
>>
>>> If you want to setup DHCP flat networking, maybe this page (and the
>>> chapter that contains it) could help:
>>>
>>> http://docs.openstack.org/essex/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html
>>>
>>> Regards,
>>>     Stefano
>>>
>>> On Mon, Jan 7, 2013 at 7:03 PM, Umar Draz <unix.co@xxxxxxxxx> wrote:
>>>
>>>> my_ip=6x.1x.84.132
>>>> public_interface=eth0
>>>> flat_network_bridge=br100
>>>>
>>>
>>>
>>
>>
>> --
>> Umar Draz
>> Network Architect
>>
>
>


-- 
Umar Draz
Network Architect

References