Quizzes

Linux routing and bridging: 100+38 questions

The bank has 100 Bronze + 38 Silver questions; each exam draws 25 at random, 20 to pass, while practice covers the full bank. Covers ip addr/ip link/ip route/bridge, VLANs, routing tables, policy routing, NAT, raw IP and CPE paths.

Bronze comprehensive · 138 questions · Exam mode

1CommandWhich command gives a compact list of all interfaces?
2ConceptWhat does `NO-CARRIER` usually mean?
3ConceptWhat does `LOWER_UP` indicate?
4ConceptWhat does `master br0` mean in link output?
5ConceptWhat is the key difference between `link/[519]` and `link/ether`?
6CommandWhich command shows detailed link attributes such as VLAN, bridge and promisc?
7CommandWhich command shows interface packet and error counters?
8CommandWhich command temporarily sets eth0 administratively up?
9CommandWhich command sets eth0 MTU to 1400?
10CommandWhich command temporarily changes eth0’s MAC address?
11CommandWhich command creates a bridge named br0?
12CommandWhich command adds eth0 to br0?
13CommandWhich command removes eth0 from its bridge?
14CommandWhich command deletes bridge br0?
15CommandWhich command shows bridge port STP/forwarding state?
16ConceptWhat is the main purpose of the FDB?
17ConceptWhat does a `self` FDB entry mean?
18ConceptWhat usually happens to an unknown unicast frame in a bridge?
19CommandWhich command disables STP on br0?
20CommandWhich command creates VLAN 10 on eth0?
21CommandWhich command creates a VLAN-filtering bridge?
22CommandWhich command sets eth0 PVID to 10?
23CommandWhich command marks VLAN 10 as untagged on eth0?
24ConceptIf a port VLAN is not marked untagged, it is usually?
25CommandWhich command shows the bridge VLAN table?
26CommandWhich command deletes VLAN 10 from eth0?
27ConceptWhat does a name like `eth0.10` usually mean?
28CommandWhich command adds 192.168.50.1/24 to br0?
29CommandWhich command deletes 192.168.50.1/24 from br0?
30CommandWhich command adds a default route via 192.168.50.254?
31CommandWhich command adds a static route for 10.10.0.0/16 via 192.168.50.254?
32ConceptWhat does `scope link` mean?
33ConceptWhat does `proto kernel` mean on a route?
34ConceptWhat does `src 192.168.1.1` in a route mean?
35CommandWhich command simulates the route to 8.8.8.8?
36ConceptWhen multiple routes match, which is preferred?
37ConceptA host route is usually?
38CommandWhich command adds a blackhole route?
39CommandWhich command shows the IPv6 routing table?
40CommandWhich command shows all routing tables, including custom ones?
41ConceptWhich table does plain `ip route` use by default?
42ConceptWhat determines `ip rule` matching order?
43ConceptIf a rule says `lookup 14` but table 14 is empty, what happens?
44ConceptWhat does an `iif brlan0` rule match?
45ConceptWhat does `from 192.168.1.1 lookup 14` match?
46ConceptDoes Linux have only one `fib_table` instance?
47ConceptWhat does `fib_table` represent?
48ConceptWhat does `fib_nh` represent?
49ConceptWhat is `rtable` closer to?
50CommandWhich command looks up a route with a specified source?
51CommandWhich command adds a source-based rule for table 100?
52CommandWhich command deletes a rule by pref?
53CommandWhich command flushes routes from table 100?
54ConceptWhat does `lookup local` mainly handle?
55ConceptWhat is `lookup default` usually?
56CommandWhich command enables IPv4 forwarding?
57ConceptWhere does SNAT usually happen?
58ConceptWhat is the key difference between MASQUERADE and SNAT?
59ConceptWhat is DNAT commonly used for?
60CommandWhich command shows the conntrack table?
61ConceptWhat does `-o qmapmux0.0` mean in POSTROUTING?
62ConceptWhat is a custom chain like `postrouting_towan` usually for?
63ConceptWhat does an empty `postrouting_tolan` chain mean?
64ConceptWhat does `SNAT --to-source 10.84.165.200` do?
65ConceptWhat is the core difference between bridge forwarding and NAT forwarding?
66CommandWhich command lists NAT table rules?
67ConceptFor LAN-to-WAN L3 forwarding, the kernel must enable?
68ConceptWhen should you choose SNAT vs MASQUERADE?
69ConceptWhy does `qmapmux0.0` have no ARP?
70ConceptWhich layer does ARP belong to?
71ConceptWhat is `rmnet` on a modern 3GPP CPE?
72ConceptWhat is QMAP mainly used for?
73ConceptWhat is IPA on Qualcomm platforms?
74ConceptWhy is the cellular WAN not added to `brlan0`?
75ConceptWhat is the relationship between `brlan0` and OpenWrt’s `br-lan`?
76ConceptWhat do multiple `ath*.10`/`mld*.10` interfaces usually mean?
77ConceptBoth eth0/eth1 are NO-CARRIER; why can the bridge still be UP?
78ConceptTable 14 is empty but a rule points to it. What does that mean?
79ConceptWhat is the division between `ip link` and `ip route`?
80ConceptWhich core structure describes a network interface in Linux?
81ConceptIn `via 10.84.165.201 dev qmapmux0.0`, what follows `via`?
82ConceptWhat does `192.168.1.0/24 dev brlan0 scope link src 192.168.1.1` mean?
83ConceptWhat does `default via 10.84.165.201 dev qmapmux0.0` mean?
84ConceptWhat is a reasonable order for “LAN cannot reach the Internet”?
85ConceptIf the FDB lacks the destination MAC, the bridge may?
86Concept`bridge link` shows `state disabled` with `NO-CARRIER`; this is usually?
87CommandWhich command gives compact address output?
88CommandWhich command shows the ARP/ND neighbor cache?
89ConceptTable 14 is empty but a rule points to it. What should you do?
90ConceptWhat is the most likely path for a LAN client reaching the Internet?
91CommandWhich command shows IP addresses on br0?
92CommandWhich command prints one address line per interface?
93ConfigWhich command adds an address with a label on br0?
94ConfigWhich command adds a point-to-point peer address on veth0?
95ConfigWhich command changes an existing address on br0?
96ConfigWhich command adds an address or replaces it if present?
97CommandWhich command removes all addresses from br0?
98ConceptWhat does `secondary` mean in address output?
99ConceptWhat do `valid_lft forever preferred_lft forever` mean?
100ConceptWhat is the core difference between `ip addr` and `ip link`?
101ConceptTwo default routes have different metrics. Which is normally preferred?
102ConceptA rule matches but its table is empty. What happens?
103ConceptIn policy routing, a smaller `pref` means?
104ConceptWhat is `iif brlan0 lookup 14` best for checking?
105ConceptLAN can ping the gateway but not the Internet. What should you check first?
106ConceptWith `ip_forward=0`, what happens to LAN-to-WAN traffic?
107ConceptHow does return traffic find the original connection after SNAT?
108ConceptWhich WAN suits MASQUERADE best?
109ConceptWhy is 1492 a common PPPoE MTU?
110ConceptA bridge port shows `NO-CARRIER` but `master br0`. What does that mean?
111ConceptWhat does `state disabled` in `bridge link` mean?
112ConceptWhat happens if a `link/[519]` interface tries ARP?
113ConceptWhat is the relationship between `qmapmux0.0` and `brlan0`?
114ConceptIn that route, what is `src 192.168.1.1`?
115ConceptWhat is `ip route get 8.8.8.8` best for?
116ConceptWhat does a `from 192.168.1.1 lookup 14` rule match?
117ConceptWhat does `dynamic` in `ip addr` usually mean?
118ConceptWhat is the main risk of `ip addr flush dev br0`?
119ConceptWhat does `ip route add blackhole 10.99.0.0/16` do?
120ConceptWhat is the minimal check set for “ping gateway but no Internet”?
121CommandWhich command starts an iPerf3 server?
122CommandWhich command runs a TCP test to 192.168.1.10?
123CommandWhich option makes the server send data to the client?
124CommandWhich option uses UDP instead of TCP?
125CommandWhich option limits UDP sending bandwidth to 100M?
126CommandWhich option runs four parallel streams?
127CommandWhich option runs the test for 30 seconds?
128ConceptHeavy loss in a UDP test first suggests?
129ConceptA 1G link only reaches 300M in iPerf3. What should you not suspect first?
130ConceptWhat does Retr mean in iPerf3 TCP output?
131ConceptWhat does `ip addr` modify?
132ConceptWhich structures carry IPv4 addresses in Linux?
133ConceptWhich structures carry IPv6 addresses in Linux?
134CommandHow does `ip addr add` pass the request to the kernel?
135ConceptAfter adding an address, the kernel usually installs?
136ConceptWhat is the difference between IFA_LOCAL and IFA_ADDRESS?
137ConceptWhat does `tentative` mean on an IPv6 address?
138ConceptWhat else usually happens when `ip addr del` removes an address?
Back