HP-UX 컴퓨터가 있는데 호스트에 액세스할 수 없는 이유를 확인하려고 합니다. 호스트 10.32.13.146에 연락하려고 합니다
root@hp-ux:/root # traceroute -I 10.32.13.146
traceroute to 10.32.13.146 (10.32.13.146), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
아래와 같이 네트워크에 대한 경로가 이미 있습니다(10.32.13.128/255.255.255.128 10.32.32.1).
root@hp-ux:/root # netstat -rnv Routing tables Dest/Netmask
Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 32808
10.32.32.25/255.255.255.255 10.32.32.25 UH 0 lan901 32808
142.40.216.27/255.255.255.255 142.40.216.27 UH 0 lan900 32808
142.40.216.0/255.255.255.128 142.40.216.27 U 2 lan900 1500
10.32.32.0/255.255.255.128 10.32.32.25 U 2 lan901 1500
10.32.33.0/255.255.255.128 10.32.32.1 UG 0 lan901 1500
10.32.37.0/255.255.255.128 10.32.32.1 UG 0 lan901 1500
10.32.46.128/255.255.255.128 10.32.32.1 UG 0 lan901 1500
10.106.132.128/255.255.255.128 10.32.32.1 UG 0 lan901 1500
10.32.13.128/255.255.255.128 10.32.32.1 UG 0 lan901 1500
10.106.129.0/255.255.255.0 10.32.32.1 UG 0 lan901 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 32808
default/0.0.0.0 142.40.216.1 UG 0 lan900 1500
누군가 이 서버의 문제점과 이 상황을 해결하는 방법을 설명해 줄 수 있습니까?
편집 : 10.32.32.25에 도달했습니다. 문제 없습니다.
root@hp-ux:/root# ping 10.32.32.25 -n 1
PING 10.32.32.25: 64 byte packets
64 bytes from 10.32.32.25: icmp_seq=0. time=0. ms
----10.32.32.25 PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
이것은 /etc/rc.config.d/netconf입니다.
root@hp-ux:/root# grep -v ^# /etc/rc.config.d/netconf
HOSTNAME="hp-ux"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="142.40.216.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
ROUTE_SOURCE[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARPD=0
DEFAULT_INTERFACE_MODULES=""
INTERFACE_NAME[1]="lan900"
IP_ADDRESS[1]="142.40.216.27"
SUBNET_MASK[1]="255.255.255.128"
BROADCAST_ADDRESS[1]="142.40.216.127"
INTERFACE_STATE[1]="up"
DHCP_ENABLE[1]="0"
INTERFACE_MODULES[1]=""
INTERFACE_NAME[2]="lan901"
IP_ADDRESS[2]="10.32.32.25"
SUBNET_MASK[2]="255.255.255.128"
BROADCAST_ADDRESS[2]="10.32.32.127"
INTERFACE_STATE[2]="up"
DHCP_ENABLE[2]="0"
INTERFACE_MODULES[2]=""
ROUTE_DESTINATION[1]="net 10.32.33.0"
ROUTE_GATEWAY[1]=10.32.32.1
ROUTE_COUNT[1]=1
ROUTE_MASK[1]=255.255.255.128
ROUTE_ARGS[1]=
ROUTE_DESTINATION[3]="net 10.32.46.128"
ROUTE_GATEWAY[3]=10.32.32.1
ROUTE_COUNT[3]=1
ROUTE_MASK[3]=255.255.255.128
ROUTE_ARGS[3]=
ROUTE_DESTINATION[2]="net 10.32.37.0"
ROUTE_GATEWAY[2]=10.32.32.1
ROUTE_COUNT[2]=1
ROUTE_MASK[2]=255.255.255.128
ROUTE_ARGS[2]=
ROUTE_DESTINATION[4]="net 10.106.129.0"
ROUTE_GATEWAY[4]=10.32.32.1
ROUTE_COUNT[4]=1
ROUTE_MASK[4]=255.255.255.0
ROUTE_ARGS[4]=
ROUTE_DESTINATION[5]="net 10.106.132.128"
ROUTE_GATEWAY[5]=10.32.32.1
ROUTE_COUNT[5]=1
ROUTE_MASK[5]=255.255.255.128
ROUTE_ARGS[5]=
ROUTE_DESTINATION[6]="net 10.32.13.128"
ROUTE_GATEWAY[6]=10.32.32.1
ROUTE_COUNT[6]=1
ROUTE_MASK[6]=255.255.255.128
ROUTE_ARGS[6]=
답변1
이 글을 읽는 다른 사람에게:
이 경우 컴퓨터에는 2개의 네트워크 인터페이스가 있습니다. 그 중 하나(lan901)에는 고정 IP 10.32.32.1이 할당되어 있으므로 컴퓨터에 확실히 액세스할 수 있습니다.
캡