I have a networking concept that I'm having difficulty understanding where I hope someone can point me in the right direction. If I have the following configuration for a router, and it receives a packet with a source address of a destination address of, what interface will the router forward the packet from?

interface fastethernet 0/1
no shutdown
interface fastethernet 0/1.1
encapsulation dot1q 1
ip address
interface fastethernet 0/1.2
encapsulation dot1q 2
ip address
interface fastethernet 0/1.3
encapsulation dot1q 3
ip address

So my understanding is that each subnet is a /27 subnet, which have 30 available hosts (considering network and broadcast addresses).

I believe that the address range for the first subnet will therefore be and therefore the packet will be forwarded from fe 0/1.1. However, in a practice exam, I'm told the answer is in actual fact fe 0/1.2. Could anyone tell me why this is? Or point me to a resource that explains this. As I'm not sure how a packet could be forwarded from this port when I assume the range would be

Despite this, I may be assuming that the router IP address is allocated for the first host in the subnet. If the router was the last host in the subnet then perhaps this could be understood where: (Network Address) (1st Addressable Host) (Router (Default GW)) (Broadcast)

I think I may have worked this out while I wrote this question but I would appreciate confirmation.

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Apr 1, 2018 at 20:31

1 Answer 1


So basically a packet is traversing your router with: Source IP Address: Destination IP Address:

Your device does a lookup and verifies that to reach x.x.1.85 is via:

interface fastethernet 0/1.2

encapsulation dot1q 2

ip address

See the Host Address Range below:

enter image description here

The address you configured on your interface matches the last available address in the range.


Your Answer

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

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