! Listing 3.7: Dual homed server support using RIP ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. version 11.0 ! interface Ethernet0 description Primary LAN for servers ip address 10.100.0.1 255.255.0.0 ! interface Ethernet1 description Second LAN for server access redundancy ip address 10.200.0.1 255.255.0.0 ! ! Statements to define links to other networks & routers ! router ospf 154 redistribute rip metric 12 subnets route-map rip2ospf ! Statements to control the "real" routing go here. ! Could use EIGRP or other routing protocol instead-- ! Just change the metric defined for RIP routes to match. ! router rip redistribute static passive-interface Serial0 network 10.0.0.0 distribute-list 2 out Ethernet0 ! ip route 0.0.0.0 0.0.0.0 Serial0 access-list 2 permit 0.0.0.0 0.0.0.0 access-list 3 permit 192.168.1.0 0.0.0.255 ! route-map rip2ospf permit 25 match ip address 3 ! end