[95973] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: IP Address Question

daemon@ATHENA.MIT.EDU (Chris J. Manders)
Thu Oct 22 15:00:08 1998

Date: Thu, 22 Oct 1998 11:57:45 -0700 (PDT)
From: "Chris J. Manders" <cmanders@mh1.lbl.gov>
Reply-To: "Chris J. Manders" <cmanders@mh1.lbl.gov>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com

Hi, see below:




> Rich Shepard wrote:
> 
> >   I have RH 5.1 installed on my small network. The network functions when
> > the /etc/hosts files use the private, class A IP addresses 10.10.10.1
> > through 10.10.10.3. The network doesn't function when I use the class C IP
> > addresses of 192.168.93.1 through 192.168.93.3. Both are legal addresses
> > and I cannot understand why only the first will work.
> 
> What symptoms do you see?
> 
> Can any of the machines access each other at all?
> 
> Does each machine have a correct and identical /etc/hosts, or are you
> using DNS?
> 
> If it is a problem only with access to the internet, do you have
> masquerading and forwarding  enabled on the dial out machine?
> 
> Here I'm successfully using 192.168.1.1 through ...254 with netmask
> 255.255.255.0.
> 
> 
Followed up by:

> What symptoms do you see?

  The workstations hang during boot trying to mount the remote, nfs
partitions.
 
> Can any of the machines access each other at all?

  No.
 
> Does each machine have a correct and identical /etc/hosts, or are you
> using DNS?

  All /etc/hosts are the same. I also use netcfg to set the netmasks to
255.255.255.0 and the broadcast address to 192.168.93.255
 
> If it is a problem only with access to the internet, do you have
> masquerading and forwarding  enabled on the dial out machine?

  Nope. Can't get the internal LAN up.
>> END OF ORIGS <<  
------------

Hi,

Well, this could be for a number of reasons. You really have not given much information on 
your actual layout, whether you are using NFS or what. A picture could help. Are you on a 
net with a firewall, router...what is the router address, if any. Is it a _flat_ network of 
only one subnet, or are there more nets there? How many boxen are you trying to bring up? 
Three?

How many ethernet cards do they have in each? Is there a set of applications that these are 
intended for? What are the IPs..all of the ones in question? 


Basically, your problem with the hang can be dealt with (this is broad as I figure this is 
a PROBLEM and not what you are using at all [NFS, that is]) with the following:

Reboot.

At the LILO prompt type: 'linux 1'

this WILL boot to single user mode.

Then 
'cd /etc/rc.d/init.d'

and then

'mv nfsfs ..'

(these are typed without the '')

Then type 'exit'

this will get rid of the remote FS mount problem you describe so briefly.

The issue on IPs:

If you type 'ifconfig' what do you see? Is it the IP you have been trying to get it to use?

If not, then make sure to check the /etc/sysconfig/network file and the related 
/etc/sysconfig/network-scripts/ifcfg-eth0 file to make sure all things are correct.

You should not need to modify the broadcast or netmask as they look ok.

Once one is up, try to see it from another box on the same net. simply try to ping first, 
then try a telnet or ftp into the box in question. If nothing, then you have a problem 
probably with the network broadcast address or something (like your ROUTE not being set 
right). It sure could help if you could post the folowing:

the output of ifconfig and route -nr

Oh, and did you make sure the new IP is in the /etc/hosts file?

I hope these ideas help some.

--Chris


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post