Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 1 Question 99 Discussion

Posted by Felix on May 03, 2025 at 05:04 AM

What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Suggested Answer: A, D

Get Premium LFCS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
MO
Monte 10 months ago
Wait, can you really use "ifconfig unset default"? Sounds off.
MA
Maryann 11 months ago
Yeah, "route del default" works too!
EM
Emogene 11 months ago
Pretty sure it's "ip route del default."
JU
Judy 11 months ago
I thought "sysctl ipv4.default_gw=0" was a thing, but not sure about that one.
MA
Marge 11 months ago
Definitely not "netstat -r default," that's for viewing routes, not deleting!
CA
Carolynn 11 months ago
I think "netstat -r default" is definitely not for deleting anything; it just shows the routing table, right?
AL
Alton 12 months ago
I feel like "ifconfig unset default" is not right, but I can't recall what the correct command is.
KA
Kanisha 12 months ago
I remember practicing with "ip route" commands, so "ip route del default" sounds familiar to me.
AR
Arminda 1 year ago
I think the command to delete the default gateway is something like "route del default," but I'm not entirely sure if that's the exact syntax.
ZA
Zack 1 year ago
Hmm, the "ifconfig unset default" and "sysctl ipv4.default_gw=0" options don't seem right to me. I think the "route del default" and "ip route del default" commands are the way to go here.
LE
Lenita 1 year ago
I'm a bit unsure about some of these options. I know the "route del default" command is used to delete the default gateway, but I'm not familiar with the other choices. Guess I'll have to eliminate the ones I'm not confident about.
LA
Laurel 1 year ago
Easy peasy! The "route del default" and "ip route del default" commands are definitely the way to go here. I've used those before to manage routing tables.
VI
Vince 1 year ago
Okay, let's see here. I'm pretty sure the "route del default" and "ip route del default" commands are the correct answers, but I'll double-check the others just to be sure.
TE
Teresita 1 year ago
Hmm, this looks like a tricky networking question. I'll need to think carefully about the different commands and which ones would actually delete the default gateway.
ED
Edison 1 year ago
I'm going with A and D. Can't go wrong with the classic 'route' and 'ip route' commands. Deleting the default gateway is like deleting your emergency contact - it's just asking for trouble!
GR
Gracie 1 year ago
↳ replying to Edison
User2: Yeah, 'route del default' and 'ip route del default' are the way to go.
ST
Stevie 1 year ago
↳ replying to Edison
User1: I think A and D are the correct commands to delete the default gateway.
OS
Osvaldo 1 year ago
Haha, 'netstat -r default'? That's just gonna show you the routing table, not delete anything.
FA
Fausto 1 year ago
E) sysctl ipv4.default_gw=0? Really? I'm not sure that would actually delete the default gateway. Sounds more like a way to change the default gateway.
HU
Hubert 1 year ago
↳ replying to Fausto
E) I think you're right, sysctl command is used to change system parameters, not delete the default gateway.
EL
Elina 1 year ago
↳ replying to Fausto
E) sysctl ipv4.default_gw=0
LE
Letha 1 year ago
↳ replying to Fausto
D) ip route del default
PE
Pete 1 year ago
↳ replying to Fausto
A) route del default
MA
Marta 1 year ago
Whoa, 'ifconfig unset default'? That's a new one to me. I've never seen that before.
VA
Valentine 1 year ago
↳ replying to Marta
User3: 'ifconfig unset default' sounds interesting, I might have to try that out.
TO
Toi 1 year ago
↳ replying to Marta
User2: Yeah, that's the command I'm familiar with too.
FR
France 1 year ago
↳ replying to Marta
User1: I always use 'ip route del default' to delete the default gateway.
RO
Rodney 1 year ago
I agree with Davida, those commands make sense for deleting the default gateway.
DA
Davida 2 years ago
I think the correct answers are A) route del default and D) ip route del default.
FL
Florencia 2 years ago
What is the command to delete the default gateway from the system IP routing table?
AN
Annita 2 years ago
I think the correct answers are A and D. 'route del default' and 'ip route del default' are the standard commands to remove the default gateway.
EM
Emiko 1 year ago
↳ replying to Annita
Thanks for confirming. It's important to use the correct commands to manage the system IP routing table.
ER
Erinn 1 year ago
↳ replying to Annita
Yes, those are the right choices. 'ifconfig unset default' and 'netstat -r default' are not valid commands for removing the default gateway.
JA
Javier 1 year ago
↳ replying to Annita
Make sure to use 'route del default' or 'ip route del default' to delete the default gateway.
MA
Madalyn 1 year ago
↳ replying to Annita
I agree, 'route del default' and 'ip route del default' are the correct commands to delete the default gateway.
JE
Jeannetta 1 year ago
↳ replying to Annita
Yes, those are the correct commands to remove the default gateway from the system IP routing table.
JA
Jamey 1 year ago
↳ replying to Annita
I agree, 'route del default' and 'ip route del default' are the correct commands to delete the default gateway.
0/2000 characters

Save Cancel