[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063092#comment-14063092
 ] 

Jayapal Reddy commented on CLOUDSTACK-7096:
-------------------------------------------

Hi Ashutosk,

After acquiring secondary ip to vm nic, go to the (ssh) vm.
On the guest interface run the below example for configuring secondary ip.
After configuring ip on guest vm, you will be to access the secondary ip.

Example: guest interface eth2, secondary ip 192.168.1.120
root@r-5-VM:~# ip addr add 192.168.1.120 dev eth2
root@r-5-VM:~# ip addr show eth2
9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
qlen 1000
    link/ether 02:00:15:e6:00:07 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global eth2
    inet 192.168.1.120/32 scope global eth2 

Thanks,
Jayapal

> [Automation] SSH to VM with LB rule to its secondary IP fails with error 
> "SSHException: Error reading SSH protocol banner"
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7096
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7096
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Network Controller
>    Affects Versions: 4.4.0
>         Environment: KVM
>            Reporter: Ashutosk Kelkar
>            Assignee: Ashutosk Kelkar
>              Labels: automation
>             Fix For: 4.4.0
>
>         Attachments: agent.log, iptablesOnHost.txt, management-server.log
>
>
> Steps:
> 1. Create an account
> 2. Deploy a VM
> 3. Acquire secondary IP for default VM NIC
> 4. Acquire public IP in the network
> 5. Create firewall rule for public IP
> 6. Create load balancer rule for this IP to the secondary IP of VM
> 7. Try to SSH to VM using public IP
> It fails with error "SSHException: Error reading SSH protocol banner"
> If you create load balancer rule for the primary IP, then SSH succeeds



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to