From: Gregory OSINAIKE <gregory.osinaike@elec.qmw.ac.uk>
To: lartc@vger.kernel.org
Subject: [LARTC] policy routing
Date: Tue, 20 Mar 2001 12:26:00 +0000 [thread overview]
Message-ID: <marc-lartc-98509121616631@msgid-missing> (raw)
Hello,
I'm trying to route packets based on 'mark' numbers i give to packets
according to their port number using iptables. I'm having real trouble
setting up routes based on this. I'm issuing the following commands
assuming i have marked packets of a certain type with a 1:
echo 201 first.table >> /etc/iproute2/rt_tables
ip rule add fwmark 1 table first.table
ip route add 30.0.0.0/8 dev eth0 table first.table
Basically its just like the exampls in the How To. I have to use Linux
kernel v-2.3.99-pre7, so am using iptables 1.0.0.
when i attempt to mark ICMP packets i get 'network unreachable' when i
ping another machine on our testbed which is not on the same subnet i.e
not 30.0.0.x
Can anyone help?
ThanKs!
Greg.
--
----------------------
Gregory OSINAIKE (ee9829@elec.qmw.ac.uk)
Electronic Engineering Department
Queen Mary and Westfield College
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next reply other threads:[~2001-03-20 12:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-20 12:26 Gregory OSINAIKE [this message]
2001-03-24 21:33 ` [LARTC] policy routing bert hubert
2001-12-06 19:13 ` Fabian Gervan
2001-12-06 19:18 ` bert hubert
2002-08-07 13:16 ` Stefan Kaiser
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=marc-lartc-98509121616631@msgid-missing \
--to=gregory.osinaike@elec.qmw.ac.uk \
--cc=lartc@vger.kernel.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 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.