Which two commands can be used on Oracle Linux to find the routing table and default gateway information of your network?

Which two commands can be used on Oracle Linux to find the routing table and default gateway
information of your network?

Which two commands can be used on Oracle Linux to find the routing table and default gateway
information of your network?

A.
netstat –r

B.
route show

C.
cat /proc/route

D.
route –n

E.
traceroute

Explanation:
A:netstat – Print network connections, routing tables, interface statistics,
masquerade connections, and multicast memberships
D:
*route – show / manipulate the IP routing table
* route –n
-n
show numerical addresses instead of trying to determine symbolic host names. This is useful if
you are trying to determine why the route to your nameserver has vanished.
*The output of the kernel routing table is organized in the following
columns
Destination
The destination network or destination host.
Gateway
The gateway address or ’*’ if none set.
Genmask
The netmask for the destination net; ’255.255.255.255’ for a
host destination and ’0.0.0.0’ for the default route.
Incorrect:
Not B: use route –n. No subcommand show.
Not E:traceroute – print the route packets trace to network host



Leave a Reply 0

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