|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
How to set a static IP in Trixbox (CentOS) ?
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Luck : 10pts
![]() |
I need to set the local IP address to be static 192.168.0.108. I can't seem to find any straight forward instructions on how to do this. Anyone want to help me out?
__________________
|
|||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Overclocker
![]() |
vi /etc/sysconfig/network-scripts/ifcfg-eth0
__________________BOOTPROTO=static IPADDR=192.168.0.108
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Luck : 10pts
![]() |
How do i save and how do i exit?
__________________
|
|||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Overclocker
![]() |
Esc
__________________Shift + colon wq Enter service network restart to make it take effect
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
Luck : 10pts
![]() |
Thank you very much man. I was making it a lot harder then it had to be. +1
__________________
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|