Ask Your Question
0

All in one setup with one NIC , can not ARP with Instance.

asked 2011-10-17 04:50:26 -0500

wonder-zou gravatar image

Hi All: i have struggled for several days, i still work it out.

the problem is that , i install all components on one machine, but i can not ping or ARP with instance from the management node. here are the outputs of some information:

network node:

br100 Link encap:Ethernet HWaddr 00:1a:a0:37:f1:b8
inet addr:10.145.4.228 Bcast:10.140.4.255 Mask:255.255.255.0 inet6 addr: fe80::21a:a0ff:fe37:f1b8/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:19232947 errors:0 dropped:0 overruns:0 frame:0 TX packets:1547121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1899170621 (1.8 GB) TX bytes:337463858 (337.4 MB)

eth0 Link encap:Ethernet HWaddr 00:1a:a0:37:f1:b8
inet6 addr: fe80::21a:a0ff:fe37:f1b8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:19406487 errors:0 dropped:0 overruns:0 frame:0 TX packets:1598705 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2285933714 (2.2 GB) TX bytes:347280878 (347.2 MB) Interrupt:17

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:466065364 errors:0 dropped:0 overruns:0 frame:0 TX packets:466065364 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:52332930574 (52.3 GB) TX bytes:52332930574 (52.3 GB)

virbr0 Link encap:Ethernet HWaddr fa:aa:f2:f9:83:0e
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:36213 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:1690951 (1.6 MB)

vnet0 Link encap:Ethernet HWaddr fe:16:3e:75:cd:7a
inet6 addr: fe80::fc16:3eff:fe75:cd7a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:28757 errors:0 dropped:0 overruns:0 frame:0 TX packets:10045979 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:2169394 (2.1 MB) TX bytes:891264366 (891.2 MB)

Generated by iptables-save v1.4.10 on Mon Oct 17 13:05:15 2011

*nat :PREROUTING ACCEPT [1249600:117989383] :INPUT ACCEPT [7036:327494] :OUTPUT ACCEPT [51997:9641255] :POSTROUTING ACCEPT [323984:43428355] :nova-compute-OUTPUT - [0:0] :nova-compute-POSTROUTING - [0:0] :nova-compute-PREROUTING - [0:0] :nova-compute-floating-snat - [0:0] :nova-compute-snat - [0:0] :nova-postrouting-bottom - [0:0] -A PREROUTING -j nova-compute-PREROUTING -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.140.4.228:8773 -A OUTPUT -j nova-compute-OUTPUT -A POSTROUTING -j nova-compute-POSTROUTING -A POSTROUTING -s 192.168.122.0/24 ! -d 192.168 ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-17 11:52:07 -0500

ashokcse gravatar image

hi

first make sure your broadcast address is 10.140.4.255 or 10.145.4.255(i think it should be this).

I think this doc will help you http://docs.openstack.org/bexar/openstack-compute/admin/content/ch03s02.html (http://docs.openstack.org/bexar/opens...)

There are some example /etc/network/interfaces is given there, also read Comment by "Darren Birkett"

edit flag offensive delete link more
0

answered 2011-10-20 10:25:51 -0500

Perhaps its the same bug i have actually, look at the mac of your vnet0 (fe:16:3e:75:cd:7a) and compare it to the address inside your vm (02:16:3E:75:CD:7A), instead of "02" there is a "fe" in front (took me quite a while to see this)...

My problem is that the DHCP answers to the "02" mac, but the bridge only knows the "fe" address and no ip is assigned, so no connection to vm... :(

edit flag offensive delete link more
0

answered 2011-12-23 20:18:40 -0500

sdake gravatar image

Read: http://lists.fedoraproject.org/pipermail/cloud/2011-December/001116.html (http://lists.fedoraproject.org/piperm...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-17 04:50:26 -0500

Seen: 63 times

Last updated: Dec 23 '11