194 | | - You have successfully finished connecting !CampusCore? to the !BorderRt? router. Let's verify the connectivity using the ping command. |
195 | | {{{ |
196 | | |
197 | | }}} |
| 194 | - You have successfully finished connecting !CampusCore to the !BorderRt router. Let's verify the connectivity using the ping command |
| 195 | - Go to !BorderRt and ping to !CampusCore switch's VLAN 255 Interface IP |
| 196 | {{{ |
| 197 | ping 2401:dd00:PQRT::FFFF |
| 198 | }}} |
| 199 | - Now Check the routers connectivity in WAN port. Ping to the WAN Gateway |
| 200 | {{{ |
| 201 | ping 2401:dd00:6::FFFF |
| 202 | }}} |
| 203 | - Both these ping commands should give you a reply |
| 204 | |
| 205 | === Routing === |
| 206 | In this Lab we will enable OSPF for IPv6 in all the core switches and we will add default routes in !Campuscore and the router. |
| 207 | - Now let's enable OSPF on Core devices. Starting from CampusCore |
| 208 | * Login to CampusCore? switch and switch to config mode |
| 209 | * Define OSPF process and Process ID. In this lab use process ID as 1 |
| 210 | {{{ |
| 211 | CampusCore(config)#ipv6 router ospf 1 |
| 212 | }}} |
| 213 | * Give the router ID, this will be the same as ipv4 ospf router ID for simplicity |
| 214 | {{{ |
| 215 | CampusCore(config-rtr)#router-id 10.0.2.1 |
| 216 | }}} |
| 217 | * You are going to announce the subnets which are directly connects to you. Use this command for that |
| 218 | {{{ |
| 219 | CampusCore(config-rtr)#redistribute connected |
| 220 | }}} |
| 221 | * You are enabling OSPF on VLAN 2. Use this command for that. |
| 222 | {{{ |
| 223 | CampusCore(config)#interface vlan 2 |
| 224 | CampusCore(config-if)# ipv6 ospf 1 area 2 |
| 225 | CampusCore(config-if)# exit |
| 226 | }}} |
| 227 | * Now you have enable OSPF on !CampusCore Switch. Now lets add the default Route. |
| 228 | {{{ |
| 229 | CampusCore(config)# ipv6 route ::/0 2401:dd00:PQRT::FFFF |
| 230 | }}} |
| 231 | - Follow the same steps in FacACore and FacBCore |
| 232 | ==== FacACore ==== |
| 233 | {{{ |
| 234 | FacACore(config)#ipv6 router ospf 1 |
| 235 | FacACore(config-rtr)#router-id 10.0.2.2 |
| 236 | FacACore(config-rtr)#redistribute connected |
| 237 | FacACore(config-rtr)#exit |
| 238 | FacACore(config)#interface vlan 2 |
| 239 | FacACore(config-if)# ipv6 ospf 1 area 2 |
| 240 | FacACore(config-if)# exit |
| 241 | }}} |
| 242 | |
| 243 | ==== FacBCore ==== |
| 244 | {{{ |
| 245 | FacBCore(config)#ipv6 router ospf 1 |
| 246 | FacBCore(config-rtr)#router-id 10.0.2.3 |
| 247 | FacBCore(config-rtr)#redistribute connected |
| 248 | FacBCore(config-rtr)#exit |
| 249 | FacBCore(config)#interface vlan 2 |
| 250 | FacBCore(config-if)# ipv6 ospf 1 area 2 |
| 251 | FacBCore(config-if)# exit |
| 252 | }}} |
| 253 | |
| 254 | - Now you have enable Routing in your Core network. Let's verify whether it is working. |
| 255 | * Go to Dept1PC and try a Ping6 to Dept2PC |
| 256 | * Try a ping to Router's LAN port |
| 257 | {{{ |
| 258 | ping6 2401:dd00:PQRT::FFFF |
| 259 | }}} |
| 260 | * Both should give you a reply |
| 261 | - Add the !BorderRt Routers default gateway |
| 262 | * Go to !BorderRt and switch to config mode |
| 263 | * Add the default route |
| 264 | {{{ |
| 265 | - CampusCore(config)# ipv6 route ::/0 2401:dd00:6::FFFF |
| 266 | }}} |
| 267 | * Verify the route by ping a known host from the !BorderRt router |
| 268 | {{{ |
| 269 | ping 2401:dd00:1::161 |
| 270 | }}} |
| 271 | * This should give you a reply |
| 272 | |
| 273 | === Router Configuration === |
| 274 | Here we need no NAT to access internet, only dependency is the correct routing details. |
| 275 | - Login to !BorderRt Router and switch to config mode |
| 276 | - Add a static route in the router so that the traffic coming to our defined network will redirect to !CampusCore switch |
| 277 | {{{ |
| 278 | BorderRt(config)#ipv6 route 2401:dd00:PQRT::/48 2401:dd00:PQRT::FFFF |
| 279 | }}} |
| 280 | - Now try a ping from DeptPC1 to the 2401:dd00:1::161 . It should give reply |
| 281 | |