IP로 AS번호 가져오기
IP 주소로 ASN 가져오기 whois -h whois.radb.net 168.126.63.1 | grep 'origin:' | awk '{print $NF}' | head -1 출력 예 [[email protected] ~]$ whois -h whois.radb.net 168.126.63.1 | grep 'origin:'… Continue reading "IP로 AS번호 가져오기"
고급 메모장
IP 주소로 ASN 가져오기 whois -h whois.radb.net 168.126.63.1 | grep 'origin:' | awk '{print $NF}' | head -1 출력 예 [[email protected] ~]$ whois -h whois.radb.net 168.126.63.1 | grep 'origin:'… Continue reading "IP로 AS번호 가져오기"
AS (Autonomous System) Number로 IP 가져오기 whois -h whois.radb.net -- '-i origin AS4766' | egrep '(^route):' | awk '{print $NF}' | sort -n | uniq 출력 예 1.247.29.0/24 1.247.31.0/24 1.247.32.0/24… Continue reading "AS번호로 IP 가져오기"