From: Optimus Prime <optimusprime@o2.pl>
To: netfilter@lists.netfilter.org
Subject: routing by tos
Date: Sat, 26 Apr 2003 00:00:24 +0200 [thread overview]
Message-ID: <3EA9AFF8.5000302@o2.pl> (raw)
hi
I have to routers and with two Internet connections on them and I wanted
to set up routing by TOS.
I tryed diffrent configurations of IPtables tos marking and iproute tos
routing and everything failed.
Can you give me a working example or help?
this is what I did on the box with is a default router:
iptables -t mangle -I PREROUTING -i eth0 -s 192.168.0.10 -j TOS
--set-tos Minimize-Cost
ip route add tos 2 via 192.168.0.2
eth0 is the internat netword interface
192.168.0.2 is the internal network router_2 address
Optek
reply other threads:[~2003-04-25 22:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EA9AFF8.5000302@o2.pl \
--to=optimusprime@o2.pl \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox