Re: Changing Linux IP Forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Jun 2004, Rafael Paoliello Guimaraes wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well what I would like is to mark each flow in its source with a label
(in the flow label field in the case of IPv6 or in an option field in
case of IPv4) and make all the routing based on its flow. Something like
~ IntServ. So, all the routers in the middle (that will be linux boxes)
will route IP datagrams based on both the IP address and this flow
label. As far as I understand, the fwmarks allows me to mark packets and
make rules based on this mark but just in the same computer (am I
right?). What I would like to do is something like taking other fields
of the IP header into consideration (the flow label) for routing it.

You can do this: - at input, set fwmark from DSCP/flowlabel/option - route with src/dst/other and fwmark

The only problem is how you set fwmark.
I think you need a netfilter module that can do this.


Best regards,


Rafael

Martijn van Oosterhout wrote:
| On Thu, Jun 03, 2004 at 12:45:30PM +0200, Rafael Paoliello Guimaraes
wrote:
|
|>Hello,
|>
|>I would to make some changes in the Linux IP forwarding procedure. In
|>fact, I would like to introduce a new item in the routing table (a flow
|>label) and make the IP forwarding based on this new information together
|>with the IP address. What is the best way to make these changes? Is
|>there any existant implementation that does this? Where can I find
|>information about this?
|
|
| I thought you could already do this with iptables fwmarks, ip rule
| fwmark x table y, etc.
|
| Unless you mean something else with flow labels?
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAvyWt8Y15Z+P2WUARAnArAJ9L9VyX7TqJ6T1JqhXdpaB7OtFi/wCePMOr
6erbZKdMa/KFwjzyw2E+X7I=
=OWZk
-----END PGP SIGNATURE-----
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--- Catalin(ux aka Dino) BOIE catab at deuroconsult.ro http://kernel.umbrella.ro/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux