Skip to contentSkip to conversation

Why are subnet routes lost when IP is flushed?

DISCUSSION Ben Greear 1 participant 1 message Jan 20, 2007

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I am setting up a routing table associated with a network device. Several subnet routes are added to this table.

I notice that when I do 'ip addr flush dev [dev-name]' all of the subnet routes destined out of 'dev-name' are purged!

Is this a bug, or is it supposed to work like this?

Thanks,
Ben

Signature · 1 line
Ben Greear <[email protected]> Candela Technologies Inc  http://www.candelatech.com