Changing Machine IP address


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Changing Machine IP address
# 8  
Old 08-27-2002
HPUX only...

For HPUX, you only need to change 2 places. I recently did this when my systems changed this when new routers were installed on my network with a different IP address scheme.

/etc/hosts

/etc/rc.config.d/netconf

These are the two places you need to change it.


Then you can check it by running.

netstat -rn

Look for your primary lan card. In most cases, it is lan0.


Also remember, if you have any security that runs, that piece will need to be updated. In my case that was a mandatory step for users to login at all.


Hope this helps.

My brain is your brain... Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

I.p address of machine

i m writing a program which finds the i.p address of the machine. but it just prints out the first three character of the ifconfig output but i want to just print my i.p address lik 10.0.0.222 which is in second line after inet addr: code : #include<iostream> #include<cstdlib> using... (1 Reply)
Discussion started by: console
1 Replies

2. IP Networking

Changing IP address

My work has a Unix based system that currently has the IP address 192.9.2.25 We recently changed internet providers from DSL to Cable. By doing so, we had to get a new router (Belkin) since the DSL provider had a wireless router/modem in one. With the DSL setup, I was able to change the router's... (2 Replies)
Discussion started by: Len351
2 Replies

3. AIX

changing ip address

Hi, I am using aix 5300-07, I am facing strange issue in aix. I have changed the ip address and gateway of aix server , it is showing the right ip address but it is taking old gateway ip address. I have used netstat -r command and found it is showing 2 Default gateway. I want to... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

4. UNIX for Advanced & Expert Users

IP address of machine

Hi i want to know the Ip address of the machine from where i logged into the unix server and made some changes to a file. Can I know the last changes made to a unix file ? (3 Replies)
Discussion started by: harneet2004us
3 Replies

5. HP-UX

Changing the machine name

I work on a UNIX HP 10.20 system that recently crashed. I am new with UNIX but I pick things up quick. The system I work on consists of two computers with the same basic hardware config. I have been having trouble loading the program software it uses, NOT the UNIX software, so I used the a... (1 Reply)
Discussion started by: gizmoking
1 Replies

6. Windows & DOS: Issues & Discussions

Changing IP address

Hi ,,, i just come across this forum and i make it a must to be pay a visit here everyday and through it am learning a lots of things which am sure i will be able to share later... So i have a prob with my pc when i try to change my Ip address in the dos command using ipconfig command i got a... (1 Reply)
Discussion started by: Lutchumaya
1 Replies

7. IP Networking

Changing the ip address

Help me save my Unix box. I've had this Unix box (Enterprise 450) for about 7 years now. It was being used as a file server for a Macintosh Prepress department. All of our networking was done through Helios Etharshare. I am still currently up and online (however the location has changed). Our ip... (1 Reply)
Discussion started by: ubed
1 Replies

8. AIX

Changing the IP Address

I need to change the IP address on one of your Unix machines - P630, AIX5.2. I plan on using SMIT to perform this function. These are the steps that I have put together so far: 1. Select Communications Applications & Services - Select TCP/IP - Select Minimun Configuration & Startup... (2 Replies)
Discussion started by: jyoung
2 Replies

9. Programming

How to get IP Address of machine?

Is there any API call to get IP Address of a machine? I know there is function which returns name of the machine, gethostname(). But I need the IP. Thanks & Regards, Ahsan (7 Replies)
Discussion started by: Ahsan
7 Replies

10. UNIX for Dummies Questions & Answers

Changing IP address

Hi, I am going to shift my Unix workstation to another lab. So I need to change the IP address. Please tell me how to change the Network IP address, what is the commands, what to take care? Thank you very much and have a very nice day. (4 Replies)
Discussion started by: champion
4 Replies
Login or Register to Ask a Question
svatophys(9r)															     svatophys(9r)

NAME
svatophys - General: Converts a system virtual address to a physical address SYNOPSIS
kern_return_t svatophys( vm_offset_t kern_addr, vm_offset_t *phys_addr ); ARGUMENTS
Specifies the kernel virtual address. Specifies a pointer to the physical address to be filled in. DESCRIPTION
The svatophys routine converts a system virtual address to the corresponding physical address. All address and data structure manipulation done within the kernel is performed using system virtual addresses. Typically, system virtual addresses are a means of mapping physical memory and I/O space, which often consists of device registers and DMA buffers. In contrast to this, devices are usually unaware of any virtual addressing and for this reason use physical addresses. You use the svatophys routine to perform this address translation. As an example of where you can use this address translation, a disk device driver can use DMA buffers to transfer blocks of data to the disk (for the case of a write operation). The data to be written to disk is present in system memory at a system virtual address known to the driver. To initiate the DMA operation, the disk driver can set up a command packet to specify a write operation to the underlying disk controller hardware. This write command packet contains (among other things) the location of the DMA buffer as a physical address and the length of the buffer. Here, the driver calls the svatophys routine to translate the system virtual address of the DMA buffer to a physical address in the command packet issued to the disk driver. RETURN VALUES
The svatophys routine returns the following: The address translation has been completed successfully. Unable to perform address transla- tion. This value indicates that the address specified by the kern_addr argument is not a valid kernel or system virtual address. svatophys(9r)