[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

interface eth0 not comming up after network restart



hi all,

I ve installed etch in one of my sys,  and  am facing some issues with its  networking.

After "/etc/init.d/networking restart" the interface eth0 won't come up and won't be visible through the "ifconfig" command
and if i try ping to some sys it says "Network is unreachable"

==============================================================
tfbsrv:/home/sumith# /etc/init.d/networking restart
Reconfiguring network interfaces...done.
tfbsrv:/home/sumith# ping 192.168.0.1
connect: Network is unreachable
tfbsrv:/home/sumith#
===============================================================

At this time ifconfig  will show only Loopback and no eth0
"netstat -rn" gives nothing

===============================================================
tfbsrv:/home/sumith# ifconfig
lo        Link encap:Local Loopback
          inet addr: 127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:697 errors:0 dropped:0 overruns:0 frame:0
          TX packets:697 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:186974 (182.5 KiB)  TX bytes:186974 (182.5 KiB)

tfbsrv:/home/sumith# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
tfbsrv:/home/sumith#                                      
================================================================

If i reboot the sys or issue the command "ifup eth0" the interface eth0 will come up and now i can see it through "ifconfig"
also netstat -rn gives output

=================================================================
tfbsrv:/home/sumith# ifup eth0
tfbsrv:/home/sumith# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:80:48:38:F5:47
          inet addr:192.168.0.72  Bcast: 192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::280:48ff:fe38:f547/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3648 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2424 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2732146 (2.6 MiB)  TX bytes:463928 (453.0 KiB)
          Interrupt:201 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:733 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:197918 (193.2 KiB)  TX bytes:197918 ( 193.2 KiB)

tfbsrv:/home/sumith# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth0
tfbsrv:/home/sumith#                                            
===========================================================================

Can any one tell me why this is due to ?
is this a bug in etch ?
how can i fix it ?

note:
i ve installed testing packages of BackupPc and rsync

thanks
Regards
Sumith



Reply to: