Have an interesting one (I think)
So, I have the following
rtra-eth1 (NAT inside)
rtra-eth0 IP .1 (NAT outside)
rtrb IP .254
rtrc has external network 188.8.131.52
so I have configured destination NAT
ip nat outside source static 184.108.40.206 10.0.0.100 (all my end user hosts point toward an IP of 10.0.0.100 which get translated to 220.127.116.11)
The destination NAT is within the subnet range.
So, in my routing table I have a route for 10.0.0.100 directly connected via ethernet0 (well its is actually 10.0.0.0/24 and not a host route)
If there is no static host route for the local NAT address (10.0.0.100) to point towards the rtrb-eth0 .254 address, this will never work. Is this correct?
Becuase the router will only ever arp for the host address 10.0.0.100 which does not exist? correct?
Question 2. NAT Question
The NAT order-of-operation states that going from inside to outside on rtra, routing happens before translation. Can I confirm the order of operation of the packet re-write?
So, packet destined for 10.0.0.100 arrives on inside interface. NOW it is routed to outside interface (which must include L2 packet re-write) correct?
Now it the destination of the packet must change to 18.104.22.168. Does this include another packet re-write?
At which point does an arp request happen to populate the L2 destination MAC address? and if it is a broadcast interface? and not next hop? what does it put in there?
Im sorry, but this quick question has turned into a whole host of Qs? Sorry!!
Does anyone know and can clarify for me?
Many thx indeed,