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

Sangeetha Hariharan commented on CLOUDSTACK-1115:
-------------------------------------------------

Same issue is also seen when I test with Ubuntu12.10 guest VMs being part of 2 
dual networks.

eth0 gets ipaddress from the default network as expected. But default route of 
guest Vm gets set to eth1.

sangeetha@ubuntu-123:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 06:61:6e:00:00:4b
          inet addr:10.223.137.68  Bcast:10.223.137.127  Mask:255.255.255.192
          inet6 addr: fe80::461:6eff:fe00:4b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2508 (2.5 KB)  TX bytes:3213 (3.2 KB)

eth1      Link encap:Ethernet  HWaddr 06:f4:64:00:00:15
          inet addr:10.223.137.4  Bcast:10.223.137.31  Mask:255.255.255.224
          inet6 addr: fc00:3:1370:0:9786:7498:a530:d462/64 Scope:Global
          inet6 addr: fe80::4f4:64ff:fe00:15/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8882 (8.8 KB)  TX bytes:13188 (13.1 KB)

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: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)

sangeetha@ubuntu-123:~$ ip route
default via 10.223.137.1 dev eth1
10.223.137.0/27 dev eth1  proto kernel  scope link  src 10.223.137.4
10.223.137.64/26 dev eth0  proto kernel  scope link  src 10.223.137.68
sangeetha@ubuntu-123:~$


{ "listvirtualmachinesresponse" : { "count":1 ,"virtualmachine" : [  
{"id":"0e8300e3-3a85-4381-a79b-ffaab7883bee","name":"san-again","displayname":"san-again","account":"admin","domainid":"048ada62-318a-4eab-b592-868384cd9375","domain":"ROOT","created":"2013-02-28T01:59:28-0800","state":"Running","haenable":false,"zoneid":"78d00583-322d-40f8-baf8-fd47b0329a76","zonename":"zone1","hostid":"3f776e48-7afe-4b44-a477-4bcbf9ac95c2","hostname":"Rack3Host4.lab.vmops.com","guestosid":"5690114d-966d-4b57-8163-cb43ba5357ce","nic":[{"id":"250a0e5c-954d-4eab-9e7f-4cf15cf9198c","networkid":"ce7e6325-d851-41bd-a8b3-1817990f3495","networkname":"test1371-dual","netmask":"255.255.255.192","gateway":"10.223.137.65","ipaddress":"10.223.137.68","isolationuri":"vlan://1371","broadcasturi":"vlan://1371","traffictype":"Guest","type":"Shared","isdefault":true,"ip6gateway":"fc00:3:1371::1","ip6cidr":"fc00:3:1371::1/64","ip6address":"fc00:3:1371:0:d841:919d:7181:f4c6"},{"id":"db1d5145-6a3e-4f51-bd4f-b89084b4b1be","networkid":"a90b0c76-0468-4f24-969f-3c0958b1e518","networkname":"test1370-dual","netmask":"255.255.255.224","gateway":"10.223.137.1","ipaddress":"10.223.137.4","isolationuri":"vlan://1370","broadcasturi":"vlan://1370","traffictype":"Guest","type":"Shared","isdefault":false,"ip6gateway":"fc00:3:1370::1","ip6cidr":"fc00:3:1370::1/64","ip6address":"fc00:3:1370:0:9786:7498:a530:d462"}],"hypervisor":"KVM","instancename":"i-2-10-VM","tags":[]}
 ] } }


                
> In multiple shared network unable to login with default nic - KVM 
> ------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1115
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1115
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.1.0
>         Environment: KVM - Advanced zone 
> This build from network-re factor branch 
>            Reporter: Rayees Namathponnan
>            Assignee: Sheng Yang
>             Fix For: 4.1.0
>
>
> Step 1 Create advanced zone in KVM
> Step 2 create a user account
> Step 3 Create two shared Networks (shared 1 and shared 2) (scope=ALL, 
> different IP ranges)
> Step 4 deployVirtualMachine in both the above networkids within the user 
> account
>            Make sure shared 1 default one
> Step 5 Go to - > Instances -> Select newly created VM -> NIC tab
> Step 6 Get the ip address of your default NIC and login 
> Expected Result 
> You should be able login the default nic's IP address
> Actual result 
> Unable to login with default nic's IP address, but i can login with sec nic's 
> ip address 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to