|
||||||||
|
|
#1
|
|
Is there an easy way to flush the routing tables in Linux? I'm using Debian.
C3 |
|
#2
|
|||
|
|||
|
I should add that the reason I want to do this is because after my IP
changes (on cable), internet access works, but is intermittent, and DNS lookups time out half the time. cheers, |
|
#3
|
|||
|
|||
|
C3 wrote:
> I should add that the reason I want to do this is because after my IP > changes (on cable), internet access works, but is intermittent, and DNS > lookups time out half the time. > > cheers, Long answer: Unless your PC/gateway is getting its routing information via routing protocols like RIP or BGP, routing tables aren't something you flush. In fact cable service usually provides routing information via DHCP because the only thing you need to know is the default route. When you get reissued an IP address, the default route should be updated, too, although that probably doesn't need to change. Short answer: You have a different problem from the one you think. |
|
#4
|
|||
|
|||
|
C3 schrieb:
> Is there an easy way to flush the routing tables in Linux? I'm using Debian. http://www.google.at/search?hl=de&q=...nG=Suche&meta= -- Bernhard | theEdge -Linux User #368478- http://www.alf.at.tc Austrian Linux Forum |
|
#5
|
|||
|
|||
|
I suspected this may have been the case, but the evidence suggests this is a
routing problem. After my IP changes, internet access is intermittent, and sometimes halts. I have to reload pages a couple of times before they'll load. If I re-run my iptables firewall script, access is restored properly, but only temporarily, i.e. for a couple of minutes at best. Any ideas what the problem could be? > Short answer: > You have a different problem from the one you think. |
|
#6
|
|||
|
|||
|
C3 wrote:
> I suspected this may have been the case, but the evidence suggests this is a > routing problem. After my IP changes, internet access is intermittent, and > sometimes halts. I have to reload pages a couple of times before they'll > load. > > If I re-run my iptables firewall script, access is restored properly, but > only temporarily, i.e. for a couple of minutes at best. > > Any ideas what the problem could be? > > >>Short answer: >>You have a different problem from the one you think. I have no specific ideas. If the problem really is a misconfigured iptables script, try putting a bunch of logging statements into netfilter and simultaneously running tcpdump on your external interface. It could be ugly, but the info provided would probably be enough to let you know what's really going on. |
|
#7
|
|||
|
|||
|
Bernhard Kastner wrote:
> C3 schrieb: > >> Is there an easy way to flush the routing tables in Linux? I'm using >> Debian. > > > http://www.google.at/search?hl=de&q=...nG=Suche&meta= > Simply use the command "ip", it can flush the routes. Try "ip route help" -- Jose Maria Lopez Hernandez Director Tecnico de bgSEC (E-Mail Removed) bgSEC Seguridad y Consultoria de Sistemas Informaticos http://www.bgsec.com ESPAÑA The only people for me are the mad ones -- the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow Roman candles. -- Jack Kerouac, "On the Road" |
![]() |
| Tags |
| flushing, routing, tables |
| Thread Tools | |
| Display Modes | |
|
|