[root@ip-10-0-0-45 ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 06:44:E5:FF:C4:32
inet addr:10.0.0.45 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::444:e5ff:feff:c432/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3300 errors:0 dropped:0 overruns:0 frame:0
TX packets:2516 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3061107 (2.9 MiB) TX bytes:213729 (208.7 KiB)
Interrupt:25
[root@ip-10-0-0-45 ~]# route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 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 eth0
169.254.169.254 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
[root@ip-10-0-0-45 ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search ap-northeast-1.compute.internal
nameserver 10.0.0.2
[root@ip-10-0-0-45 ~]# cat /var/lib/dhclient/dhclient-eth0.leases
lease {
interface "eth0";
fixed-address 10.0.0.45;
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
option dhcp-lease-time 3600;
option dhcp-message-type 5;
option domain-name-servers 10.0.0.2;
option dhcp-server-identifier 10.0.0.1;
option interface-mtu 1500;
option broadcast-address 10.0.0.255;
option host-name "ip-10-0-0-45";
option domain-name "ap-northeast-1.compute.internal";
renew 4 2013/04/18 06:08:49;
rebind 4 2013/04/18 06:32:43;
expire 4 2013/04/18 06:40:13;
}
[ec2-user@BAT-I3-DEV ~]$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 12:31:50:02:BE:84
inet addr:10.158.189.110 Bcast:10.158.189.255 Mask:255.255.255.0
inet6 addr: fe80::1031:50ff:fe02:be84/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37817 errors:0 dropped:0 overruns:0 frame:0
TX packets:39056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4140286 (3.9 MiB) TX bytes:2351440 (2.2 MiB)
Interrupt:34
[ec2-user@BAT-I3-DEV ~]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.158.189.1 0.0.0.0 UG 0 0 0 eth0
10.158.189.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
[ec2-user@BAT-I3-DEV ~]$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search ap-northeast-1.compute.internal
nameserver 172.16.0.23