Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Translate MAC address before forward to router

Hi guys,

I hope some network experts can help me. I got one situation with the OpenStack external router NAT:

  • My DC router has a fixed map table: IP - MAC address. Every response packets to IP A will have DEST-MAC = MAC_OF_A.

So in my case: - If the VM wasn't assigned floating IP, it worked fine. Local IP is translated to OpenStack router ip: ROUTER_IP, then packets go to DC router, DC router response with MAC_OF_ROUTER_IP. - If the VM was assigned floating IP, it don't work anymore. OpenStack router translate Local IP to ASSIGNED_FLOATING_IP, then packets go to DC router, DC router response with MAC_OF_ASSIGNED_FLOATING_IP. Response packets come back to Network node, and they are rejected (perhaps because of different MAC address).

Do you have any solution for that case. I'm just a novice in networking so I don't know which tool to use. Should I add a middle layer to translate MAC addresses, which tool should I use?

Translate MAC address before forward to router

Hi guys,

I hope some network experts can help me. I got one situation with the OpenStack external router NAT:

  • My DC router has a fixed map table: IP - MAC address. Every response packets to IP A will have DEST-MAC = MAC_OF_A.

So in my case: - case:

  • If the VM wasn't assigned floating IP, it worked fine. Local IP is translated to OpenStack router ip: ROUTER_IP, then packets go to DC router, DC router response with MAC_OF_ROUTER_IP. -
  • If the VM was assigned floating IP, it don't work anymore. OpenStack router translate Local IP to ASSIGNED_FLOATING_IP, then packets go to DC router, DC router response with MAC_OF_ASSIGNED_FLOATING_IP. Response packets come back to Network node, and they are rejected (perhaps because of different MAC address).

Do you have any solution for that case. I'm just a novice in networking so I don't know which tool to use. Should I add a middle layer to translate MAC addresses, which tool should I use?

Translate MAC address before forward to router

Hi guys,

I hope some network experts can help me. I got one situation with the OpenStack external router NAT:

  • My DC router has a fixed map table: IP - MAC address. Every response packets to IP A will have DEST-MAC = MAC_OF_A.

So in my case:

  • If the VM wasn't assigned floating IP, it worked fine. Local IP is translated to OpenStack router ip: ROUTER_IP, then packets go to DC router, DC router response with MAC_OF_ROUTER_IP.
  • If the VM was assigned floating IP, it don't work anymore. OpenStack router translate Local IP to ASSIGNED_FLOATING_IP, then packets go to DC router, DC router response with MAC_OF_ASSIGNED_FLOATING_IP. Response packets come back to Network node, and they are rejected (perhaps because of different a strange MAC address).

Do you have any solution for that case. I'm just a novice in networking so I don't know which tool to use. Should I add a middle layer to translate MAC addresses, which tool should I use?