Find the answer to your Linux question:
Results 1 to 2 of 2
hi guys I AM NEW TO RH LINUX,I JUST INSTALLED RH LINUX 3 ON MY MACHINE,BUT NOW I AM HAVING A PROBLEM WITH NETWORKING,I CAN PING THE MACHINE BUT I ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    1

    linux networking problem

    hi guys

    I AM NEW TO RH LINUX,I JUST INSTALLED RH LINUX 3 ON MY MACHINE,BUT NOW I AM HAVING A PROBLEM WITH NETWORKING,I CAN PING THE MACHINE BUT I CANT PING ITS GATEWAY OR OTHER MACHINES ON THE NETWORK.
    CAN U GUYS PLEASE TELL ME WHAT I AM DOING WRONG.

    THANK YOU
    LEBO

    THIS IS MY /etc/sysconfig/network file.

    NETWORKING=yes
    HOSTNAME=mds.is.org.za
    GATEWAY=10.100.22.1

    THIS IS MY /etc/sysconfig/network-scripts/ifcfg-eth0 file.

    DEVICE=eth0
    BOOTPROPTO=none
    BROADCAST=10.100.22.255
    HWADDR=00:07:E9:32:90:A4
    IPADDR=10.100.22.160
    NETMASK=255.255.255.0
    NETWORK=10.100.22.0
    ONBOOT=yes
    TYPE=Ethernet
    USERCTL=no
    PEERDNS=yes
    GATEWAY=10.100.22.1
    IPV6INIT=no

    THIS IS MY /etc/hosts file

    127.0.0.1 localhost.localdomain localhost
    10.100.22.59 maxine.is.org.za
    10.100.22.60 mds.is.org.za mds

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    Please, stop shouting.

    What do you mean Red Hat Linux 3? Do you mean Red Hat Linux 3 (which was released about 1993/4) or do you mean RedHat Enterprise Linux 3 (a.k.a. RHEL3)? I'll assume it's the latter that you've got, 'cos thats probably easier to get hold of.

    What do you mean 'I can ping the machine'? Do you mean you can ping localhost?

    Do any of the machines you're pinging have ICMP turned off (a common occurence if they're connected to the internet)?

    I know it's a stupid question, but is the LED on for the connection to the hub/switch? Is the light on at the network card end? (You do have a cable plugged in connecting the computer to the network dont you?)

    You are aware that /etc/networking gives the hostname as mds, which is given the ip address as 10.100.22.60 in /etc/hosts, but your eth0 card has the ip address defined as 10.100.22.160?

    Can you connect to machines through the gateway/out on the internet?

    Can you post up the output from running /sbin/ifconfig?
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...