JAVA/Sun Exam Questions

What command verifies that the router is currently configured (in the kernel) to forward IP packets?

A router is refusing to forward IP packets, and snoop reveals that packets are arriving on its interfaces, but it is refusing to forward packets and route them. What command verifies that the router is currently 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