- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp, ssh
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 11:43 AM
тАО09-01-2009 11:43 AM
Re: ftp, ssh
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 147.22.41.0 147.22.41.125 8 0 8 0 0
lo0 32808 127.0.0.0 127.0.0.1 55549 0 55549 0 0
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
147.22.41.125 147.22.41.125 UH 0 lan0 32808
147.22.41.0 147.22.41.125 U 2 lan0 1500
default 147.22.41.1 UG 0 lan0 1500
# telnet 147.22.41.124
Trying...
telnet: Unable to connect to remote host: Network is unreachable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 11:52 AM
тАО09-01-2009 11:52 AM
Re: ftp, ssh
output from 'ifconfig lan0'
output from 'ping 147.22.41.1'
The error you give seems to indicate that there is no route available to the 147.22.41 network, even though the host you are trying to access APPEARS to be on the same subnet, assuming a 255.255.255.0 subnet mask.
Are you ABSOLUTELY POSITIVE that you have connected the cable to the LAN0 network port?
NOTE: The LAN0 network port is DIFFERENT from the MP network port. If you only have 1 cable plugged into the back of the server, and you are accessing the MP from the network, then that is your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 12:00 PM
тАО09-01-2009 12:00 PM
Re: ftp, ssh
lan0: flags=1843
inet 147.22.41.124 netmask ffffff00 broadcast 147.22.41.255
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 12:15 PM
тАО09-01-2009 12:15 PM
Re: ftp, ssh
> Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
> lan0 1500 147.22.41.0 147.22.41.125 8 0 8 0 0
> [...]
> #ifconfig lan0
> lan0: flags=1843
> inet 147.22.41.124 netmask ffffff00 broadcast 147.22.41.255
So, as I see it, "netstat -in" says that lan0
is 147.22.41.125, while "ifconfig" says that
lan0 is 147.22.41.124.
Someone's confused. (I certainly am.)
> > I have the IP address set up in /etc/hosts
> > & rc.config.d/netconf
>
> I should trust your opinion?
Are you willing to show the evidence?
Do these commands do anything different
after a re-boot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 12:35 PM
тАО09-01-2009 12:35 PM
Re: ftp, ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 12:42 PM
тАО09-01-2009 12:42 PM
Re: ftp, ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 12:59 PM
тАО09-01-2009 12:59 PM
Re: ftp, ssh
On this from thee outside world I can ping my gateway..
I have two lan's configured here..
lan0 & lan1
I can ping the gateway for lan1 but lan 0 I cannot...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 01:13 PM
тАО09-01-2009 01:13 PM
Re: ftp, ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 01:35 PM
тАО09-01-2009 01:35 PM
Re: ftp, ssh
rc.config.c/netconf
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=135.11.26.125
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""
DEFAULT_INTERFACE_MODULES=""
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=134.11.25.125
DHCP_ENABLE[1]=0
SUBNET_MASK[1]=255.255.255.0
ROUTE_MASK[0]=255.255.255.0
ROUTE_GATEWAY[0]=135.11.26.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
ROUTE_MASK[1]=255.255.255.0
ROUTE_GATEWAY[1]=135.11.25.1
BROADCAST_ADDRESS[1]=""
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[1]=default
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
1/0/1/1/0/6/0 0x00110A426CC0 0 UP lan0 snap0 1 ETHER Yes 119
1/0/1/1/0/6/1 0x00110A426CC1 1 UP lan1 snap1 2 ETHER Yes 119
1/0/6/1/0/6/0 0x00163573A23C 2 UP lan2 snap2 3 ETHER Yes 119
1/0/6/1/0/6/1 0x00163573A23D 3 UP lan3 snap3 4 ETHER Yes 119
1/0/14/1/0/6/0 0x00163573E20C 5 UP lan5 snap5 5 ETHER Yes 119
1/0/14/1/0/6/1 0x00163573E20D 6 UP lan6 snap6 6 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 8 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 9 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 10 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 11 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 12 ETHER Yes 119
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
134.11.25.125 134.11.25.125 UH 0 lan1 32808
135.11.26.125 135.11.26.125 UH 0 lan0 32808
134.11.26.0 135.11.26.125 U 2 lan0 1500
134.11.25.0 134.11.25.125 U 2 lan1 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 135.11.25.1 UG 0 lan1 1500
default 135.11.26.1 UG 0 lan0 1500
# ifconfig lan0
lan0: flags=1843
inet 135.11.26.125 netmask ffffff00 broadcast 135.11.31.255
# ifconfig lan1
lan1: flags=1843
inet 134.11.25.125 netmask ffffff00 broadcast 135.11.34.255
# cat /etc/hosts
# @(#)B.11.31_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
135.11.26.125 hpvm.us1.hp.com hpvm
127.0.0.1 localhost loopback
# hostname
hpvm
#
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 134.11.25.0 134.11.25.125 1 0 1 0 0
lan0 1500 134.11.26.0 135.11.26.125 2425 0 2425 0 0
lo0 32808 127.0.0.0 127.0.0.1 1297 0 1297 0 0
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 02:51 PM
тАО09-01-2009 02:51 PM
Re: ftp, ssh
- « Previous
-
- 1
- 2
- Next »