Here's a link I just found that looks pretty good for explaining what you're trying to do: http://ctdp.tripod.com/os/linux/usersguide/linux_ugrouting.html