Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Network Advertisement in EIGRP

I have 2 routers  R1 directly connected to R2. R1 has a loopback interface with ip address 1.1.1.1/32
However in EIGRP when I advertised the loopback network  I used:
router eigrp 1
 network 1.1.1.0 0.0.0.255

Now if I go to R2 routing table I see that route showing as:
R2#sh ip route eigrp
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
D        1.1.1.1 [90/156160] via 192.168.12.1, 00:06:20, FastEthernet0/0

***I thought it would show as /24 instead 32

Any idea ?

Thank you
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Ok..I have not tested it yet, but I will later.

For instance , if I have  R1 loopback interfaces :
192.168.0.1/24
192.168.1.1/24
192.168.2.1/24
192.168.3.1/24

Then I advise in EIGRP :
 Network 192.168.0.0/24
 Network 192.168.1.0/24
 Network 192.168.2.0/24
 Network 192.168.3.0/24

How is it going to show in the neighbor R2 Routing table . R2 is also configured with EIGRP

Thanks
Neighbor will see
Network 192.168.0.0/24

 Network 192.168.1.0/24
 Network 192.168.2.0/24
 Network 192.168.3.0/24
Also, it will end result be the same in the case that EIGRP is configured as:
router eigrp 1
 network 192.168.0.1 0.0.0.0
 network 192.168.1.1 0.0.0.0
 network 192.168.2.1 0.0.0.0
 network 192.168.3.1 0.0.0.0
or
router eigrp 1
 network 192.168.0.1 0.0.3.255
or
router eigrp 1
network 0.0.0.0 255.255.255.255

End result is always the same. Always are advertised networks configured under interfaces.
How is it going to show in the neighbor R2 Routing table

192.168.0.1/24
192.168.1.1/24
192.168.2.1/24
192.168.3.1/24

But once again, the network statement in EIGRP doesn't specifically say to advertise these exact networks.

In EIGRP, you could have used the network statement

network 192.168.0.0 0.0.255.255

and it would have the EXACT same result as

network 192.168.0.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255

Because the network statement doesn't tell the router what to advertise.  It tells the router which interfaces are participating in EIGRP.
Avatar of jskfan

ASKER

Thank you Guys