You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "sadhu suresh (JIRA)" <ji...@apache.org> on 2014/07/24 06:46:40 UTC

[jira] [Created] (CLOUDSTACK-7176) vmware:default route is wrongly configured when deploy a vm with multiple networks

sadhu suresh created CLOUDSTACK-7176:
----------------------------------------

             Summary: vmware:default route is wrongly configured when deploy a vm with multiple networks
                 Key: CLOUDSTACK-7176
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7176
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.5.0
            Reporter: sadhu suresh



1.create 2 isolated networks  from UI
2.deploy a vm by selecting the above 2 network  and making second network as default network.
3.Once VM is deployed ,from UI select the default network(i.e network 2)  and  configured the portforwarding/firewall  rules on port 22
4. check ssh access to guestvm(10.1.1.36)

actual result:
unable to ssh  to guest vm and when we check the route  table , the gateway is point to eth1 interface instead of pointing to eth0
due to this when we ssh to guest vm  and it fail to due to connection refused .



[root@VM-63a1e50b-a2a6-478a-b4d9-86173b9c3b36 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
0.0.0.0         10.1.1.1        0.0.0.0         UG    0      0        0 eth1



[root@VM-63a1e50b-a2a6-478a-b4d9-86173b9c3b36 ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 02:00:62:EB:00:01
          inet addr:10.1.1.36  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::62ff:feeb:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:436 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:53694 (52.4 KiB)  TX bytes:57105 (55.7 KiB)
          Base address:0x2000 Memory:d1020000-d1040000

eth1      Link encap:Ethernet  HWaddr 02:00:5E:D9:00:01
          inet addr:10.1.1.48  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5eff:fed9:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:509 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7906 (7.7 KiB)  TX bytes:43829 (42.8 KiB)
          Base address:0x2040 Memory:d1040000-d1060000

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:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4334 (4.2 KiB)  TX bytes:4334 (4.2 KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)


NIC 1 (Default)
ID	d66e7992-136b-4f10-9d76-48813347871b
Network Name	two1111
Type	Isolated
IP Address	10.1.1.36
Gateway	10.1.1.1
Netmask	255.255.255.0
IPv6 IP Address	
IPv6 Gateway	
IPv6 CIDR	
Is Default	Yes
NIC 2
 
 
ID	bb49621f-a1f3-40fc-8416-a295c390a7c7
Network Name	one111
Type	Isolated
IP Address	10.1.1.48
Gateway	10.1.1.1
Netmask	255.255.255.0
IPv6 IP Address	
IPv6 Gateway	
IPv6 CIDR	
Is Default	No



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