Ask Your Question

Translate MAC address before forward to router

asked 2014-06-30 05:22:27 -0500

HoangDo gravatar image

updated 2014-06-30 05:23:31 -0500

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 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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-12 02:30:12 -0500

Germy Lure gravatar image

VM--->OpenStack Router--->DC Router

Is that right?

The communication between routers is based L3.right?

I think you need provide more details.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-30 05:22:27 -0500

Seen: 248 times

Last updated: Jun 30 '14