venkata swamybabu budumuru created CLOUDSTACK-2136:
------------------------------------------------------
Summary: [Multiple IPs Per Nic] [Enhancement] For the ease of
management and debugging, use ipsets for arptable configuration
Key: CLOUDSTACK-2136
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2136
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Network Controller
Affects Versions: 4.2.0
Environment: commit 81e1ba3bb406f9546f0d46ccbfa3fbbb35b762e2
Reporter: venkata swamybabu budumuru
Assignee: Jayapal Reddy
Priority: Minor
Fix For: 4.2.0
Steps to reproduce:
1. Have a basic zone with xen cluster
2. deploy a vm
3. add a secondary ip to the above VMs nic using addIpToVmNic
4. check the arptables
observations:
(i) arptables --list --verbose
Chain i-2-10-VM (2 references)
-j RETURN -i vif8.0 -o any -s 10.147.42.62 --src-mac 06:a7:aa:00:00:12 --opcode
Request , pcnt=0 -- bcnt=0
-j ACCEPT -i vif8.0 -o any -s 10.147.42.62 --src-mac 06:a7:aa:00:00:12 --opcode
Reply , pcnt=0 -- bcnt=0
-j ACCEPT -i any -o vif8.0 -d 10.147.42.62 --dst-mac 06:a7:aa:00:00:12 --opcode
Reply , pcnt=0 -- bcnt=0
-j ACCEPT -i any -o vif8.0 -d 10.147.42.62 --opcode Request , pcnt=0 -- bcnt=0
-j ACCEPT -i vif8.0 -o any -s 10.147.42.67 --src-mac 06:a7:aa:00:00:12 --opcode
Reply , pcnt=0 -- bcnt=0
-j RETURN -i vif8.0 -o any -s 10.147.42.67 --src-mac 06:a7:aa:00:00:12 --opcode
Request , pcnt=0 -- bcnt=0
-j ACCEPT -i any -o vif8.0 -d 10.147.42.67 --opcode Request , pcnt=266 --
bcnt=7448
-j ACCEPT -i any -o vif8.0 -d 10.147.42.67 --dst-mac 06:a7:aa:00:00:12 --opcode
Reply , pcnt=0 -- bcnt=0
-j DROP -i any -o any , pcnt=870 -- bcnt=24360
It would be good if we use ipset to represent the above two ips 42.62 and
42.67. it makes simpler to view and debug.
--
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