Sponsored Content
Operating Systems AIX AIX Remote Connect Fail With “No more multiple IP addresses to connect” Error Post 302598977 by a_sim on Thursday 16th of February 2012 12:07:08 AM
Old 02-16-2012
Below are the outputs for each commands

Code:
# netstat -r
Routing tables
Destination        Gateway           Flags   Refs     Use  If   Exp  Groups

Route Tree for Protocol Family 2 (Internet):
default            172.20.108.1      UG       34    522501 en0      -      -
127/8              loopback          U        76    248568 lo0      -      -
172.20.108.0       schpfts01         UHSb      0         0 en0      -      -   =>
172.20.108/24      schpfts01         U         7    105884 en0      -      -
schpfts01          loopback          UGHS     11       989 lo0      -      -   =>
schpfts01          172.20.108.1      UGH      12      1114 en0      -      -
172.20.108.255     schpfts01         UHSb      0         1 en0      -      -

Route Tree for Protocol Family 24 (Internet v6):
::1                ::1               UH        0         0 lo0      -      -


# netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
en0   1500  link#2      0.14.5e.53.79.80   1852266     0  1080284     0     0
en0   1500  172.20.108  schpfts01          1852266     0  1080284     0     0
lo0   16896 link#1                          249844     0   249840     0     0
lo0   16896 127         loopback            249844     0   249840     0     0
lo0   16896 ::1                             249844     0   249840     0     0

# ifconfig -a
en0: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
	inet 172.20.108.47 netmask 0xffffff00 broadcast 172.20.108.255
	 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
	inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
	inet6 ::1/0
	 tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what is the command to connect to remote terminals

what is the command to connect to remote terminals? (1 Reply)
Discussion started by: sendtorohitgupt
1 Replies

2. Shell Programming and Scripting

connect to remote MQ-QManager

Hi , I need to connect to a remote MQ Manager using shell script. Please help. thanks in advance Satya (0 Replies)
Discussion started by: Satyak
0 Replies

3. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

Hi, I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime. To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies

4. OS X (Apple)

Can't connect to remote mini

I have a headless remote Mini in which I was hoping to reduce bandwidth consumption by following an Apple knowledge base note (Mac OS X v10.6: Disabling mDNSResponder will disable DNS) which is a method to stop Bonjour service advertisement. Now I can't connect to the Mini via SSH, screen... (4 Replies)
Discussion started by: mbohn
4 Replies

5. UNIX for Dummies Questions & Answers

How do I connect to a remote X11 server ?

Hi, how do I connect to a remote x server? i tried this: startx -display 192.168.0.1:0 # when I do this, it just connects to my own x server i.e I see my own desktop. and export DISPLAY=192.168.0.1:0.0 # when I do this nothing happens. (it doesn't even try to connect, no activity in... (7 Replies)
Discussion started by: uxfuser
7 Replies

6. AIX

Connect HMC to remote servers

I'm trying to connect a few servers in different remote locations to my HMC. I added static IPs to the Service Processor through ASM, and did all the necessary network configurations, then connected those servers to our switch. Now my questions are: - in our site, do I need to connect these... (4 Replies)
Discussion started by: Dardeer
4 Replies

7. Cybersecurity

When i start CSF i cant connect VPS or download any data into it It appears i cant connect Linux VP?

