root@vm180
[/root]
# ndd -h
SUPPORTED ndd tunable parameters on HP-UX:
라인이 길어서 생략
부분값확인
root@vm180
[/root]
# ndd -h ip_forwarding
ip_forwarding:
Controls how IP hosts forward packets: Set to 0 to inhibit
forwarding; set to 1 to always forward; set to 2 to forward
only if the number of logical interfaces on the system is 2
or more. [0,2] Default: 2
arp 인터벌 확인 단위는 ms
root@vm180
[/root]
# ndd -get /dev/arp arp_cleanup_interval
300000
root@vm180
[/root]
# arp -a
59.29.225.254 (59.29.225.254) at
54:75:d0:c3:d3:bf ether
변경
root@vm180
[/root]
# ndd -set /dev/arp arp_cleanup_interval
600000
확인
root@vm180
[/root]
# ndd -get /dev/arp arp_cleanup_interval
600000
물론 재기동 하면 적용이 안되므로
실제 config를 바꿔보자
root@vm180
[/root]
# vi /etc/rc.config.d/nddconf
TRANSPORT_NAME[4]=arp
NDD_NAME[4]=arp_cleanup_interval
NDD_VALUE[4]=900000
"/etc/rc.config.d/nddconf" 59
lines, 1932 characters
저장후에 현재값을 확인해 보고
root@vm180
[/root]
# ndd -get /dev/arp arp_cleanup_interval
600000
데몬을 다시 기동하면
root@vm180
[/root]
# /sbin/init.d/net start
변경된 값을 확인할수있다.
root@vm180
[/root]
# ndd -get /dev/arp arp_cleanup_interval
900000
댓글 없음:
댓글 쓰기