How to debug iproute2 based policy routing?

2 messages, 1 author, 2012-02-09 · open the first message on its own page

How to debug iproute2 based policy routing?

From: Martin Schmidt <hidden>
Date: 2012-02-08 11:56:52

Hi,

I have a somewhat complicated iproute2 based policy routing scenario
on Ubuntu server.
It mainly works as needed, but under some circumstances it weirdly
misroutes some packets, but not all.
I've already been struggling with this for long, but now it seems to
be a routing bug, although not sure.

To get closer I need a way to verbose log the full routing decision
process for all outgoing packets.
How can I achieve this? With some kernel configuration options, or any
other ideas?

Thanks!

Re: How to debug iproute2 based policy routing?

From: Martin Schmidt <hidden>
Date: 2012-02-09 10:22:03

2012/2/8 Martin Schmidt [off-list ref]:
Hi,

I have a somewhat complicated iproute2 based policy routing scenario
on Ubuntu server.
It mainly works as needed, but under some circumstances it weirdly
misroutes some packets, but not all.
I've already been struggling with this for long, but now it seems to
be a routing bug, although not sure.

To get closer I need a way to verbose log the full routing decision
process for all outgoing packets.
How can I achieve this? With some kernel configuration options, or any
other ideas?

Thanks!
Any ideas how to track down a possible routing related bug? Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help