Fedora 10
Sponsored Link

Networking2008/11/26

[1] Change Network settings to static one if you use the computer as a network server.
[root@ns ~]#
vi /etc/sysconfig/network-scripts/ifcfg-eth0


# change

# name

DEVICE=eth0
BOOTPROTO=static
# nameserver's IP address

DNS1=192.168.0.10
HWADDR=00:15:74:0f:00:89
ONBOOT=yes
SEARCH="srv.world"
# subnet mask

NETMASK=255.255.255.0
# IP address for eth0

IPADDR=192.168.0.17
USERCTL=no
IPV6INIT=no
NM_CONTROLLED=no
# IP address of default gateway

GATEWAY=192.168.0.1
TYPE=Ethernet


[root@ns ~]#
/etc/rc.d/init.d/network restart

Shutting down interface eth0:
[  OK  ]

Shutting down loopback interface:
[  OK  ]

Bringing up loopback interface:
[  OK  ]

Bringing up interface eth0:
[  OK  ]
Matched Content