Skip to main content

OSPF Network Statement

More
11 years 3 months ago #38197 by abu_shihab
i have 3 routers R1,R2,R4 as in attechment,

i want to know that is the defferince between this command

#network 10.10.10.1 0.0.0.0 area 0
#network 10.10.20.1 0.0.0.0 area 0

and this
#network 10.10.10.0 0.0.0.255 area 0
#network 10.10.20.0 0.0.0.255 area 0

thanks

Attachment Screenshotfrom2012-12-21125216.png not found

Attachments:
More
11 years 2 months ago - 11 years 2 months ago #38199 by skylimit
Replied by skylimit on topic Re: OSPF Network Statement
As far as I know they both do the same thing pretty much

For the first two statements, interfaces with the exact addresses of 10.10.10.1 and 10.10.20.1 are put in area 0, while for the last two statements, interfaces with an address of 10.10.10.x (so 10.10.10.1,.2.3,etc) and 10.10.20.x (so 10.10.20.1,.2.3,etc) are put in area 0.

hope this helps

"...you are never too old to learn" anon
Last edit: 11 years 2 months ago by skylimit. Reason: better wording of reply
Time to create page: 0.139 seconds