Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSTANCES
- root@c3cloud:/home/localadmin# euca-describe-instances
- RESERVATION r-61vr8g2u c3cloud default
- INSTANCE i-00000014 ami-00000004 172.16.50.5 172.16.50.5 running mykey (c3cloud, c3cloud) 0 m1.tiny 2011-11-04T16:09:28Z nova aki-00000003 ami-00000000
- RESERVATION r-nf0l6m6n c3cloud default
- INSTANCE i-00000012 ami-00000004 10.0.0.227 172.16.50.3 running mykey (c3cloud, c3cloud) 0 m1.tiny 2011-11-04T15:50:17Z nova aki-00000003 ami-00000000
- RESERVATION r-t3h1aig6 c3cloud default
- INSTANCE i-00000015 ami-00000004 172.16.50.6 172.16.50.6 running mykey (c3cloud, c3compute1) 0 m1.tiny 2011-11-04T16:09:36Z nova aki-00000003 ami-00000000
- RESERVATION r-d00b12l8 c3cloud default
- INSTANCE i-00000016 ami-00000004 172.16.50.7 172.16.50.7 running mykey (c3cloud, c3compute1) 0 m1.tiny 2011-11-04T16:09:52Z nova aki-00000003 ami-00000000
- RESERVATION r-mt3mow3o c3cloud default
- INSTANCE i-00000013 ami-00000004 172.16.50.4 172.16.50.4 running mykey (c3cloud, c3cloud) 0 m1.tiny 2011-11-04T16:09:22Z nova aki-00000003 ami-00000000
- ------
- Ping to a instance in the c3cloud compute node in private ip OK
- ------
- root@c3cloud:/home/localadmin# ping 172.16.50.5
- PING 172.16.50.5 (172.16.50.5) 56(84) bytes of data.
- 64 bytes from 172.16.50.5: icmp_seq=1 ttl=64 time=0.449 ms
- ^C
- --- 172.16.50.5 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 0.449/0.449/0.449/0.000 ms
- ------
- Ping to a instance in the c3cloud compute node in public ip OK
- ------
- root@c3cloud:/home/localadmin# ping 10.0.0.227
- PING 10.0.0.227 (10.0.0.227) 56(84) bytes of data.
- 64 bytes from 10.0.0.227: icmp_seq=1 ttl=64 time=0.406 ms
- ^C
- --- 10.0.0.227 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 0.406/0.406/0.406/0.000 ms
- ------
- Ping to a instance in the c3compute1 compute node in private ip FAIL
- ------
- root@c3cloud:/home/localadmin# ping 172.16.50.6
- PING 172.16.50.6 (172.16.50.6) 56(84) bytes of data.
- From 172.16.50.1 icmp_seq=1 Destination Host Unreachable
- From 172.16.50.1 icmp_seq=2 Destination Host Unreachable
- From 172.16.50.1 icmp_seq=3 Destination Host Unreachable
- ^C
- --- 172.16.50.6 ping statistics ---
- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3006ms
- , pipe 4
- ------
- IFCONFIG
- ------
- root@c3cloud:/home/localadmin# ifconfig
- br100 Link encap:Ethernet HWaddr 02:16:3e:36:4f:18
- inet addr:172.16.50.1 Bcast:172.16.50.255 Mask:255.255.255.0
- inet6 addr: fe80::f46d:d9ff:fe1b:7e7c/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:892 errors:0 dropped:0 overruns:0 frame:0
- TX packets:930 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:97235 (97.2 KB) TX bytes:130878 (130.8 KB)
- eth0 Link encap:Ethernet HWaddr 00:25:90:06:25:6c
- inet addr:10.0.0.254 Bcast:10.0.0.255 Mask:255.255.255.0
- inet6 addr: fe80::225:90ff:fe06:256c/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:25589 errors:0 dropped:0 overruns:0 frame:0
- TX packets:5881 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:100
- RX bytes:3156317 (3.1 MB) TX bytes:918773 (918.7 KB)
- Memory:fb5e0000-fb600000
- eth1 Link encap:Ethernet HWaddr 00:25:90:06:25:6d
- inet addr:192.168.1.254 Bcast:192.168.255.255 Mask:255.255.255.0
- inet6 addr: fe80::225:90ff:fe06:256d/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:20687 errors:0 dropped:0 overruns:0 frame:0
- TX packets:16300 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:8250279 (8.2 MB) TX bytes:9979473 (9.9 MB)
- Memory:fb6e0000-fb700000
- 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:81972 errors:0 dropped:0 overruns:0 frame:0
- TX packets:81972 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:66863420 (66.8 MB) TX bytes:66863420 (66.8 MB)
- virbr0 Link encap:Ethernet HWaddr 56:43:6c:eb:2a:ce
- 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:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- vlan100 Link encap:Ethernet HWaddr 02:16:3e:36:4f:18
- inet6 addr: fe80::16:3eff:fe36:4f18/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:46 errors:0 dropped:2 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:4716 (4.7 KB)
- vnet0 Link encap:Ethernet HWaddr fe:16:3e:50:21:3e
- inet6 addr: fe80::fc16:3eff:fe50:213e/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:493 errors:0 dropped:0 overruns:0 frame:0
- TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:500
- RX bytes:69093 (69.0 KB) TX bytes:76252 (76.2 KB)
- vnet1 Link encap:Ethernet HWaddr fe:16:3e:1e:ea:ad
- inet6 addr: fe80::fc16:3eff:fe1e:eaad/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:199 errors:0 dropped:0 overruns:0 frame:0
- TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:500
- RX bytes:20404 (20.4 KB) TX bytes:30417 (30.4 KB)
- vnet2 Link encap:Ethernet HWaddr fe:16:3e:05:cc:bd
- inet6 addr: fe80::fc16:3eff:fe05:ccbd/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:200 errors:0 dropped:0 overruns:0 frame:0
- TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:500
- RX bytes:20226 (20.2 KB) TX bytes:28363 (28.3 KB)
- ------
- ROUTE INFORMATION
- ------
- root@c3cloud:/home/localadmin# route
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
- 172.16.50.0 * 255.255.255.0 U 0 0 0 br100
- 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
- 192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
- default 10.0.0.1 0.0.0.0 UG 100 0 0 eth0
- ------
- IPTABLES INFORMATION
- ------
- root@c3cloud:/home/localadmin# iptables -t nat -L -v
- Chain PREROUTING (policy ACCEPT 223 packets, 40742 bytes)
- pkts bytes target prot opt in out source destination
- 223 40742 nova-network-PREROUTING all -- any any anywhere anywhere
- 223 40742 nova-compute-PREROUTING all -- any any anywhere anywhere
- Chain POSTROUTING (policy ACCEPT 81 packets, 5443 bytes)
- pkts bytes target prot opt in out source destination
- 84 5695 nova-network-POSTROUTING all -- any any anywhere anywhere
- 81 5443 nova-compute-POSTROUTING all -- any any anywhere anywhere
- 0 0 MASQUERADE tcp -- any any 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- 0 0 MASQUERADE udp -- any any 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- 0 0 MASQUERADE all -- any any 192.168.122.0/24 !192.168.122.0/24
- 81 5443 nova-postrouting-bottom all -- any any anywhere anywhere
- Chain OUTPUT (policy ACCEPT 83 packets, 5611 bytes)
- pkts bytes target prot opt in out source destination
- 84 5695 nova-network-OUTPUT all -- any any anywhere anywhere
- 83 5611 nova-compute-OUTPUT all -- any any anywhere anywhere
- Chain nova-compute-OUTPUT (1 references)
- pkts bytes target prot opt in out source destination
- Chain nova-compute-POSTROUTING (1 references)
- pkts bytes target prot opt in out source destination
- Chain nova-compute-PREROUTING (1 references)
- pkts bytes target prot opt in out source destination
- Chain nova-compute-floating-snat (1 references)
- pkts bytes target prot opt in out source destination
- Chain nova-compute-snat (1 references)
- pkts bytes target prot opt in out source destination
- 81 5443 nova-compute-floating-snat all -- any any anywhere anywhere
- Chain nova-network-OUTPUT (1 references)
- pkts bytes target prot opt in out source destination
- 1 84 DNAT all -- any any anywhere 10.0.0.227 to:172.16.50.3
- 0 0 DNAT udp -- any any anywhere 10.0.0.254 udp dpt:1000 to:172.16.50.2:1194
- Chain nova-network-POSTROUTING (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT all -- any any 172.16.0.0/12 10.128.0.0/24
- 3 252 ACCEPT all -- any any 172.16.0.0/12 172.16.0.0/12
- Chain nova-network-PREROUTING (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 DNAT tcp -- any any anywhere 169.254.169.254 tcp dpt:www to:10.0.0.254:8443
- 0 0 DNAT all -- any any anywhere 10.0.0.227 to:172.16.50.3
- 0 0 DNAT udp -- any any anywhere 10.0.0.254 udp dpt:1000 to:172.16.50.2:1194
- Chain nova-network-floating-snat (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 SNAT all -- any any 172.16.50.3 anywhere to:10.0.0.227
- Chain nova-network-snat (1 references)
- pkts bytes target prot opt in out source destination
- 81 5443 nova-network-floating-snat all -- any any anywhere anywhere
- 0 0 SNAT all -- any any 172.16.0.0/12 anywhere to:10.0.0.254
- Chain nova-postrouting-bottom (1 references)
- pkts bytes target prot opt in out source destination
- 81 5443 nova-network-snat all -- any any anywhere anywhere
- 81 5443 nova-compute-snat all -- any any anywhere anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement