* tun and routing [not found] <176092473.79093321.1397474889713.JavaMail.root@zimbra65-e11.priv.proxad.net> @ 2014-04-14 11:47 ` etienne.champetier 0 siblings, 0 replies; only message in thread From: etienne.champetier @ 2014-04-14 11:47 UTC (permalink / raw) To: netdev Hi, When the kernel gives a packet to a tun interface, you loose the "next-hop" information, because you only have L3+ infos. So you have destination ip, but if it's out of the tun subnet, you have to do routing in your application. (with a tap interface the next-hop is the dest mac) Is there a way to have this next-hop info, and remove "internal" (in the application) routing table? If not what would be the cleanest way to sync the "internal" routing table with the kernel routing table? Thanks in advance Etienne ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-14 11:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <176092473.79093321.1397474889713.JavaMail.root@zimbra65-e11.priv.proxad.net>
2014-04-14 11:47 ` tun and routing etienne.champetier
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).