Can the router's ethernet interface have multiple IP's of the same subnet or different subnet mask?

If yes what's the use?


Can the router's ethernet interface have multiple IPs of the same subnet

Generally yes, but that may be be limited by the system.

or different subnet mask?

No, not if there's overlap.

Overlapping subnets make no sense on a single interface and normally cannot even be configured. Different subnet masks (prefix lengths) are possible for different subnets, however, e.g. and

what's the use?

One use is with NAT, when multiple public IP addresses are mapped across the same router and usually forwarded differently. Also, if you're renumbering your network you often use multiple IP addresses for key devices temporarily and route between them.

Note that while multiple IPv4 addresses are not that common, IPv6 uses multiple addresses routinely (link-local, unique-local, global, ...), even of the same type. For instance, you can slowly phase out a changing global prefix while phasing in the new one at the same time.


Juniper router allows multiple IP addresses from the same subnet to be configured on an interface. However, practically only one is chosen to be the primary:

Configuring the Preferred Address for an Interface:

The preferred address on an interface is the default local address used for packets sourced by the local router to destinations on the subnet. By default, the numerically lowest local address is chosen. For example, if the addresses,, and are configured on the same interface, the preferred address on the subnet (by default, would be used as a local address when you issue a ping command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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