Paste #163638

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[root@node-6 ~]# 
[root@node-6 ~]# ping 200.200.200.1
PING 200.200.200.1 (200.200.200.1) 56(84) bytes of data.
^Z
[3]+  Stopped                 ping 200.200.200.1
[root@node-6 ~]# ping 200.200.200.2
PING 200.200.200.2 (200.200.200.2) 56(84) bytes of data.
^Z
[4]+  Stopped                 ping 200.200.200.2
[root@node-6 ~]# ping 192.168.254.254
PING 192.168.254.254 (192.168.254.254) 56(84) bytes of data.
^Z
[5]+  Stopped                 ping 192.168.254.254



[root@node-6 ~]# iptables -t nat --list -n -v
Chain PREROUTING (policy ACCEPT 1 packets, 60 bytes)
 pkts bytes target     prot opt in     out     source               destination         
  367 22052 nova-api-PREROUTING  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
   14   840 MASQUERADE  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 1357 81560 nova-api-POSTROUTING  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 1357 81560 nova-postrouting-bottom  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 14 packets, 840 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 1371 82400 nova-api-OUTPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain nova-api-OUTPUT (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain nova-api-POSTROUTING (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain nova-api-PREROUTING (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain nova-api-float-snat (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain nova-api-snat (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 1357 81560 nova-api-float-snat  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain nova-postrouting-bottom (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 1357 81560 nova-api-snat  all  --  *      *       0.0.0.0/0            0.0.0.0/0