Hi All
I am having issues using ftp between a solaris 10 server to a HP-UX 11.31 server, but from the solaris server to the hp-ux I am able to ping. This is what I have done so far:
in the solaris server:
root@MPCRS01 # svcs -a | grep ftp
online Jul_26 svc:/network/ftp:default
and
svcs -xv ftp
svc:/network/ftp:default (FTP server)
State: online since Fri Jul 26 19:48:55 2013
See: man -M /usr/share/man -s 1M in.ftpd
See: man -M /usr/share/man -s 1M ftpd
Impact: None.
and
# cat /etc/services |grep -i ftp
ftp-data 20/tcp
ftp 21/tcp
tftp 69/udp
and
# netstat -an |grep -i *.21
*.21 *.* 0 0 49152 0 LISTEN
*.21 *.* 0 0 49152 0 LISTEN
and
# netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 10.254.3.65 UG 1 107127
10.254.3.64 10.254.3.69 U 1 173 nxge0
224.0.0.0 10.254.3.69 U 1 0 nxge0
127.0.0.1 127.0.0.1 UH 632 28972624 lo0
root@MPCRS01 # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nxge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.254.3.69 netmask ffffffc0 broadcast 10.254.3.127
ether 0:21:28:b1:db:70
Sorry I had to copy and paste from email sent to me with those comands as I do not have access to the system.
On the HP-UX server:
#cat /etc/inetd.conf | grep ftp
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
#netstat -an |grep -i *.21
tcp 0 0 *.2121 *.* LISTEN
tcp 0 0 *.21 *.* LISTEN
cat /etc/services |grep -i ftp
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
Please can you assist
---------- Post updated at 02:55 PM ---------- Previous update was at 09:53 AM ----------
I try to connect from the solaris 10 server, using
sftp root@10.1.20.33
and on hp-ux server I have run the following:
/usr/local/sbin/tcpdump -v host 10.254.3.69
and the output was:
tcpdump: listening on lan2, link-type EN10MB (Ethernet), capture size 65535 bytes
14:31:16.479520 IP (tos 0x0, ttl 62, id 52233, offset 0, flags [DF], proto TCP (6), length 52)
crs.58105 > mcelVMhost5.22: Flags , cksum 0x91b3 (correct), seq 2968345370, win 49640, options [mss 1460,nop,wscale 0,nop,nop,sackOK], length 0
14:31:16.522288 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has crs (Broadcast) tell mcelVMhost5, length 28
14:31:16.543097 ARP, Ethernet (len 6), IPv4 (len 4), Reply crs is-at 58:8d:09:a1:ee:21 (oui Unknown), length 46
14:31:16.543137 IP (tos 0x0, ttl 64, id 8869, offset 0, flags [DF], proto TCP (6), length 52)
mcelVMhost5.22 > crs.58105: Flags [S.], cksum 0x2c8b (incorrect -> 0xa433), seq 570920015, ack 2968345371, win 65535, options [mss 1460,nop,nop,sackOK,wscale 2,nop], length 0
14:31:17.604979 IP (tos 0x0, ttl 62, id 52234, offset 0, flags [DF], proto TCP (6), length 52)
crs.58105 > mcelVMhost5.22: Flags , cksum 0x91b3 (correct), seq 2968345370, win 49640, options [mss 1460,nop,wscale 0,nop,nop,sackOK], length 0
14:31:17.605304 IP (tos 0x0, ttl 64, id 8870, offset 0, flags [DF], proto TCP (6), length 52)
mcelVMhost5.22 > crs.58105: Flags [S.], cksum 0x2c8b (incorrect -> 0xa433), seq 570920015, ack 2968345371, win 65535, options [mss 1460,nop,nop,sackOK,wscale 2,nop], length 0
Please can someone explain?