0 votes 0 votes We know routing table looks something like this . Network ID Subnet Mask Interface Question : We go with larger subnet mask in case of two matches. !! Why ? I know that's fact and called https://en.wikipedia.org/wiki/Longest_prefix_match !! What is already setup in the backend side so that we're choosing one with the larger subnet mask?? 2) I guess this question has some relation with the previous one. If i have to divide a network in 5 unequal subnets. then which is the correct method ? Computer Networks computer-networks routing ip-addressing subnetting + – Karan Patel 1 asked Mar 20, 2016 edited Jul 5, 2019 by Cristine Karan Patel 1 1.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes I think we choose the subnet mask with longest match because it's more reliable in determining route to deliver packets while routing. As for the second part of the question, it would be given how many hosts you need to accommodate in each subnet. Subnet mask can be adjusted accordingly to suit your needs. Reference: https://learningnetwork.cisco.com/thread/64710 Rukas answered Mar 22, 2016 Rukas comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes The packet source cannot set the route of an outgoing packets; the route is determined only by the routing tables in the routers on the way Paras Nath answered Sep 10, 2016 Paras Nath comment Share Follow See 1 comment See all 1 1 comment reply Aakash_ commented Dec 15, 2018 reply Follow Share Paras Nath In computer networking, source routing, also called path addressing, allows a sender of a packet to partially or completely specify the route of the packet takes through the network. In contrast, in non-source routing protocols, routers in the network determine the path based on the packet's destination. https://gateoverflow.in/917/gate2003-27 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes The subnet with longest match falls under the subnet with small match. So, if a host falls under 2 subnets, it will get routed to its destination more faster if its routed to subnet with longest match. Sushant Gokhale answered Oct 11, 2016 Sushant Gokhale comment Share Follow See all 0 reply Please log in or register to add a comment.