It appears i cant connect linux VPS server via SSH or i cant SCP any file to it and i cant wget any file TO it (from inside it) while CSF (Config Server Firewall, LFD is running. Just after isntall in default configuration and after changing TESTING mode to LIVE mode. Trying to wget & install... (1 Reply)
Discussion started by: postcd
1 Replies

8. AIX

Command to connect to remote AIX server

Hi All, Im looking for a command that can remotely connect to another AIX machine and execute scripts present in that server(Possible scenarios are a complete a restart of 3 servers in a cluster through a single script execution present in one of the servers). Im relatively new to AIX and... (5 Replies)
Discussion started by: Vishakh
5 Replies

9. Shell Programming and Scripting

Script to connect to remote and sendmail.

Hello, Kindly guide. SendMail function on my script is not working, but it works manually. Any better way to handle the script is appreciable. #!/bin/sh GetHostConnection() { truncate --size 0 /home/web/for_mail.out while read -r lines ; do ip=`echo $lines | awk '{print... (9 Replies)
Discussion started by: sadique.manzar
9 Replies

10. UNIX for Advanced & Expert Users

Connect direct - SFTP - List of servers that I can connect

Greetings Experts, I am working for a bank client and have a question on connect-direct and SFTP. We are using Linux RedHat servers. We use connect-direct to transfer (NDM) files from one server to another server. At times, we manually transfer the files using SFTP from one server to another... (2 Replies)
Discussion started by: chill3chee
2 Replies
netstat(1)						      General Commands Manual							netstat(1)

NAME
netstat - Displays network statistics. SYNOPSIS
/usr/sbin/netstat [-ARgrn | [-Aan] [-f address_family] [-p protocol]] [interval] /usr/sbin/netstat [-adgHimMnRrstuv] [-f address_family] [-p protocol] [interval] /usr/sbin/netstat [-dntz] [-I interface [-c | -s]] [interval] The netstat command displays network-related data in various formats. OPTIONS
Displays the state of sockets related to the Internet protocol. Includes sockets for processes such as servers that are currently listening at a socket but are otherwise inactive. Displays either the address of any protocol control blocks associated with sockets or the addresses of routing table entries with bitmasks. Typically, this option is used for debugging. Displays the number of dropped packets; for use with the -I interface or -i options. You can also specify an interval argument (in seconds). Limits reports to the specified address family. The address families that can be specified might include the following: Specifies reports of the AF_INET family, if present in the kernel. Specifies reports of the AF_INET6 family, if present in the kernel. Specifies reports of the AF_UNIX family, if present in the kernel. Lists information about all address families in the system. Lists information about any address families in the system. Dis- plays statistics since the system was last booted. By default, the command displays statistics since they were last zeroed. Use this option with the -p and -s options only. Displays the current ARP table (behaves like arp -a). Displays the state of configured interfaces. (Interfaces that are statically configured into the system, but not located at system startup, are not shown.) When used with the -a option, it displays IP (IPv4 and IPv6) and link-level addresses associated with the interfaces. You can use the -i option to retrieve your system's hardware address. Displays information about the specified interface. Displays the current access filter for the specified network interface. See ifaccess.conf(4) for more information. Displays the DNA Data Link Layer counters for the specified network interface and the adapter's status and characteristics. See Network Administration for a description of the display fields. Displays information about memory allocated to data structures associated with network operations. Displays Internet protocol multicast routing information. When used with the -s option, it displays IP (IPv4 and IPv6) multicast statistics. Displays network address in numerical format with network masks in CIDR format. When this option is not spec- ified, the address is displayed as hostname and port number. This option can be used with any of the display formats. Displays statistics for protocol, which you can specify as a well known name or an alias. Supported protocol names and their aliases are listed in /etc/protocols. A null listing (0) means that there is no data to report. If routines to report statistics for a speci- fied protocol are not implemented on this system, netstat reports that the protocol is unknown. Displays the host's routing tables. When used with the -s option, shows the host's routing statistics instead of routing tables. Display's the host's routing tables on each Resource Affinity Domain (RAD), if your system has NUMA-capable hardware. Displays statistics for each protocol. Displays timer information; for use with the -I interface or -i options. Displays information about domain sockets (UNIX domain). Displays more verbose output when specified with the -r option. In this case, route metric values are displayed. Sets the network interface counters or protocol statistics counters to zero. This option must be specified with either the -I interface option or the -s or -p options. In addition, you must be superuser to use this option. DESCRIPTION
The interval argument specifies in seconds the interval for updating and displaying information. The first line of the display shows cumu- lative statistics; subsequent lines show statistics recorded during interval. Default Display When used without options, the netstat command displays a list of active sockets for each protocol. The default display shows the following items: Local and remote addresses Send and receive queue sizes (in bytes) Protocol State Address formats are of the form host.port or network.port if a socket's address specifies a network but no specific host address. The host and network address are displayed symbolically unless -n is specified. Interface Display The network interface display format provides a table of cumulative statistics for the following: Interface name Maximum Transmission Unit (MTU) Network Address Packets received (Ipkts) Packets received in error (Ierrs) Packets transferred (Opkts) Outgoing packets in error (Oerrs) Collisions Note that the collisions item has different meanings for different network interfaces. Drops (optional with -d) Timers (optional with -t) Routing Table Display A route consists of a destination host or network and a gateway to use when forwarding packets. Direct routes are created automatically for each interface attached to the local host when you issue the ifconfig command. In addition, loopback routes are created automatically for each interface address that is configured with the ifconfig command. Routes can be modified automatically in response to the prevailing condition of the network. The routing-table display format indicates available routes and the status of each in the following fields: Displays the state of the route as one or more of the following: This is a cloned route. This route is a cloning route that was created by the route command. This route was dynamically created by a redirect. Fragment to path MTU size is disabled on this route. This route is to a gateway. This route is to a host. This route contains valid link-layer information. This route is a loopback route that was created by the kernel. This route was modified by a redirect. Path MTU discovery is disabled on this route. This route was created by the Path MTU discovery process. This is a reject route that was created by the route command. This is a static route that was created by the route command. Up, or available. Gives the current number of active uses for the route. Connection-oriented protocols hold on to a single route for the duration of a con- nection; connectionless protocols obtain routes in the process of sending to a destination. Provides a count of the number of packets sent using the route. Indicates the network interface used for the route. When the -v option is specified, the routing table display includes the route metrics. An asterisk (*) indicates the metric is locked. See route(8) for additional information on routing. DIAGNOSTICS
Verify that the kloadsrv daemon is running. If it is not, start it. See kloadsrv(8) for more information. Make sure that you have not replaced the running kernel with a new kernel. You might need to reboot the system to correct this problem. EXAMPLES
To show the state of the configured interfaces, enter: $ netstat -i To show the routing tables, enter: $ netstat -r The resulting display looks like the following: Routing Tables Destination Gateway Flags Refs Use Interface Netmasks: Inet 255.255.255.0 Route Tree for Protocol Family 2: default 16.55.5.5 UG 13 38618 ln0 localhost 16.55.5.4 UH 2 29 lo0 ethernet 16.55.5.3 U 98 66760 ln0 (Output may be formatted differently on your system.) To show the routing tables with network addresses, enter: $ netstat -rn The resulting display looks like the following: Routing tables Destination Gateway Flags Refs Use Interface Netmasks: Inet 0.0.0.0 Inet 255.0.0.0 Inet 255.255.0.0 Inet 255.255.252.0 Inet 255.255.255.0 Inet 255.255.255.224 Route Tree for Protocol Family 2: default 16.140.28.1 UG 0 6004465 tu0 16.140.128/24 16.140.128.198 U 4 181451 tu0 127.0.0.1 127.0.0.1 UH 0 0 lo0 194.224/16 127.0.0.1 UG 0 3 lo0 194.226/16 127.0.0.1 UGR 0 0 lo0 198.119.1/24 198.119.19.76 U 1 867 le0 198.119.19.64/27 198.119.19.76 U 0 1 le0 198.119.64.80 198.119.19.24 UGH 0 0 le0 130.200/16 16.140.128.1 UG 0 0 tu0 To produce the default display for network connections, enter: netstat The resulting display might include the following headings: Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) To set the ln0 interface counters to zero, enter: netstat -Iln0 -z To display IPv6 routing entries, enter: # net- stat -rnf inet6 Routing tables Destination Gateway Flags Refs Use Interface Route Tree for Protocol Family 26 default Link#8 UCL 0 0 ipt0 default Link#1 UCL 0 0 ln0 default fe80::a00:2bff:fe2d:2b2 UG 0 0 ln0 3ffe:1200:4110:1::/64 Link#1 UCL 0 0 ln0 3ffe:1200:4110:1:a00:2bff:fe2c:f632 Link#1 UH 1 0 ln0 fe80::/10 Link#8 UCL 0 0 ipt0 fe80::/10 Link#1 UCL 0 0 ln0 fe80::108c:1056 Link#8 UHLc 1 4 ipt0 fe80::108c:80e3 Link#8 UHLc 0 0 ipt0 fe80::a00:2bff:fe2d:2b2 Link#1 UHLc 1 0 ln0 ff02::/16 Link#1 UCL 0 0 ln0 ff02::/16 Link#8 UCL 0 0 ipt0 ff02::1 16.140.128.227 UHLVc 0 8 ipt0 ff02::1 33:33:0:0:0:1 UHLVc 0 3 ln0 ff02::2 33:33:0:0:0:2 UHLVc 0 1 ln0 ff02::2 16.140.128.227 UHLVc 1 2 ipt0 ff02::9 16.140.128.227 UHLVc 0 4 ipt0 To display active IPv6 connections, enter: # netstat -af inet6 Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 3ffe:1200:4110:1:a00:2bff:fe2c:f632.1054 host1.corp.com.telnet ESTABLISHED tcp 0 0 *.finger *.* LISTEN tcp 0 0 *.telnet *.* LISTEN tcp 0 0 *.ftp *.* LISTEN SEE ALSO
Commands: vmstat(1), route(8) Network Administration netstat(1)
All times are GMT -4. The time now is 09:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy