LINUX networking configuration - TechRepublic
General discussion
February 28, 2001 at 07:42 PM
hoayfern

LINUX networking configuration

by hoayfern . Updated 24 years, 3 months ago

according what I learn from the class we have to edit
the 3 files for networking configuration
1)/etc/sysconfig/network-scripts/ifcfg-eth0
2)/etc/sysconfig/network
3)/etc/hosts

here is the contents of what i have configure
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=etho
IPADD=203.126.241.55
NETMASK=255.255.255.0
NETWORK=203.126.241.0
BROADCAST=203.126.241.255
ONBOOT=yes
BOOTPROTO=none

the contents of the /etc/sysconfig/network
NETWORK=yes
FORWARD_IPV=no
HOSTNAME=dns3.duraco.com.sg
DOMAINNAME=duraco.com.sg
GATEWAY=203.126.241.49
GATEWAYDEV=eth0

contents of /etc/hosts
127.0.0.1 host localhost.localdomain
203.126.241.155 duraco.com.sg dns3.duraco.com.sg

how can i configure if my company have firewalls in order to ping to external IP addresS?

I can ping to my gateway which is 203.126.241.49 but I can’t ping to 203.126.241.50 which is my primary dns which is running now

I try to put the nameserver as 203.126.241.50, when I try to use the
nslookup command, it said that no domain server found.

may I know normally what we put in the nameserver ??

pls assist ASAP

hoay fern

This discussion is locked

All Comments