Thanks for your reply. Another question is why after running NAT, ip only looks up the main routing table? I have two routing table setting up, and I can check using "ip route show table 1" and "ip route show table 2", but my packets should go to check table 2, but they failed to do so. Thanks. Min On Sat, 19 Oct 2002, nitin panjwani wrote: > See lartc.org OR policy routing in linux by Marsh > you will get the naswrs for all of your question . > --- Min Li <li9@expert.ics.purdue.edu> wrote: > > Dear all, > > > > So in linux, there may be multiple routing tables? > > The default one is the > > main table, which can be viewed using "route". So > > how to establish another > > one? How does ip look up the routing table one by > > one? When does it know > > to stop? Thanks. > > > > Min > > > > > > > > -- > > Kernelnewbies: Help each other learn about the Linux > > kernel. > > Archive: > > http://mail.nl.linux.org/kernelnewbies/ > > FAQ: http://kernelnewbies.org/faq/ > > > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/