LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] intermittent IP failure

[ILUG] intermittent IP failure

Kenn Humborg kenn at bluetree.ie
Tue Jun 3 22:08:28 IST 2008


> As an example, I am currently trying to ping xx.xx.xx.228 and failing. 
> When I log into the machine through another IP and run ifconfig, I see 
> that it is supposedly up:
> eth0:4    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
>            inet addr:xx.xx.xx.228  Bcast:xx.xx.xx.237  
> Mask:255.255.255.240
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            Interrupt:169
> 
> when I run route, I see that it also looks right:
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use 
> Iface
> xx.xx.xx.224   *               255.255.255.240 U     0      0     
>    0 eth0
> 169.254.0.0     *               255.255.0.0     U     0      0    
>     0 eth0
> default         xx.xx.xx.238   0.0.0.0         UG    0      0     
>    0 eth0

Is that default gateway a typo?  .238 is outside the subnet .224/28.
Given that you can log into the machine remotely it's obviously
working, but if it's not a typo, I can't really see how it's working
at all.

When it's next broken, do this:

# (ifconfig ; ip route ; arp -an ) > broken-status
... use webmin to "fix it" ...
# (ifconfig ; ip route ; arp -an ) > working-status

Then diff them:

# diff -u broken-status working-status

This may provide some clues.

Later,
Kenn




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell