> So, instead of just the following in 2.0:
>
> /sbin/route add -net 192.168.3.0/24 gw a.b.c.d tunl0
>
> I need to do this is 2.2:
>
> /sbin/route add -host a.b.c.d tunl0
> /sbin/route add -net 192.168.3.0/24 gw a.b.c.d tunl0
> /sbin/route del -host a.b.c.d tunl0
Use the 'ip' command (from the iproute (iproute2?) package) with 2.2.x
kernels. It has all the functionality of ifconfig & route, and _much_
more. Then you can do
/sbin/ip route add 192.168.3.0/24 via a.b.c.d dev tunl0 onlink
where 'onlink' tells the program: "I KNOW that the gateway is there,
don't try to know better than me"
The 'ip help', 'ip route help' and such commands give a quick
reference abount the 'ip' command, the ip-cref.tex document in the
package gives more detailed information. I've created a html version
of the latter for myself, if you'd like to take a quick look before
installing/trying the package, you can find it at
http://dawn.elte.hu/~endre/ip-cref/
greetings
endre
-- ..all in all it's just another rule in the firewall./Ping Flood/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/