2

NAT gateways are often given the first usable address in an address space.

Do any protocol specs require this? Or is this just a convention?

I skimmed RFC 1918 and RFC 2663 but didn't see anything related to this question.

Edit: Removed off-topic words.

1
  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Ron Maupin
    Aug 5, 2022 at 18:45

1 Answer 1

3

Gateways (routers) do not necessarily run any NAT variant (you do not NAT on routers internal to your own network; use NAT for private<->public or overlapping addressing, but NAT is not a substitute for routing). Routers are just hosts on the LAN that know how to reach other networks, so they can be assigned any valid host address on the network.

Some people always assign the first usable host address, some always assign the last usable host address, and some assign any usable host address. It does not matter which usable host address, but it is a best practice to pick something and consistently do it the same way every time you assign a router address.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.