2007. 12. 7. 18:35 Unix/HP-UX
route - routing table 편집
o routing table 수동 편집시 사용
o 간략 정리
# route add net destination netmask ________ IP 1
delete host 0
- Default GW 추가시
# route add default ________ hop_count
delete
o 상세 옵션
- ipv4
/usr/sbin/route [-f] [-n] [-p pmtu] add [net|host] destination [netmask mask] gateway [count] [source src]
/usr/sbin/route [-f] [-n] delete [net|host] destination [netmask mask] gateway [count] [source src]
/usr/sbin/route -f [-n]
- ipv6
/usr/sbin/route inet6 [-f] [-n] [-p pmtu] add [net|host] v6destination [ / prefix] v6gateway [count] [source v6src]
/usr/sbin/route inet6 [-f] [-n] delete [net|host] v6destination [ / prefix] v6gateway [count] [source v6src]
/usr/sbin/route inet6 -f [-n]