- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- locations of ip address
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
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
тАО06-13-2002 07:32 AM
тАО06-13-2002 07:32 AM
locations of ip address
is there a place other than netconf and /etc/hosts where the ip address is located and is there any other way than lanscan to get mac address.
Our communication people just asked me and they are the only 2 places I have ever done anything with an ip address, they are updating their lists of mac and ip addresses.
Is there any other locations for these 2 items.
thanks
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 07:35 AM
тАО06-13-2002 07:35 AM
Re: locations of ip address
If you are using DNS, then your /etc/resolv.conf file will contain entries like:
nameserver 10.100.100.10
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 07:36 AM
тАО06-13-2002 07:36 AM
Re: locations of ip address
If you have NIS, then you can enter "ypcat hosts" to get a list.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 07:37 AM
тАО06-13-2002 07:37 AM
Re: locations of ip address
/etc/rc.config.d/netconf and /etc/hosts are the places where your ip address is located. Also check your DNS database. you can get the mac address of the lan port using lanscan. I don't think there is any other command.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 07:40 AM
тАО06-13-2002 07:40 AM
Re: locations of ip address
Mike,
Before giving them the MAC address, make sure you aren't overriding it in your /etc/rc.config.d files, like hpbtlan.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 07:49 AM
тАО06-13-2002 07:49 AM
Re: locations of ip address
/etc/hosts
/etc/rc.config.d/netconf
/etc/resolv.conf
lanscan
You can boot the server and then go to the diagnostic tools and also find out the mac address. Run stm or cstm.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 07:54 AM
тАО06-13-2002 07:54 AM
Re: locations of ip address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 08:11 AM
тАО06-13-2002 08:11 AM
Re: locations of ip address
As far as I can see there is the SGID bit set so that at least for their purpose they can issue the command (maybe in a looping remsh, or ssh command to all your LAN's HP-UX boxes?) even as mere mortal users.
Apart from this they could snoop your IP traffic by use of a packet sniffer (e.g. the libpcap).
For this to work they need to have access to a host in your LAN where they can set the NIC to promiscous mode, which of course requires sysadmin privileges on this host.
Another option would be to use the SNMP, provided your HP-UX boxes are SNMP-manageble stations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 08:35 AM
тАО06-13-2002 08:35 AM
Re: locations of ip address
I would rather do this stuff in Perl (it's much more fun ;-) but I used awk because I hear there are still boxes without a Perl interpreter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2002 09:37 AM
тАО06-13-2002 09:37 AM