-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

,--[ On Fri, Jan 18, 2008 at 01:40:26PM +0530, Kenneth Gonsalves wrote:

[...] 

| i am using opendns servers - but still if an ISP goes down the dns  
| gets b0rked

That's probably because you need to switch gateways.

| >
| > Also you a simple workaround is that you can do this every 20-30s,
| > "ping -c2 -I ethX [ip-address]" and see if exitcode is not 0, which
| > implies ethX is not working. Hmm...?
| 
| ping will work to check if the isp is down - and we can restart with  
| new config. How to check if it has come up? Dont forget, ping has to  
| go through the firewall and if the ISP in question is not on the  
| firewall, how to find out?

I hope by "ISP is down" you meant gateway is not replying, but interface
is still up, right ? So, if you do ping with '-I ethX', it'll use
IPv4 address assigned to the interface 'ethX' as source address of ICMP
echo packets. So make sure you've a source-based rule already set for 'ethX'
(Hint: ip rule from ). What kind of firewall do you've ? Do you change
firewall rules on fly if ISP goes down, hmm...?

HTH
- -- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHkGP7Hy+EEHYuXnQRAjknAJ40+9jcnle0XFDm07liGkaoSg8yuACg5U8h
1hdTqx1pyMa2QhdLFbVvtTo=
=TCI+
-----END PGP SIGNATURE-----

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to