112 | Chapter 7. OSPF
ProSafe M4100 and M7100 Managed Switches
2. Set the router ID to 2.2.2.2.
(Netgear Switch) (Config-router)#router-id 2.2.2.2
3. Configure the area 0.0.0.1 as an nssa area.
(Netgear Switch) (Config-router)# area 0.0.0.1 nssa
4. Redistribute the RIP routes into the OSPF.
(Netgear Switch) (Config-router)#redistribute rip
(Netgear Switch) (Config-router)#redistribute rip subnets
5. Enable OSPF area 0.0.0.1 on port 1/0/15.
(Netgear Switch) (Config-router)#exit
(Netgear Switch) (Config)#interface 1/0/11
(Netgear Switch) (Interface 1/0/11)#routing
(Netgear Switch) (Interface 1/0/11)#ip address 192.168.30.1 255.255.255.0
(Netgear Switch) (Interface 1/0/11)#ip rip
(Netgear Switch) (Interface 1/0/11)#exit
(Netgear Switch) (Config)#interface 1/0/15
(Netgear Switch) (Interface 1/0/15)#routing
(Netgear Switch) (Interface 1/0/15)#ip address 192.168.20.2 255.255.255.0
(Netgear Switch) (Interface 1/0/15)#ip ospf
(Netgear Switch) (Interface 1/0/15)#ip ospf areaid 0.0.0.1
(Netgear Switch) (Interface 1/0/15)#exit
(Netgear Switch) (Config)#exit
(Netgear Switch) #show ip route
Total Number of Routes......................... 6
Network Subnet Next Hop Next Hop
Address Mask Protocol Intf IP Address
--------------- --------------- ------------ --------- ---------------
0.0.0.0 0.0.0.0 OSPF Inter 1/0/15 192.168.20.1
192.168.20.0 255.255.255.0 Local 1/0/15 192.168.20.2
192.168.30.0 255.255.255.0 Local 1/0/11 192.168.30.1
192.168.40.0 255.255.255.0 RIP 1/0/11 192.168.30.2
192.168.41.0 255.255.255.0 RIP 1/0/11 192.168.30.2
192.168.42.0 255.255.255.0 RIP 1/0/11 192.168.30.2