where is Ip address stored

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers where is Ip address stored
# 1  
Old 01-22-2008
where is Ip address stored

I run - telnet adl001 (where adl001 is a box name) and it works Ok
/etc/hosts file does not have resolution of the ip address for this name
where it can be found ?
# 2  
Old 01-22-2008
if u r using linux environment then type ipconfig in the command prompt....
It ll show ur ip address....
# 3  
Old 01-22-2008
Is this your box name?
Otherwise it should be getting names from a DNS server around, take a look at /etc/resolv.conf, there you find information about the DNS servers you are connected to.
# 4  
Old 01-22-2008
This is SUN box. I could not find IP it in vi /etc/resolv.conf
YES ADL001 is the name of the box I am connecting to. I can find the IP address itself on ADL001 in hosts file. But where it is resolved on the box I run telnet from
# 5  
Old 01-22-2008
posts the line from /etc/nsswitch.conf which starts with "hosts"
# 6  
Old 01-22-2008

hosts: files dns
Thank you I found it by running nslookup adl001
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

2. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

3. UNIX for Dummies Questions & Answers

What would the physical address be for virtual address?

Hi guys, I got one problem which I definetily no idea. What would the physical address be for virtual address? 1) 2ABC 2) 3F4B Here is the page table:see attached Thank you sos sososososso much!! (0 Replies)
Discussion started by: lemon_06
0 Replies

4. Solaris

Get ip address from mac address

I have following message in my messages file on solaris 10 WARNING: e1000g3712000:3 has duplicate address (in use by 00:50:56:85:25:ef); disabled Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies

5. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

6. Shell Programming and Scripting

ksh - how to list all ip address between 2 ip address

Trying to do a ksh script that needs to list all ip address between ip address a and b .. ie. Ip address A= Ip address B= So the subnet changes from 1 to 2 but I want to list all possible ip addresses between the 2.. Which would be: (4 Replies)
Discussion started by: frustrated1
4 Replies

7. Solaris

Where are routes stored ?

Hi there When adding a route (or indeed deleting a route) which file is amended ? I am moving a box from one network to another and when it starts up it tries to connect run 'add net 192.x.x.x' etc etc ...but i dont want it to do that where do I edit these route additions cheers (5 Replies)
Discussion started by: hcclnoodles
5 Replies

8. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

9. UNIX for Dummies Questions & Answers

Stored Procedures

Dear friends, can anyone suggest links for online books on stored procedures in oracle. Cheers, (2 Replies)
Discussion started by: thumsup9
2 Replies

10. UNIX for Dummies Questions & Answers

network address and broadcast address?

say I have a IP address which is, and subnet mask is, what is the network address and what is the broadcast address which host lives on? And could you explain how to get the answer? thanx in advance! (7 Replies)
Discussion started by: pnxi
7 Replies
Login or Register to Ask a Question