Ask Your Question
0

VM instance NOT getting proper IP

asked 2013-04-08 14:00:51 -0500

I Have installed devstack method on a single server [NOT VM]. Due to our lab network issue, i need to have the following network setup [for proper routing] :

/etc/network/interfaces

auto lo iface lo inet loopback

auto eth0 iface eth0 inet static address 192.168.124.81 netmask 255.255.255.0 post-up route add default gw 192.168.124.1 metric 2 pre-down route del default gw 192.168.124.1

The primary network interface

auto eth1 iface eth1 inet static address 10.1.62.1 netmask 255.255.192.0 post-up route add default gw 10.1.0.10 metric 1 pre-down route del default gw 10.1.0.10

route -n command shows:

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.1.0.10 0.0.0.0 UG 1 0 0 eth1 0.0.0.0 192.168.124.1 0.0.0.0 UG 2 0 0 br100 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br100 10.1.0.0 0.0.0.0 255.255.192.0 U 0 0 0 eth1 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 192.168.124.0 0.0.0.0 255.255.255.0 U 0 0 0 br100

ifconfig from host/controller/compute shows:

br100 Link encap:Ethernet HWaddr ac:16:2d:72:0c:98 inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::6839:d4ff:fe18:770e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:88 errors:0 dropped:0 overruns:0 frame:0 TX packets:27 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:41121 (41.1 KB) TX bytes:3600 (3.6 KB)

eth0 Link encap:Ethernet HWaddr ac:16:2d:72:0c:98 inet6 addr: fe80::ae16:2dff:fe72:c98/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:524 errors:0 dropped:34 overruns:0 frame:0 TX packets:35 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:202929 (202.9 KB) TX bytes:4928 (4.9 KB) Interrupt:32

eth1 Link encap:Ethernet HWaddr ac:16:2d:72:0c:99 inet addr:10.1.62.1 Bcast:10.1.63.255 Mask:255.255.192.0 inet6 addr: fe80::ae16:2dff:fe72:c99/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:472730 errors:0 dropped:0 overruns:0 frame:0 TX packets:197095 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:521426236 (521.4 MB) TX bytes:16631717 (16.6 MB) Interrupt:36

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 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-04-09 06:14:06 -0500

i fixed it.. Please close this

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: 2013-04-08 14:00:51 -0500

Seen: 36 times

Last updated: Apr 09 '13