- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- My PC's IP address on Unix Server Appears Differ...
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
тАО09-27-2005 07:26 PM
тАО09-27-2005 07:26 PM
My client Ip address is 10.213.2.107 but why on my Unix Server, it appears as 10.213.1.129.This ip is given by our windows dhcp server and on our Unix Server we do not configure dhcp but we have bootptab for jet direct configurations.How to find out which dhcp server that give this 10.234.1.129 ip address?But this is very strange if I login again it appears the correct ip again as 10.213.2.107.Any replies will be appreciated....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 07:32 PM
тАО09-27-2005 07:32 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
nslookup "client_name"
Is it same?? How does hp-ux resolve the host names?? What it uses first?? Check /etc/nsswitch.conf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 07:41 PM
тАО09-27-2005 07:41 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
# more /etc/nsswitch.conf
# /etc/nsswitch.conf:
#
#hosts: files [NOTFOUND=continue] dns [NOTFOUND=return]
hosts: dns files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 07:41 PM
тАО09-27-2005 07:41 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
ipconfig /all
(on the client)
for detailed information about DHCP.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 07:45 PM
тАО09-27-2005 07:45 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 07:55 PM
тАО09-27-2005 07:55 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
this sounds like an incorrect entry in your DNS server. you need to remove this record from the DNS.
try to ping 10.213.2.107
is it reachable from the unix machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 07:56 PM
тАО09-27-2005 07:56 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
That may be a problem too. Check from unix machine as,
# nslookup 10.213.2.107
# nslookup 10.213.1.129
Post results.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:03 PM
тАО09-27-2005 08:03 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
Name Server: dnsserver.mycompany.com
Address: 10.213.0.61
Trying DNS
looking up FILES
*** No hostname information is available for "10.213.2.107"
#
# nslookup 10.213.1.129
Name Server: dnsserver.mycompany.com
Address: 10.213.0.61
Trying DNS
looking up FILES
*** No hostname information is available for "10.213.1.129"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:25 PM
тАО09-27-2005 08:25 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
Your PC DNS record is not accurate for both addresses or there is an old record of the current MAC address of your PC network card in DNS server or maybe in DHCP server database. You need to make changes on DNS server, maybe rebuilding the records or something like.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:28 PM
тАО09-27-2005 08:28 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
Check your server & in firewall setting whether you have done any IP Masquerading.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:47 PM
тАО09-27-2005 08:47 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
"Yes nslookup 10.213.1.129 return the same with nslookup Client-Name"
in your first response & the nslookup results in the second response:
"# nslookup 10.213.2.107
Name Server: dnsserver.mycompany.com
Address: 10.213.0.61
Trying DNS
looking up FILES
*** No hostname information is available for "10.213.2.107"
#
# nslookup 10.213.1.129
Name Server: dnsserver.mycompany.com
Address: 10.213.0.61
Trying DNS
looking up FILES
*** No hostname information is available for "10.213.1.129"
As there in no hostname available in the DNS for 10.213.1.129
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:56 PM
тАО09-27-2005 08:56 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
netstat -rn
netstat -in
May be a problem with routing from windows -> unix or vice versa.
From windows-->
a) tracert 10.213.2.107
b) tracert 10.213.1.129
From Unix machine -->
a) traceroute
Post this information.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 08:56 PM
тАО09-27-2005 08:56 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
If I do nslookup in windows client, it looks like this:
C:\>nslookup 10.213.1.129
Server: dnsserver.mycompany.com
Address: 10.213.0.61
*** dnsserver.mycompany.com can't find 10.213.1.129: Non-existent domain
C:\>nslookup client1
Server: dnsserver.mycompany.com
Address: 10.213.0.61
Name: client1.mycompany.com
Address: 10.213.1.129
If I do nslookup from my Unix Server, it looks like:
# nslookup 10.213.2.107
Name Server: dnsserver.mycompany.com
Address: 10.213.0.61
Trying DNS
looking up FILES
*** No hostname information is available for "10.213.2.107"
#
# nslookup 10.213.1.129
Name Server: dnsserver.mycompany.com
Address: 10.213.0.61
Trying DNS
looking up FILES
*** No hostname information is available for "10.213.1.129"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:10 PM
тАО09-27-2005 09:10 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
In Unix, use dmesg command & verify /var/log/messages.
Also refer the following link:
http://groups.google.com/group/mlist.linux.newbie/browse_thread/thread/66cc023018bcf092/ed9b83e46706aa66?lnk=st&q=DHCP+client+IP+Linux+log+dmesg&rnum=2&hl=en#ed9b83e46706aa66
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:14 PM
тАО09-27-2005 09:14 PM
Solutionhost -> ip is resolving out. But reverse of ip-> host is resolving. It is because of dns reverse lookup setting.
From Unix:
It is not registered with dns. You have to register your unix machine ip-address / hosname with dns. Or else,
create /etc/hosts file as,
Change /etc/nsswitch.conf -->
hosts: files dns
It will do host -> ip and ip-> host resolvation.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:14 PM
тАО09-27-2005 09:14 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:20 PM
тАО09-27-2005 09:20 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 09:30 PM
тАО09-27-2005 09:30 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
Try to set up /etc/nsswitch.conf hosts: resolvation with files and then dns next.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 10:01 PM
тАО09-27-2005 10:01 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
is your DNS server is microsoft DNS server?
if yes...is your DHCP server setted to update the DNS server records??
it seems not...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 10:12 PM
тАО09-27-2005 10:12 PM
Re: My PC's IP address on Unix Server Appears Different with My Real IP
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 10:16 PM
тАО09-27-2005 10:16 PM