![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IP address of machine | harneet2004us | UNIX for Advanced & Expert Users | 3 | 04-16-2008 01:54 PM |
| Changing the machine name | gizmoking | HP-UX | 1 | 02-11-2007 07:56 AM |
| How to get IP Address of machine? | Ahsan | High Level Programming | 7 | 10-24-2003 08:16 AM |
| Changing IP address | champion | UNIX for Dummies Questions & Answers | 4 | 11-30-2002 08:02 AM |
| Changing MAC address of a NIC | wretch | UNIX for Advanced & Expert Users | 3 | 09-09-2002 06:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hopefully someone can help with this. I need the command to change the IP address on a machine
Last edited by kkinnon; 08-22-2002 at 04:39 AM. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
please post the os details
if it is linux/unix, and eth0 is your ethernet adapter ifconfig eth0 <ip-address> |
|
#3
|
||||
|
||||
|
also check out the following commands
netconf netconfig |
|
#4
|
|||
|
|||
|
are you keeping to same hostname?
If yes then you just need to change 2 things: /etc/hosts (make sure you remove your old ip and put in your new one.) and you need to use "ifconfig" please refer to the man page for the syntax. If you are also changeing your hostname then in addition to the above you also need to edit /etc/hostname.(interface) and put in your new hostname. |
|
#5
|
||||
|
||||
|
you can also change the ip addresses of different ethernet adapters by modifying the following files
/etc/sysconfig/network-scripts/ifcfg-eth0 for eth0. replace the eth0 by whatever interface name you wanna modify |
|
#6
|
||||
|
||||
|
Hi kkinnon,
What OS are you running? Depending on which Unix you run there are a couple of different ways to change your IP. |
|
#7
|
|||
|
|||
|
u can use the 'set_parms initial' for HP unix
|
|||
| Google The UNIX and Linux Forums |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|