- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- listing TCP/IP configurations
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
Forums
Discussions
Discussions
Discussions
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
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
10-22-2002 08:14 PM
10-22-2002 08:14 PM
Thnx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 08:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 08:22 PM
10-22-2002 08:22 PM
Re: listing TCP/IP configurations
You can use the lanscan command to show all NICs (I am pasting this so hope the format is OK!) :
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI Path Address In# State NamePPA ID Type Support Mjr#
8/16/6 0x0060B018B5F7 0 UP lan0 snap0 1 ETHER Yes 119
And use "ifconfig
# ifconfig lan0
lan0: flags=843
inet 10.1.33.0 netmask fffff800 broadcast 10.1.33.255
Both commands are located in /usr/sbin.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 08:39 PM
10-22-2002 08:39 PM
Re: listing TCP/IP configurations
The ifconfig command will provide the ip address and netmask assigned to the specified NIC. Issue the ifconfig commnd followed by the Name-PPA of the desired NIC (e.g. ifconfig lan0)
The domain that the host belongs to, as well as DNS servers can be found in the /etc/resolv.conf file.
Unfortunately, there is not a single command that will provide all of this info in a concise form (as far as I know).
You might want to do a man on each of these commands, as well as on resolv.conf.
Regards,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 10:34 PM
10-23-2002 10:34 PM
Re: listing TCP/IP configurations
look at the contents of /etc/rc.config.d/netconf
Another usefull command would be
ioscan -fnClan
netstat -rn
netstat -i
Let me make it "man netstat" and "man ifconfig" a lot of running configuration information can be extrapolated out of these commands.
Add these to the list above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:20 PM
10-23-2002 11:20 PM
Re: listing TCP/IP configurations
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:23 PM
10-23-2002 11:23 PM
Re: listing TCP/IP configurations
All the options works fine it's just there is no option to show all in one output unless a script can do that!
However, the resolv.conf was not configured and I did the configuration by poining the HP-UX to another DNS server. I use to get an error msg "unable to qualify my own domain... short name.."
After I have add the CORP domain name that msg went away. I wonder if the hostname of the server must be registered or it should work without registration..
One more thing, I have sent and email to myself as a test using the mailx -s command but didn't get any email!!
Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:36 PM
10-23-2002 11:36 PM
Re: listing TCP/IP configurations
For the NIC part, i have a script that gives me an output like below:
============================================================
home/yd> ./lan-speed.sh
Card at PPA 0 - IP Address: 192.96.14.9 - Speed = 100 F
ull-Duplex Auto-Negotiation-OFF
Card at PPA 1 - IP Address: 192.97.14.3 - Speed = 100 Full-Duplex
Card at PPA 2 - IP Address: 192.98.14.3 - Speed = 100 Half-Duplex
Card at PPA 3 - IP Address: Not assigned - Speed = 100 Half-Duplex
Card at PPA 4 - IP Address: Not assigned - Speed = 100 Half-Duplex
Card at PPA 5 - IP Address: 10.0.0.100 -
============================================================
(see attachment)
For the local mail:
Please try to add an alias in /etc/aliases
and retry.
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:37 PM
10-23-2002 11:37 PM
Re: listing TCP/IP configurations
Make changes as below
DS
//find the DS entry and append smtp server name in
Dj$w.
//find Dj$w and append your domain name
save your file
DO a
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Make sure that you can do a nslookup of the smtp server
#nslookup
#nslookup
The mail should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:41 PM
10-23-2002 11:41 PM
Re: listing TCP/IP configurations
attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:44 PM
10-23-2002 11:44 PM
Re: listing TCP/IP configurations
If your server is accessible using a Public IP address in Internet and you need a name for your server to be mapped to IP address so that
anyone from anywhere in the internet can access your server using this name , say
yourserver.yourcompany.com . Then you have to
register your domain yourcompany with the help of registrar or administrator of .com domain.
If you want to only access the internet servers
by their name from your server But do not want to assign any name to your server for people to access in internet. Then simply point to your ISP's DNS server in resolv.conf.
To receive mails from Internet , you need to register a domain name.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:48 AM
02-24-2005 04:48 AM
Re: listing TCP/IP configurations
Thanks to everyone