cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
474
Views
5
Helpful
3
Replies

ospf network routing

suthomas1
Level 6
Level 6

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
VIP Alumni
VIP Alumni

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
VIP Alumni
VIP Alumni

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 ***

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

Review Cisco Networking products for a $25 gift card