cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
326
Views
5
Helpful
3
Replies
suthomas1
Frequent Contributor

ospf network routing

Hi,

I need to configure ospf on router with following interface

10.156.25.126 /25

will the output be

router ospf 1

network 10.198.55.0 0.0.0.127

Is this correct. Please help .

1 ACCEPTED SOLUTION

Accepted Solutions
John Blakley
Advisor

Not exactly. You can do it 1 of 2 ways:

On the interface:

int fa0/0

ip addr 10.156.25.126 255.255.255.128

ip ospf 1 area 0

Or under the process:

router ospf 1

network 10.156.25.0 0.0.0.127 area 0

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

3 REPLIES 3
John Blakley
Advisor

Not exactly. You can do it 1 of 2 ways:

On the interface:

int fa0/0

ip addr 10.156.25.126 255.255.255.128

ip ospf 1 area 0

Or under the process:

router ospf 1

network 10.156.25.0 0.0.0.127 area 0

HTH,

John

HTH, John *** Please rate all useful posts ***
Alessio Andreoli
Contributor

Correct IF you specify the area you want this interafce belong to:

router ospf 1

network 10.198.55.0 0.0.0.127 area area_id

Alessio

shubhamkumarhcl
Beginner