i guess you need a static route of ip route 20.0.0.0 255.0.0.0 <next hop interface>
and from eigrp, you need to redistribute theis static route in a nutshell, you need 1. ip route 20.0.0.0 255.0.0.0 <next hop interface> 2. redistribute static * from eigrp On 6/22/10, Mustafa Yadav <[email protected]> wrote: > hi, > > once I changed netmask of the interface as classfull it did work out.I am > looking for a way to send an classless routeç > > > r3#sh run | s router > router eigrp 100 > network 10.1.13.3 0.0.0.0 > network 20.0.0.0 > no auto-summary > r3#sh run int f0/0 > Building configuration... > > Current configuration : 88 bytes > ! > interface FastEthernet0/0 > ip address 20.0.0.1 255.0.0.0 > speed 100 > full-duplex > end > > On Mon, Jun 21, 2010 at 9:41 PM, Adrian Brayton <[email protected]> wrote: > >> On R3, you can add a summary route: >> >> int fa 0/0# (Or whatever interface it is) ip summary-address EIGRP 100 >> 20.0.0.0 255.0.0.0 >> >> Or you can do: >> >> ip default-network 20.0.0.0 >> >> ___ >> >> If you have multiple default networks and only want one on R1 you can: >> >> Router EIGRP 100 >> default-information allowed in <acl> >> >> HTHs a little! >> >> >> On Jun 21, 2010, at 2:19 PM, Mustafa Yadav wrote: >> >> >> >> >> >> >> >> >> >> >> >> >> >> r3# sh run >> Building configuration... >> >> Current configuration : 1061 bytes >> ! >> version 12.4 >> service timestamps debug datetime msec >> service timestamps log datetime msec >> no service password-encryption >> ! >> hostname r3 >> ! >> boot-start-marker >> boot-end-marker >> ! >> ! >> no aaa new-model >> memory-size iomem 5 >> ip cef >> ! >> ! >> ! >> ! >> ! >> multilink bundle-name authenticated >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> archive >> log config >> hidekeys >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> interface Loopback0 >> ip address 3.3.3.3 255.255.255.0 >> ! >> interface FastEthernet0/0 >> ip address 20.20.20.2 255.255.255.0 >> speed 100 >> full-duplex >> ! >> interface Serial0/0 >> no ip address >> encapsulation frame-relay IETF >> shutdown >> clock rate 2000000 >> frame-relay lmi-type ansi >> ! >> interface FastEthernet0/1 >> no ip address >> shutdown >> duplex auto >> speed auto >> ! >> interface Serial0/1 >> ip address 10.1.13.3 255.255.255.0 >> clock rate 2000000 >> ! >> router eigrp 100 >> network 10.1.13.3 0.0.0.0 >> network 20.20.20.2 0.0.0.0 >> no auto-summary >> ! >> ip default-network 20.0.0.0 >> ip forward-protocol nd >> ! >> ! >> ip http server >> no ip http secure-server >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> control-plane >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> line con 0 >> line aux 0 >> line vty 0 4 >> ! >> ! >> end >> >> >> >> r1#sh run >> *Mar 1 05:07:51.410: %SYS-5-CONFIG_I: Configured from console by console >> Building configuration... >> >> Current configuration : 1110 bytes >> ! >> version 12.4 >> service timestamps debug datetime msec >> service timestamps log datetime msec >> no service password-encryption >> ! >> hostname r1 >> ! >> boot-start-marker >> boot-end-marker >> ! >> ! >> no aaa new-model >> memory-size iomem 5 >> ip cef >> ! >> ! >> ! >> ! >> ! >> multilink bundle-name authenticated >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> archive >> log config >> hidekeys >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> interface Loopback0 >> ip address 1.1.1.1 255.255.255.0 >> ! >> interface FastEthernet0/0 >> no ip address >> shutdown >> duplex auto >> speed auto >> ! >> interface Serial0/0 >> ip address 3.4.5.6 255.255.255.0 >> clock rate 2000000 >> ! >> interface FastEthernet0/1 >> ip address 10.11.11.1 255.255.255.0 >> speed 100 >> full-duplex >> ! >> interface Serial0/1 >> ip address 10.1.13.1 255.255.255.0 >> clock rate 2000000 >> ! >> router eigrp 100 >> network 10.1.13.1 0.0.0.0 >> no auto-summary >> ! >> router ospf 1 >> router-id 1.1.1.1 >> log-adjacency-changes >> network 1.1.1.1 0.0.0.0 area 0 >> network 10.1.13.1 0.0.0.0 area 0 >> default-information originate >> ! >> ip forward-protocol nd >> ! >> ! >> ip http server >> no ip http secure-server >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> control-plane >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> ! >> line con 0 >> line aux 0 >> line vty 0 4 >> ! >> ! >> end >> >> r1# sh ip ro >> r1# sh ip route >> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP >> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area >> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 >> E1 - OSPF external type 1, E2 - OSPF external type 2 >> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS >> level-2 >> ia - IS-IS inter area, * - candidate default, U - per-user static >> route >> o - ODR, P - periodic downloaded static route >> >> Gateway of last resort is not set >> >> 1.0.0.0/24 is subnetted, 1 subnets >> C 1.1.1.0 is directly connected, Loopback0 >> 20.0.0.0/24 is subnetted, 1 subnets >> D 20.20.20.0 [90/2172416] via 10.1.13.3, 00:06:27, Serial0/1 >> 10.0.0.0/24 is subnetted, 2 subnets >> C 10.1.13.0 is directly connected, Serial0/1 >> C 10.11.11.0 is directly connected, FastEthernet0/1 >> r1 >> >> >> >> r1#sh ip route >> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP >> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area >> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 >> E1 - OSPF external type 1, E2 - OSPF external type 2 >> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS >> level-2 >> ia - IS-IS inter area, * - candidate default, U - per-user static >> route >> o - ODR, P - periodic downloaded static route >> >> Gateway of last resort is not set >> >> 1.0.0.0/24 is subnetted, 1 subnets >> C 1.1.1.0 is directly connected, Loopback0 >> 20.0.0.0/24 is subnetted, 1 subnets >> D 20.20.20.0 [90/2172416] via 10.1.13.3, 00:07:10, Serial0/1 >> 10.0.0.0/24 is subnetted, 2 subnets >> C 10.1.13.0 is directly connected, Serial0/1 >> C 10.11.11.0 is directly connected, FastEthernet0/1 >> r1# >> >> >> >> Hİ all, >> >> >> Below are the confgi of r3 and r1.They are running eigrp and from r3 I >> want >> to advertise to r1 a defaulr route via ip default network.this network is >> 20.0.0.0. >> >> I read the rules there must be for this config work. >> 1-20.x.x.x is in routing table of r3. >> 2-in egirp I advertise it. >> 3-I used ip default network >> >> still it doesnot work.What did I wrong? >> >> many thanksç >> >> >> r3# >> r3#sh ip ro >> r3#sh ip route >> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP >> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area >> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 >> E1 - OSPF external type 1, E2 - OSPF external type 2 >> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS >> level-2 >> ia - IS-IS inter area, * - candidate default, U - per-user static >> route >> o - ODR, P - periodic downloaded static route >> >> Gateway of last resort is not set >> >> 3.0.0.0/24 is subnetted, 1 subnets >> C 3.3.3.0 is directly connected, Loopback0 >> * 20.0.0.0/24 is subnetted, 1 subnets >> C 20.20.20.0 is directly connected, FastEthernet0/0 >> 10.0.0.0/24 is subnetted, 1 subnets >> C 10.1.13.0 is directly connected, Serial0/1 >> >> >> >> >> >> _______________________________________________ >> For more information regarding industry leading CCIE Lab training, please >> visit www.ipexpert.com >> >> >> > _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
