easy...
CODE
!R1
interface GigabitEthernet 0/0
ip address 172.16.1.1 255.255.255.252
ip ospf network point-to-point
bandwidth 100000 ! Makes OSPF think its 100Mbps
!
interface GigabitEthernet 0/1
ip address 172.16.2.1 255.255.255.252
ip ospf network point-to-point
bandwidth 10000 ! Makes OSPF think its 10Mbps
!
router ospf 10
network 172.16.1.1 0.0.0.0 area 0
network 172.16.2.1 0.0.0.0 area 0
network 10.1.1.1 0.0.0.0 area 0
passive-interface GigabitEthernet0/0/0
!
!R2
interface GigabitEthernet 0/0
ip address 172.16.1.2 255.255.255.252
ip ospf network point-to-point
bandwidth 100000 ! Makes OSPF think its 100Mbps
!
interface GigabitEthernet 0/1
ip address 172.16.2.2 255.255.255.252
ip ospf network point-to-point
bandwidth 10000 ! Makes OSPF think its 10Mbps
!
router ospf 10
network 172.16.1.2 0.0.0.0 area 0
network 172.16.2.2 0.0.0.0 area 0
network 10.1.2.1 0.0.0.0 area 0
passive-interface GigabitEthernet0/0/0
!
This will make your wireless link preferred, if the link fails the OSPF adjacency will fail and routing will fallback to the other link.
You should ideally have some /32 loopback interfaces so the router will use this as the OSPF RID, or manually set the RID under the OSPF process.
More discussion about this you can see http://www.router-switch.com/forum/showTopicDetails/11/490
229 views
Usually answered in minutes!
×