Discussion Locked

LINUX networking configuration

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

6 replies

by kevin anderson

Could you also please post the routing table?

ifconfig -r

or

route

That would be my first thought. Also, does IFCONFIG show the devices as being up?

Kev.

by hoayfern

can you please give me your emial address so that i can ask you more details question.

the answer of routing table are:
Destination Gateway Genmask
203.126.241.55 0.0.0.0 255.255.255.255
203.126.241.0 0.0.0.0 255.255.255.0
127.0.0.0 0.0.0.0 255.0.0.0
0.0.0.0 203.126.241.49 0.0.0.0

please assits

This discussion is closed to new replies.