Question : how to configure ospf on my router, in order to get it work based on my enquiry?

dear all,


I had a router needed to configure,  Process ID 8 of the
routing protocol to be used. Area 0 is to be used too.

I got a S0/0  ipaddress of 10.75.2.6 /30   needed to be configured on.

Can anyone help me, i should configure as in Sample A  or Sample B ?
and why ?  Please advise.

Sample A
---------

router ospf 8
network 10.75.2.6 0.0.0.3  area 0



Sample B
---------

router ospf 8
network 10.75.2.6 0.0.0.2  area 0

Answer : how to configure ospf on my router, in order to get it work based on my enquiry?

Sample B has the correct wildcard mask. Here's how that breaks down.

Ip address 10.75.2.6 /30 has a subnet mask of /30 which is 255.255.255.252
now wildcard masks are easy to calculate.
Take a full mask 255.255.255.255 and subtrack the subnetmask you are using.

  255.255.255.255
- 255.255.255.252
---------------------
  000.000.000.003  or 0.0.0.3

the area 0 is configured in the proper place, the ospf statement is correct also
So this should be exactly what you are going to input.

router>enable
router#configure terminal
router(config)#router ospf 8
router(config-router)#network 10.75.2.6 0.0.0.3 area 0

Eric Villeneuve

CCNA
Network Engineering Technology student
Random Solutions  
 
programming4us programming4us