Hi all, How can I add or modify a route in the kernel? It seems ip_rt_ioctl() does the job. I read the code but got one question. A route is in a route table, so we have to find the table number (from 0 to 255) first. ip_rt_ioctl() called fib_convert_rtentry() to fill the fields of the req.rtm, such as the rtm_protocol, rtm_scope, rtm_type, etc. But where is rtm_table is assigned value? Or is there any other better method to change the routing table in the kernel? Thanks, LMN _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/