Many thanks to all,
your suggestions where precious and really halpfull.
I made the corrections needed by modifyng the
/etc/sysconfig/network-script/ifcfg-eth0 and
/etc/sysconfig/network-script/ifcfg-lo (I prefer to correct the right
initialization scripts after some studying instead of just using a GUId
program (like netcfg or linuxconf); I think that often the mistake lays on
them); then I run "/etc/rc.d/init/network restart" but nothing happened. The
problem was still there althought I had the following results :-(
------------------------------------------
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
------------------------------------------
ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:E8:9E:12:6B
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:9 Base address:0x9400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:184 errors:0 dropped:0 overruns:0 frame:0
TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
------------------------------------------
After some more test I was frustrated again. I shut down the system and
restarted it after a while. Halleluia!!! Everything is now perfect. The
problem is solved. It seems that it runs everything as it should now. I
don't know what was wrong. I didn't changed again the network-scripts. Maybe
running "/etc/rc.d/init/network restart" is not enough and some other
configuration had to be reread and initialized with some other program.
B.t.w. now I'm happy and I thank you all because you all showed me the right
direction (i.e. correcting the routing and the absence of the lo interface).
What I wish to know now is just why "/etc/rc.d/init/network restart" was not
enough. I was sure that this is the script that runs everything relating the
network (peripherals initialization, etc...). What else runs at boot time
that interferes with the use of the network? Any idea? Please let me know. I
like evolving after having solved some problems.
bye,
Roberto
Quote:> Hi!,
> > Hi all,
> > I have a problem with my linux box. I'm trying to browse from the linux
box
> > (with ip = 192.168.11) the Apache server of another linux box (the one
with
> > ip = 192.168.0.23) but I always get as result the pages generated by the
> > Apache installed in the 192.168.0.11 . What's wrong with my
configuration?
> > Is Netscape Navigator crazy ?!?! It seems that IP packets are routed
inside
> > the 192.168.0.11 itself instead of going out on the local net but ...
why
> > ?! I also don't ping with success from 192.168.0.11 to 192.168.0.23
(host
> > unreachable) but I ping perfectly from 192.168.0.23 to 192.168.0.11.
> > The TCP/IP configuration seems ok, I don't make use of DNS (I use the IP
> > addresses instead). There is no firewall in neither the boxes. Where do
I
> > have to look for in my configuration files? Do you have any idea about
the
> > mistake I'm doing?
> Is it possible to take a look at the output from /sbin/route -n and
> /sbin/ifconfig to see how the network card and routes are configured on
the
> machine ?
> See ya
> Dean Thompson
> --
+____________________________+____________________________________________+
|
> | Bach. Computing (Hons) | ICQ - 45191180
|
> | PhD Student | Office - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus) | Fax - +61 3 9903 1077
|
> | Melbourne, Australia |
|
+----------------------------+--------------------------------------------+