Topic
  • 1 reply
  • Latest Post - ‏2012-06-29T07:23:04Z by JesseVini
JesseVini
JesseVini
14 Posts

Pinned topic SCP 1.2 Static IP not working

‏2012-06-28T03:55:33Z |
SCP 1.2 static IP does not work in my environment.

Compute Node IP : 192.168.4.154
VM Private IP : 192.168.4.167
VM Static IP : 172.16.0.10

When i login to the VM via private IP with keypairs, it works.
but when using static IP, it ssh into the hosted compute node, not into the VM.

The iptables and IP configuration of compute node are in the attachment.
Is there anything special I need to config?
Updated on 2012-06-29T07:23:04Z at 2012-06-29T07:23:04Z by JesseVini
  • JesseVini
    JesseVini
    14 Posts

    Re: SCP 1.2 Static IP not working

    ‏2012-06-29T07:23:04Z  
    So I chose a unused static IP and made the following rules applied by myself, and I can ssh into the VM via the StaticIP on the local compute node, So at least 2 rules are left undone in SCP 1.2?
    Is this a bug or you guys have some patch or I had not correctly config the SCP?

    "
    iptables -t nat -A POSTROUTING -s Private -j SNAT --to-source StaticIP
    iptables -t nat -A PREROUTING -d StaticIP -j DNAT --to-destination Private
    iptables -t nat -A OUTPUT -d StaticIP -j DNAT --to-destination Private
    "