eigrp network command

I have several subnets within my LAN.
Will the 2 options below produce the same result? If yes, why?

router eigrp 1
network 10.10.10.0
network 192.168.1.0
network 192.168.2.0
no auto summary


router eigrp 1
network 10.0.0.0
network 192.168.0.0
no auto summary

PS. all masks are /24
LVL 1
leblancAccountingAsked:
Who is Participating?
 
Don JohnstonConnect With a Mentor InstructorCommented:
If you use a non-classful network statement, you have to use a (wildcard) mask. So it should be:
router eigrp 1
network 10.10.10.0 0.0.0.255
network 192.168.1.0
network 192.168.2.0
no auto summary


router eigrp 1
network 10.0.0.0
network 192.168.0.0 0.0.255.255
no auto summary

Open in new window


In the second example, any 192.168.0.0 networks would be EIGRP networks.
1
 
Cyclops3590Commented:
In case this goes to cleanup.  donjohnston's answer is correct.
0
All Courses

From novice to tech pro — start learning today.