Hi,
Anyone can help me to setup policy based routing in linux(Fedora 3). I want to put seperate gateways to all of my three interfaces, which are connected to seperate routers.
I configured like;
ip addr add dev eth0 10.0.1.10/24
ip addr add dev eth1 10.0.2.10/24
ip addr add dev eth2 10.0.3.10/24
ip rule add dev eth0 table 1
ip route add default via 10.0.1.1 table 1
ip rule add dev eth1 table 2
ip route add default via 10.0.2.1 table 2
ip rule add dev eth2 table 3
ip route add default via 10.0.3.1 table 3
ip ro flush cache
But I cant ping to any ip behind the router..
Thanks in advance
Regards
Jaison
SPONSORED LINKS
| Linux operating system | Linux os | Hosting linux unix web |
| Free linux operating system | Linux migration | Linux user |
YAHOO! GROUPS LINKS
- Visit your group "dubailug" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
