What command is used to add a route to the 192.168.4.0/24 network via 192.168.0.2?

What command is used to add a route to the 192.168.4.0/24 network via 192.168.0.2?

What command is used to add a route to the 192.168.4.0/24 network via 192.168.0.2?

A.
route add – network 192.168.4.0 netmask 255.255.255.0 gw 192.168.0.2

B.
route add – net 192.168.4.0/24 gw 192.168.0.2

C.
route add – network 192.168.4.0/24 192.168.0.2

D.
route add – net 192.168.4.0 netmask 255.255.255.0 192.168.0.2

E.
route add – net 192.168.4.0 netmask 255.255.255.0 gw 192.168.0.2



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Mike

Mike

Answer E is correct, but answer B is correct too and can be used on newer Linux Systems (guess since Kernel 2.6 and newer, I didn’t look it up)

Slyvia Booze

Slyvia Booze

Thanks for one’s marvelous posting! I quite enjoyed reading it, you may be a great author.I will ensure that I bookmark your blog and will eventually come back later on. I want to encourage that you continue your great writing, have a nice weekend!

http://www.bastcilkdoptb.com/

mr_tienvu

mr_tienvu

Correct answer is