tftp는 SAM--> Networking and Communicatioins -->
Network Services --> TFT 선택후 enable만 시켜주시면됩니다.
tftp파일이 올라가는 디렉토리위치는 /home/tftpdir입니다.
테스트는 아래와 같이 하시면 됩니다.
--------------------------- tftp세팅된서버 연결테스트하기 -------------------------------
tftp서버: krcipf4c
Client : krcmc1
tftp서버에서, SAM에서 tftp enable후, 포트가 열렸는지 아래와 같이 확인.
[root@krcipf4c:/home/tftpdir] netstat -a | grep tftp
udp 0 0 *.tftp *.*
[root@krcipf4c:/home/tftpdir]
/home/tftpdir 밑에서
#touch this
를 한 다음 클라이언트에서 다음과 같이 접속후 파일이 정상적으로 받아지는지 확인.
로컬테스트
[root@krcipf4c:/usr/local/etc] tftp localhost
tftp> get this
Received 16 bytes in 0.0 seconds
tftp> put this
Sent 16 bytes in 0.0 seconds
클라이언트에서 리모트테스트
[root@krcmc1:/tmp] tftp krcipf4c
주의: 1. put 즉 서버로 파일을 올릴때는 서버에서 target을 미리 만들어줘야함.
2. 업로드 되는 파일은, /home/tftpdir디렉토리로 올라감.
[root@krcipf4c:/home/tftpdir] touch this
tftp> verbose
Verbose mode on.
tftp> put /tmp/test.c this
putting /tmp/test.c to krcipf4c.kor.hp.com:this
Sent 731 bytes in 0.0 seconds [inf bits/sec] <---------------- 잘 올라갑니다.
tftp> get this
getting from krcipf4c.kor.hp.com:this to this <---------------- 잘 내려옵니다.
Network Services --> TFT 선택후 enable만 시켜주시면됩니다.
tftp파일이 올라가는 디렉토리위치는 /home/tftpdir입니다.
테스트는 아래와 같이 하시면 됩니다.
--------------------------- tftp세팅된서버 연결테스트하기 -------------------------------
tftp서버: krcipf4c
Client : krcmc1
tftp서버에서, SAM에서 tftp enable후, 포트가 열렸는지 아래와 같이 확인.
[root@krcipf4c:/home/tftpdir] netstat -a | grep tftp
udp 0 0 *.tftp *.*
[root@krcipf4c:/home/tftpdir]
/home/tftpdir 밑에서
#touch this
를 한 다음 클라이언트에서 다음과 같이 접속후 파일이 정상적으로 받아지는지 확인.
로컬테스트
[root@krcipf4c:/usr/local/etc] tftp localhost
tftp> get this
Received 16 bytes in 0.0 seconds
tftp> put this
Sent 16 bytes in 0.0 seconds
클라이언트에서 리모트테스트
[root@krcmc1:/tmp] tftp krcipf4c
주의: 1. put 즉 서버로 파일을 올릴때는 서버에서 target을 미리 만들어줘야함.
2. 업로드 되는 파일은, /home/tftpdir디렉토리로 올라감.
[root@krcipf4c:/home/tftpdir] touch this
tftp> verbose
Verbose mode on.
tftp> put /tmp/test.c this
putting /tmp/test.c to krcipf4c.kor.hp.com:this
Sent 731 bytes in 0.0 seconds [inf bits/sec] <---------------- 잘 올라갑니다.
tftp> get this
getting from krcipf4c.kor.hp.com:this to this <---------------- 잘 내려옵니다.