Annoying ndd error
I have this error that keeps popping up, does anyone know which ndd setting /variable could be causing this ?
Sep 19 13:04:43 my.machine.com ip: [ID 766727 kern.warning] WARNING: The <if>:ip*_forwarding ndd variables are obsolete and may be removed in a future release of Solaris. Use ifconfig(1M) to manipulate the forwarding status of an interface.
Thanks
Gary
# 1
The error mesage says it all basically.
Run ndd -get /dev/ip ?
you'll see a few variables listed looking something like ce0:ip_forwarding or something similair. These you can set to 0 or 1 to deny or allow forwarding. Judging from the error message, this method of doing that will be obsoleted soon. Try doing
grep ndd /etc/rc*.d/*
to see in which files the ndd command is being used. ( i'm just guessing, but they're most likely somewhere there ).