Fedora Core 고정IP 본문

자료

Fedora Core 고정IP

keydisk 2009. 12. 28. 10:25

페도라 10에서 고정IP 안먹는 문제가 발생하는데
네트워크 매니저란 놈의 문제란다
인터넷 찾아보면 네트워크 매니저 죽이는게 나오는데 잘안된다
조금 연구를 해보니 이렇게 해보면 된다


NetworkManager on Fixed Networks

On machines with a fixed networking device and a fixed IP address (e.g. desktop, server, appliance), it might be easier to disable NetworkManager and use the older network service. Note that the Fedora 9 installer disables the network service by default. To switch to using the network service:


First disable NetworkManager and prevent it from automatically loading:

[mirandam@charon ~]$ sudo /etc/init.d/NetworkManager stop
Stopping NetworkManager daemon:                            [  OK  ]

[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 NetworkManager off

 

Next, configure your network settings:

[mirandam@charon ~]$ sudo system-config-network

You should have an eth0 device already showing. To configure the IP settings click on Edit. Do not forget to set DNS on the DNS tab (if you're using fixed IP's). Make sure the eth0 is selected as Active. Then File > Save and quit.

Next, enable the service and make sure it loads at next boot:

 

[mirandam@charon ~]$ sudo /etc/init.d/network start
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]

[mirandam@charon ~]$ sudo /sbin/chkconfig --level 35 network on

 

While it may be possible to re-activate your network without a reboot, it may be recommended to reboot.

Some related information can be found on the Fedora Wiki.

이 이후에 이렇게 다시한번 해준다

/etc/init.d/NetworkManager stop
ntsysv
(NetworkManager 해지, network 체크)
system-config-network-tui
(고정아이피및, DNS추가)
(network 사용 체크, 사용하고자 하는 고정IP 체크)
service network restart
init 6