클라이언트에서 서버로 ftp를 할 수 없습니다. 가상 머신에서 서버에 ping을 보낼 수 있고 ssh는 할 수 있지만 ftp는 할 수 없습니다. 제가 사용하고 있는 기본 머신은 Ubuntu 14.04입니다. ifconfig
출력 은 다음과 같습니다 .
raghav@raghav-HP-15-Notebook-PC:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 38:63:bb:e5:ee:29
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6302 errors:0 dropped:0 overruns:0 frame:0
TX packets:6302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:603664 (603.6 KB) TX bytes:603664 (603.6 KB)
ra0 Link encap:Ethernet HWaddr c0:38:96:7f:5c:97
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::c238:96ff:fe7f:5c97/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:354373 errors:0 dropped:0 overruns:0 frame:0
TX packets:69134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:121914289 (121.9 MB) TX bytes:12476694 (12.4 MB)
Interrupt:16
vmnet1 Link encap:Ethernet HWaddr 00:50:56:c0:00:01
inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:c0:00:08
inet addr:172.16.172.1 Bcast:172.16.172.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
이제 머신에 VM 플레이어를 설치하고 다음 구성으로 RHEL 6 서버를 구성했습니다.
raghav@raghav-HP-15-Notebook-PC:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 38:63:bb:e5:ee:29
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6302 errors:0 dropped:0 overruns:0 frame:0
TX packets:6302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:603664 (603.6 KB) TX bytes:603664 (603.6 KB)
ra0 Link encap:Ethernet HWaddr c0:38:96:7f:5c:97
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::c238:96ff:fe7f:5c97/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:354373 errors:0 dropped:0 overruns:0 frame:0
TX packets:69134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:121914289 (121.9 MB) TX bytes:12476694 (12.4 MB)
Interrupt:16
vmnet1 Link encap:Ethernet HWaddr 00:50:56:c0:00:01
inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:c0:00:08
inet addr:172.16.172.1 Bcast:172.16.172.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
서버에서 다음 구성으로 VM RHEL 6을 배포했습니다.
Ipaddr: 192.168.122.217
NAT 프로토콜은 네트워크를 구성할 때 사용됩니다. 어떤 도움이라도 대단히 감사하겠습니다.
답변1
ftp
RHEL 6에서는 이러한 안전하지 않은 프로토콜이 기본적으로 설치/활성화되지 않습니다 .
yum install proftpd
ftp가 설치됩니다.