Ask Your Question

Revision history [back]

root@ip-172-31-15-184:/etc/network# ifconfig -a eth0 Link encap:Ethernet HWaddr 0a:8a:00:ff:98:d7
inet addr: Bcast: Mask: inet6 addr: fe80::88a:ff:feff:98d7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:80708 errors:0 dropped:0 overruns:0 frame:0 TX packets:16873 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:116767160 (116.7 MB) TX bytes:1297244 (1.2 MB) Interrupt:25

lo Link encap:Local Loopback
inet addr: Mask: inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16 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:1296 (1.2 KB) TX bytes:1296 (1.2 KB)

root@ip-172-31-15-184:/etc/network# cat interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo iface lo inet loopback

The primary network interface

auto eth0

iface eth0 inet dhcp

For Exposing OpenStack API over the internet

auto eth0 iface eth0 inet static address netmask gateway dns-nameservers

Not internet connected(used for OpenStack management)

auto eth0:1 iface eth0:1 inet static address netmask root@ip-xxxxxxx:/etc/network# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface UG 100 0 0 eth0 U 0 0 0 eth0 root@ip-172-31-15-184:/etc/network# sudo /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... RTNETLINK answers: No such process

then it ends abruptly and i have to start my EC2 once again could you please help me