Re: Network dies

From: Tech (terjec_at_yahoo.com)
Date: 02/17/05


Date: 17 Feb 2005 00:29:35 -0800

Tauno Voipio <tauno.voipio@iki.fi.NOSPAM.invalid> wrote in message news:<JtGQd.272$Mf.47@read3.inet.fi>...
> Tech wrote:
> > Hello,
> >
> > I've been searching the newsgroups and find quite a bit of information
> > about this but I can't really find the solution. I used to know Unix
> > pretty well many many years ago, so now I'm a bit rusty when it come
> > to Linux. I wanted to set up a Linux Server at work, beeing tired of
> > Windoz for many reasons. (Tried several and ended up with Fedora Core
> > 3.) I've managed to set up Samba and share a printer, but overnight
> > the network dies. I have run /sbin/ifconfig eth0 when the network is
> > up;
> >
> > eth0 Link encap:Ethernet HWaddr 00:01:29:92:7A:80
> > inet addr:10.0.0.28 Bcast:255.255.255.255
> > Mask:255.255.255.0
> > inet6 addr: fe80::201:29ff:fe92:7a80/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:452 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:521 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:41442 (40.4 KiB) TX bytes:46145 (45.0 KiB)
> > Interrupt:10 Base address:0xc000
> >
> > and when it's down;
> >
> > eth0 Link encap:Ethernet HWaddr 00:01:29:92:7A:80
> > inet6 addr: fe80::201:29ff:fe92:7a80/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:2307 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:11412 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:252366 (246.4 KiB) TX bytes:1048949 (1.0 MiB)
> > Interrupt:10 Base address:0xc000
> >
> > The main difference is "inet addr:10.0.0.28 Bcast:255.255.255.255
> > Mask:255.255.255.0" missing when it's down. But why is this hapening?
> > How can I find out, where do I look ? (The Windoz PC's network don't
> > die.)
>
> The symptom you see means that the interface address is disabled,
> maybe taking the interface down and up again without an address.
>
> On reason could be a DHCP lease running out and no refresh available.
>
> Are you setting the interface with a static address or dynamically
> with DHCP?
>
> Please show the output of route -n when the net is up / down.
>
> The IP address seems to be a private address (RFC 1918). Is is an
> internal LAN or an address from an ISP?

I'm using DHCP. 10.0.0.28 is the internal LAN address.
When the net is up, route -n give me;
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0

when its down;
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface



Relevant Pages

  • Re: Traffic NOT moving through the correct network interface?
    ... Kernel IP routing table ... loopback interface, but that's not part of this problem. ... Everything is done by the kernel. ... Policy based routing requires you ...
    (alt.os.linux)
  • Re: Fedora as Router - cannot get past gateway
    ... >> command so much, I am suprised any routing works at all. ... Are you using dhcp or is all config manual? ... > This is your interface to ISP? ... we all have that feeling when we can't get routing set up. ...
    (comp.os.linux.networking)
  • Re: rc.order wrong (ipfw)
    ... Kernel starts ... Network driver is loaded ... Interface is configured for IP (manually or via DHCP) ...
    (freebsd-stable)
  • Re: [SLE] Network problems Help!!!!
    ... >> Kernel IP routing table ... > Is this via dhcp? ...
    (SuSE)
  • Re: diskless problems
    ... interface, and tcpdump clearly shows that the DHCP server recieves a ... there's no need for the kernel or userspace to use DHCP: ... > inherit the DHCP settings provided by the pxeboot loader using the kernel ...
    (freebsd-hackers)