iproute and iptables
Dear all,
I am newbie. However, I tried iptables recently and succeeded. I don't understand the relationship between iptables and iproute2, is iproute used to replace iptables?
Thanks,
James
Am Mittwoch, 21. August 2002 00:21 schrieb James Ma:
Quoted 5 lines
Dear all,
I am newbie. However, I tried iptables recently and succeeded. I don't understand the relationship between iptables and iproute2, is iproute used to replace iptables?
No. The iproute2 utilities allow to set various things, such as ip addresses, routing entries or the traffic shaper.
The iptables tool is responsible for the firewall and the rules in there - as well as some packet mangling and network address translation. You can combine both tools with the -j MARK directive .. rtfm ;-)
- Thilo Schulz
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · James Ma
Dear all,
I am newbie. However, I tried iptables recently and succeeded. I don't understand the relationship between iptables and iproute2, is iproute used to replace iptables?
iptables is to create firewall chains
iproute2 contains 2 programs :
ip : For setting/changing all the ip configuration and routing tc : For manipulating the bandwidth managing part of the kernel
But iptables and iproute can work together. You can mark packets with iptables and use that mark to route packets or use that mark in the filters you can add with tc.
More info about the iproute2 utility can be found on www.lartc.org.
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/