Redhat 5.0 ethernet weird problem, can't access outside domain

Redhat 5.0 ethernet weird problem, can't access outside domain

Post by Elvis Che » Thu, 08 Jan 1998 04:00:00



greetings:

        I have a rather weird problem concerning ethernet in Redhat 5.0.
I am connected to school ethernet and have all the IPs setup properly.
However, I couldn't access anywhere outside of the domain *UNLESS* I "su"
as root, run "netcfg" and "de-activate/re-activate" my eth0.

but anywhere within the domain I can access them by both IP/name.

I don't have this kind of behaviour in W95/NT4.

any help is very much appreciated,

Elvis

 
 
 

Redhat 5.0 ethernet weird problem, can't access outside domain

Post by Frank Sweetse » Thu, 08 Jan 1998 04:00:00



> greetings:

>    I have a rather weird problem concerning ethernet in Redhat 5.0.
> I am connected to school ethernet and have all the IPs setup properly.
> However, I couldn't access anywhere outside of the domain *UNLESS* I "su"
> as root, run "netcfg" and "de-activate/re-activate" my eth0.

what does /etc/sysconfig/network-scripts/ifcfg-eth0 look like?

--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key available
paramount.res.wpi.net RedHat 5.0 Linux 2.0.33/2.1.78 i586 | at public servers
      I'd rather be coding.  -me

 
 
 

Redhat 5.0 ethernet weird problem, can't access outside domain

Post by Elvis Ch » Fri, 09 Jan 1998 04:00:00



: > However, I couldn't access anywhere outside of the domain *UNLESS* I "su"
: > as root, run "netcfg" and "de-activate/re-activate" my eth0.
: what does /etc/sysconfig/network-scripts/ifcfg-eth0 look like?

DEVICE=eth0
USERCTL=yes
ONBOOT=yes
BOOTPROTO=none
BROADCAST=130.15.YYY.255
NETWORK=130.15.YYY.0
NETMASK=255.255.255.0
IPADDR=130.15.YYY.XXX

where 130.15 is my school domain, YYY is the subnet of my building, and
XXX is my machine.  The IP are statically assigned.

actually, I just realized that, the network actually works for about 2 minutes
upon linux's bootup, then it only works within the domain.  That is, I can
access everywhere in the internet by both IP/name for the first 2 minutes
after the machine boots in linux.  After that period, I'll have "su" as
root and deactivate/reactivate eth0 in "netcfg".  VERY weird.

as I mentioned, my "netcfg" configuration is idential to my friend's computer
which is on Redhat 4.2.  The only is the "XXX" value above.

thanx,  

 
 
 

Redhat 5.0 ethernet weird problem, can't access outside domain

Post by Frank Sweetse » Fri, 09 Jan 1998 04:00:00



> actually, I just realized that, the network actually works for about 2
> minutes upon linux's bootup, then it only works within the domain.  That
> is, I can access everywhere in the internet by both IP/name for the first
> 2 minutes after the machine boots in linux.  After that period, I'll have
> "su" as root and deactivate/reactivate eth0 in "netcfg".  VERY weird.

Aha!  you've got gated, the router daemon, running. get rid of it:

/sbin/ifdown eth0
/etc/rc.d/init.d/gated stop
rpm -e gated
/sbin/ifup eth0

--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key available
paramount.res.wpi.net RedHat 5.0 Linux 2.0.33/2.1.78 i586 | at public servers
"How should I know if it works?  That's what beta testers are for.  I only
coded it."
(Attributed to Linus Torvalds, somewhere in a posting)

 
 
 

1. Redhat 5.0 ethernet weird problem, can't access outside domain

Yes!  I have the same problem.  I Redhat 5.0 a while ago but am just now getting
around to setting it up to use my Ascend Pipeline 75 ISDN Router.  I am trying to
get it to talk to my Corporate network.

Everything works for about the first two minutes after boot.  Then the network
goes down and all host IPs are unreachable.  Simply logging on as root, running
netcfg, and "re-activating" the interface brings the network back up.  I have not
yet done enough tests to determine whether the network stays up at this point or
fails again later.

Do you have any more information on this problem?  Please advise if you would be
so kind.

Regards,
Mike Dawson

2. newbie query: how to tell if memory bound

3. Can't access systems outside domain

4. terminfo source for linux console needed

5. can't access internet outside domain

6. SB LIVE SETUP HELP!!!!!!!!! HELP !!!!!!!!! HELP!!!!!!!!

7. Can't access outside my domain!

8. SCSI suggestions...

9. Problems with accessing a RedHat Linux 7.2 from outside

10. Can't Connect To Port 80 Outside Of One's Domain

11. Can't see the outside network, but outside can see in - problem.

12. Problem: Can't access my WebServer from outside home

13. remote access from outside the domain