JAVA/Sun Exam Questions

Which command should you use to verify that the router is configured (in the kernel) to forward IP p

A router is refusing to forward IP packets. Snoop has revealed that packets are arriving on its interfaces, but it is refusing to forward packets and route them.

Which command should you use to verify that the router is configured (in the kernel) to forward IP packets?

A.
ndd -get /dev/udp ip-forward

B.
ndd -get /dev/ip ip_forwarding

C.
ndd -get ip-forwarding /dev/tcp

D.
ndd -set /dev/ip ip_forwarding 1

E.
ndd -set /dev/ip ip_forwarding 0