PDA

View Full Version : route-map example


troy
03-04-2006, 09:32 AM
Looking through the quagga documentation (http://www.quagga.net/docs/docs-info.php), I should be able to build a route-map (http://www.quagga.net/docs/docs-info.php#Route-Map) to set the next-hop on some traffic. However, this does not appear to be working in the star-os (2.10.0) implementation:

access-list nonat permit 12.196.145.0/24
access-list nonat deny any
!
route-map nonat permit 10
match ip address nonat

ospfd(config-route-map)# set ip next-hop 12.196.144.1
% Unknown command.

I've even tried this in the main quagga interface on port 2601, but there, the route-map command doesn't even seem to exist.

The goal I'm trying to reach, is to build a router with 6 interfaces:

7mb DSL
Ethernet (12.196.144.0/27) to our datacenter and the Internet
Ethernet (12.196.144.32/27) to our office
Ethernet (12.196.145.0/27) to wireless network
Ethernet (192.168.1.0/24) for our bench
Wireless AP for internal/hotspot use (192.168.2.0/24)

Interfaces 5 and 6 should be directly nat'ed to the DSL connection. I have this working fine. Traffic to/from these subnets also works fine when talking to hosts on one of our other local networks.

Interfaces 3 and 4 should be routed out our regular internet connection. Right now, they're being routed out the DSL connection (without NAT), which is fine at home (I also have DSL), but I need for this traffic to route out our NxT1 connection that actually has our BGP route announcements.

Any suggestions on how to accomplish this without building a 2nd router?

Bonus points for a configuration that allows for all HTTP and FTP traffic to be nat'ed out the DSL connection, regardless of the source IP/interface.

Thanks,