All of lore.kernel.org
 help / color / mirror / Atom feed
* routing by tos
@ 2003-04-25 22:00 Optimus Prime
  0 siblings, 0 replies; only message in thread
From: Optimus Prime @ 2003-04-25 22:00 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-25 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-25 22:00 routing by tos Optimus Prime

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.