[NETVIRT-150] floating IP translation should also change MAC addresses Created: 15/Sep/16 Updated: 15/Dec/16 Resolved: 15/Dec/16 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Boron |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Alon Kochba | Assignee: | Tomer Pearl |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6728 |
| Description |
|
This bug was discovered when trying to use learn security groups - though the bug is due to bad floating IP MAC changes. Pinging from VM to 8.8.8.8: However, the return ping uses the source MAC of the router gateway (10.64.0.1) - 00:1c:73:4e:d3:31 Need to also review reverse flow - NAT from VM to outbound - should we change source MAC to router gateway? (in this case the source mac is changed to floating IP MAC in table=28, but it might be more correct this way..) cookie=0x8000004, duration=4824.160s, table=26, n_packets=0, n_bytes=0, priority=10,ip,metadata=0x222e0/0xfffffffe,nw_src=10.0.123.4 actions=set_field:10.64.99.6->ip_src,write_metadata:0x222e2/0xfffffffe,goto_table:28 |
| Comments |
| Comment by Tomer Pearl [ 18/Sep/16 ] |
|
A similar issue exist when packets traverse between subnets. |
| Comment by Koby Aizer [ 15/Dec/16 ] |
|
Mac addresses were removed from SG rules, so this issue should not occur. Generally, probably need to to do MAC address changes after each L3 routing, will probably be covered as part of the DVR task for Carbon |