access-list 10 permit 192.168.1.0 access-list 20 permit 192.168.2.0 ! int e0 ip policy route-map nexthop ! route-map nexthop permit 10 match ip address 10 set ip next-hop 192.168.100.1 ! route-map nexthop permit 20 match ip address 20 set ip next-hop 192.168.100.2 ! route-map nexthop permit 30