LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IP Table and routing table (https://www.linuxquestions.org/questions/linux-newbie-8/ip-table-and-routing-table-4175448657/)

thirstonlinux 02-05-2013 03:41 AM

IP Table and routing table
 
Could anyone tell the difference between IP table and routing table in detail?

acid_kewpie 02-05-2013 04:28 AM

Well they're just basically *totally* different things. the routing table defines what local devices to talk to in order to get to remote locations, whereas an iptable table defines rules to process the traffic, either blocking / permitting or modifying it it someway, most commonly through natting. outside of some more esoteric packet marking that iptabels can do, that you're unliekly to exver need, the two really have nothign in common.

Note that this division is also how every firewall I've ever used deals with things, how to get somewhere is always separate to being allowed to go there.


All times are GMT -5. The time now is 04:18 PM.