05-26-2006 12:42 AM - edited 03-03-2019 03:23 AM
Router A
interface eth 0
ip address 172.30.0.1 255.255.255.128
router eigrp 4444
network 172.30.1.0
Router B
interface eth0
ip address 172.30.2.1 255.255.255.128
router eigrp 4444
network 172.30.1.0
MAIN ROUTER
interface eth0
ip address 172.30.1.1 255.255.255.0
router eigrp 4444
network 172.30.0.0
Router A users should reach ONLY Main Router users.
Router B users should reach ONLY Main Router users.
based on the EIGRP network in Router A & B, they can reach ONLY Main Router users, where as Main Router can reach both.
am i right? if not please correct me.
05-26-2006 01:29 AM
Hi,
In each EIGRP router you need to advertise the subnets at the router not the neighbors routers.
Router A
interface eth 0
ip address 172.30.0.1 255.255.255.128
router eigrp 4444
network 172.30.0.0
and disable the auto summarization.
Please read this document
And please note, that these are class b addresses, the default will summarize 172.30.0.0 unless you add the network mask after the subnet.
Please rate if it does!
Abd Alqader
05-26-2006 04:24 AM
Hello,
in addition to Abd's post, keep in mind that with EIGRP, you are not actually advertising networks, you are advertising interfaces. So, when you say:
network 172.30.0.0
you tell the EIGRP process to let all interfaces that have an IP address within the 172.30.0.0/16 range participate in EIGRP. In order to avoid confusion, you could advertise just the exact interface addresses as following:
Router A
interface eth 0
ip address 172.30.0.1 255.255.255.128
router eigrp 4444
network 172.30.0.1 0.0.0.0
Router B
interface eth0
ip address 172.30.2.1 255.255.255.128
router eigrp 4444
network 172.30.2.1 0.0.0.0
MAIN ROUTER
interface eth0
ip address 172.30.1.1 255.255.255.0
router eigrp 4444
network 172.30.1.1 0.0.0.0
If you want both Router A and Router B to reach only the main router and not each other, you could configure a distribute list for the interfaces on Router A and Router B as following:
Router A
interface Serial0
description connection to Main
!
router eigrp 444
distribute-list 1 out Serial0
!
access-list 1 deny 172.30.2.1 0.0.0.0
access-list 1 permit any
!
Router B
interface Serial0
description connection to Main
!
router eigrp 444
distribute-list 1 out Serial0
!
access-list 1 deny 172.30.0.1 0.0.0.0
access-list 1 permit any
!
Does that make sense ?
Regards,
GNT
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide