RSS

Setting IP in Fedora

This post is very Simple, but i think this is important for the man like me(beginner with Redhat family). If we want to configure IP address in Fedora. Please make sure the networking is enable in the /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=T4kServ
GATEWAY=192.168.0.1
In that file we can configure the other system. something like the hostname of our server/computer and the default gateway of our network. If the configuration of ip we can see in /etc/sysconfig/network-script/ifcfg-eth0
DEVICE=eth0
HWADDR=08:00:27:43:3F:F7
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.100
NETMASK=255.255.255.0
if you don't know your HWADDR you can see wtih the command ifconfig -a . That configuration make our network start when the system is reboot. The other information of that file is static network configuration. if you want make it with DHCP not static configuration, you just edit that file to be
DEVICE=eth0
HWADDR=08:00:27:43:3F:F7
ONBOOT=yes
BOOTPROTO=dhcp
 after that, please make sure the network service is autostart. the command to check is chkconfig --list | grep network
network   0:off   1:off   2:on   3:on    4:on    5:on    6:off
if the all values of network service is off, so we can use this command chkonfig network on. after that we can test it with reboot the server.

0 comments:

Posting Komentar

Please copy and share it, if it helps you
 
Copyright 2009 My Note All rights reserved.
Free Blogger Templates by DeluxeTemplates.net
Wordpress Theme by EZwpthemes
Blogger Templates