Cisco IOS question

xyyz

Diamond Member
Sep 3, 2000
4,331
0
0

alright, i'm a bit confused with the the the "network" command.

let's say I have a Cisco 2500 series router, with 2 ethernet ports and 2 serial ports.

the e0 is connected to a switch, s0 is connected to a router and s1 is connected to a router.

now... say i want to run igrp... what would the networks be?

e0 = 152.1.1.1
s0 = 206.1.1.1
s1 = 228.1.1.1

in the script would I have the following?

network 152.1.1.0
network 206.1.1.0
network 228.1.1.0

or would I ommit the e0 network, because igrp communicates only through the serial links?

I don't know if this made any sense... so if i've lost you i'll try and explain again.

the reason i'm asking is because I am not entirely sure how to setup a router... I know IGRP is a routing protocol that deals with tables and i know routers primarily communiate their tables through their serial links, so i'm not sure if you need to include the ethernet network.
 

CTR

Senior member
Jun 12, 2000
654
0
0
IGRP is classful. So your "network" commands need only describe the Class A, B, or C part of the address. Remember that IGRP also does not understand VLSM. EIGRP is much nicer in that respect. IGRP is a layer3 routing protocol, and doesn't care about serial or ethernet for advertising. It will weight the routes based on the type of connection though. You would need to enter "network" commands for every network you described in your post if you want to advertise those networks with IGRP.
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Gads! It's been awhile for that one. Dropped that proto awhile ago along with RIP. :)
 

xyyz

Diamond Member
Sep 3, 2000
4,331
0
0

thanks, but that's way over my head... I need an answer specifically for this question.

can you help?
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Oh, Thought CTR had answered already.

You need to use the classfull networks on which each interfaces is a part of. In you example your addresses are:

152.1.1.1 (class B network)
206.1.1.1 (class C network)
228.1.1.1 (class D network, don't use)

your network statements would be
152.1.0.0 (class B)
206.1.1.0 (class C)
228.1.1.0 (don't use these nets if you can help it)

I think you need to include the ethernet network inthere or IGRP won't announce this route?
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
new thread:

network geeks speak in tongues.

Who wants to post it?

hahhahahah :)

cya cidr atm aarp ibgp ebgp ify ouc anr eadt hisu rageek