Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 102-500 topic 1 question 100 discussion

Actual exam question from LPI's 102-500
Question #: 100
Topic #: 1
[All 102-500 Questions]

Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

  • A. It would be passed to the default router 192.168.178.1 on wlan0.
  • B. It would be directly transmitted on the device eth0.
  • C. It would be passed to the default router 255.255.255.0 on eth0.
  • D. It would be passed to the router 192.168.1.1 on eth0.
  • E. It would be directly transmitted on the device wlan0.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
btomasz
8 months ago
Selected Answer: D
D is Correct. 0.0.0.0/0 Matches the IP 192.168.1.0/24 no Match 192.168.2.0/24 Matches the IP -> this Route is used, becaus the Netmask on this Route is more precise, than that of the default Route. 192.168.178.0/24 no Match
upvoted 1 times
...
Rebelpierre
10 months, 2 weeks ago
Selected Answer: D
Proved in a lab on virtual box with several vm's in different segments: localhost:~ # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.254 0.0.0.0 UG 600 0 0 wlan0 10.10.20.0 192.168.56.201 255.255.255.0 UG 0 0 0 vboxnet1 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-2d142c106ac3 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0 192.168.49.0 0.0.0.0 255.255.255.0 U 0 0 0 br-38c8ba0fd0af 192.168.56.0 0.0.0.0 255.255.255.0 U 0 0 0 vboxnet1 192.168.57.0 0.0.0.0 255.255.255.0 U 0 0 0 vboxnet0 localhost:~ # traceroute 10.10.20.1 traceroute to 10.10.20.1 (10.10.20.1), 30 hops max, 60 byte packets 1 192.168.56.201 (192.168.56.201) 4.347 ms 4.325 ms 4.308 ms 2 10.10.20.1 (10.10.20.1) 5.540 ms 5.549 ms 5.529 ms Destination IP 10.10.20.1 would represent the IP of option D
upvoted 3 times
...
MaRco222
1 year, 2 months ago
Selected Answer: D
Correct Answer is D.
upvoted 2 times
...
rezart21
1 year, 3 months ago
Selected Answer: D
Correct Answer is D. 192.168.2.0/24 is a static route and it is reached passing 192.168.1.1 via eth0. In routing table any static route (by default) is checked before default gateway . Default gateway will be hited once no match criteria will be found in the routing table .
upvoted 2 times
...
nepechon
1 year, 4 months ago
Selected Answer: A
man route Flags Possible flags include U (route is up) H (target is a host) G (use gateway) R (reinstate route for dynamic routing) D (dynamically installed by daemon or redirect) M (modified from routing daemon or redirect) A (installed by addrconf) C (cache entry) ! (reject route)
upvoted 2 times
...
moepmann21
1 year, 4 months ago
Selected Answer: D
D is correct because 192.168.2.0 route is "smaller" than 0.0.0.0 so the smaller route gets in first.
upvoted 2 times
...
TT924
1 year, 4 months ago
Selected Answer: D
D is correct, because route is defined
upvoted 2 times
...
il_biondo
1 year, 4 months ago
D is correct This routing table is about a router/gateway with ethernet (eth0) and wifi (wlan0) interface. network 192.168.178.0 is connected via interface wlan0 to default gateway 0.0.0.0 network 192.168.1.0 is connected via interface eth0 to default gateway 0.0.0.0 network 192.168.2.0 is connected via interface eth0 to gateway 192.168.1.1 (on network 192.168.1.0) -----> then outgoing packet to reach 192.168.2.150 on network 192.168.2.0 will passed to gateway 192.168.1.1 -------> answer D
upvoted 3 times
...
dislexiccamel
1 year, 4 months ago
Selected Answer: A
A is the answer 0.0.0.0 is a route to any network G flag indicates a gateway
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...