|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I change IP addresses in command mode...
How do I change IP addresses in command mode? i need to assign custom (non DHCP) addresses from the command line. Actually I also need to know how to change the subnet mask, the gateway and the primary, secondary, ... dns servers.
|
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
man ifconfig
man route Cheers ZB |
| Sponsored Links | ||
|
|
|
#3
|
||||
|
||||
|
We need to know specifically which unix system you are using. "uname -a" should tell you.
Running command like route and ifconfig can change things now, without a reboot. Also we need to know if you want the changes to persist after a reboot. If so, this involves changes to the startup scripts. The dns stuff is usually in /etc/resolv.conf. |
|
#4
|
|||
|
|||
|
Yes i'd like changes to be persistent, and i am now running fedora core 1, but i'll post the kernel version later because i am planning to install freeBSD on another machine (just to learn)
|
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
Seeing as Fedora Core is (basically) a follow on from Red Hat, my response to the post
here about setting up persistent networking configuration on RedHat AS should help you out. As Perderabo points out dns is configured in /etc/resolv.conf Cheers ZB |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Thks... I'll try it...
|
| Sponsored Links | |
|
|
#7
|
||||
|
||||
|
dont forget /etc/hosts if you change your server IP...
|
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change time mode from BST to GMT | tomjones | HP-UX | 3 | 04-01-2008 12:21 PM |
| RHAS command mode ? | aqeelcu@hotmail | Linux | 1 | 05-03-2007 07:36 AM |
| su command in batch mode | Rajesh Gohad | Shell Programming and Scripting | 3 | 01-25-2007 11:54 PM |
| Ip Addresses With Hardware Change | golfs4us | IP Networking | 4 | 09-28-2006 02:59 PM |
| lp command with compress mode | zita | Linux | 3 | 10-10-2005 05:25 AM |
|
|