I enabled flow-accounting with enable-egress. I have a remote collector from Kentik. There are no egress flows. Only ingress. Is there something else I need to enable?
flow-accounting {
enable-egress
interface eth0
interface eth1
interface eth1.2
netflow {
engine-id 100
server 10.0.3.3 {
port 9995
}
version 10
}
syslog-facility all
}
10.0.3.3 does receive the flows. It’s just every single one says ingress. No matter if I’m uploading or downloading data. Maybe that’s how router interfaces are supposed to work? I setup netflow on the OVS switch that the router is connected through, and it does show ingress/egress traffic.
Now I got what you mean.
Both ingress and egress flows from the interfaces are exported. However, flows sensor cannot determine traffic direction and it marks all the flows as ingress.