Hi Mohan
Thanx for ur advice. But could I specific that only "TCP Port 80 and 443" using
GW1 and "Other TCP Port" using GW2.. Could It possible???
Thanx so much.
-----Original Message-----
From: S Mohan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 8:55 PM
To: Thitiporn Pornpirunrak
Subject: RE: [leaf-user] Could I create routing table filter by
protocol???
Steps would be as follows:
1. create one additional routing table in /etc/iproute/rt_tables using
echo "200 colo" >> /etc/iproute/rt_tables.
2. create ip rules to route all packets coming from the internal LAN to the
colocation IP to this table.
ip rule add prio 20 from 10.0.1.0/24 table 200
3. create a default route in table 200 using gateway 1.
ip route add default table 200 dev wan1 via gw1
4. create default route in main table using gateway 2.
ip route add default dev wan2 via gw2
Regards
Mohan
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thitiporn
Pornpirunrak
Sent: Wednesday, September 03, 2003 2:49 PM
To: LeafUser (E-mail)
Subject: [leaf-user] Could I create routing table filter by protocol???
Hi all
I have some problem with my bering box. I am now using bering stable
1.0 with 2 gateways. One is using for web accessing only and the other is
using for monitoring my computer at co-location. I would like to set routing
table for web access (tcp port 80 and 443) using gateway1 and the other
using gateway2. How could I do that on bering??
Thanx
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html