Options

configure eigrp between router 2 and 3

hjorhjor Member Posts: 24 ■□□□□□□□□□
first and second router router is ospf. but the third is just eigrp. I did the default
route from router 2 to eigrp router and propagated it to all routers in the ospf domain
( router 1 (( and 2 - of course) )

So; I want configure eigrp between router 2 and 3 with an AS 100. And
eigrp should only route the following three networks;

network 10.X.X.X/30
network 172.X.X.X/24
network 172.X.X.X /24



This is what I wrote for the router 2 ( which is ospf configured ) and the eigrp
configured router 3;

router eigrp 100
network 10.X.X.X/30
network 172.X.X.X/24
network 172.X.X.X /24
no auto-summary


After that,
Network 10.X.X.X is ok, there's no problem about that.
and I see eigrp neighbor on router 3, that's right.

BUT when I put both 172.X.X.X networks there will always be "ip-eigrp : neighbor
172.X.X.X not on common subnet for fastethernet 0/0... And it keeps going and going...


What is wrong and what should I do???
«1

Comments

  • Options
    APAAPA Member Posts: 959
    why not just advertise once???

    network 172.x.0.0 0.0.255.255

    eigrp will only advertise the subnets it has configured locally (local interfaces).......

    That error message sounds like you have incorrect subnet masks configured????

    Could you post you config up from both routers so we can get a better idea of whats going on?

    CCNA | CCNA:Security | CCNP | CCIP
    JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
    JNCIS:SP | JNCIP:SP
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    I first ask that;
    I put the following in both routers, 2. and 3. ;

    router eigrp 100
    network 10.X.X.X
    network 172.X.X.X
    network 172.X.X.X
    no auto-summary
    exit

    Do you mean that this should put just in one router?, not in two?

    I didn't put subnet mask or wildcard mask - should I??
  • Options
    tech-airmantech-airman Member Posts: 953
    hjor wrote:
    first and second router router is ospf. but the third is just eigrp. I did the default
    route from router 2 to eigrp router and propagated it to all routers in the ospf domain
    ( router 1 (( and 2 - of course) )

    So; I want configure eigrp between router 2 and 3 with an AS 100. And
    eigrp should only route the following three networks;

    network 10.X.X.X/30
    network 172.X.X.X/24
    network 172.X.X.X /24



    This is what I wrote for the router 2 ( which is ospf configured ) and the eigrp
    configured router 3;

    router eigrp 100
    network 10.X.X.X/30
    network 172.X.X.X/24
    network 172.X.X.X /24
    no auto-summary


    After that,
    Network 10.X.X.X is ok, there's no problem about that.
    and I see eigrp neighbor on router 3, that's right.

    BUT when I put both 172.X.X.X networks there will always be "ip-eigrp : neighbor
    172.X.X.X not on common subnet for fastethernet 0/0... And it keeps going and going...


    What is wrong and what should I do???

    hjor,

    Do you have EIGRP configured on Router 2?
  • Options
    mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    hjor wrote:
    I didn't put subnet mask or wildcard mask - should I??
    If you don't, EIGRP ignores the no auto-summary
    :mike: Cisco Certifications -- Collect the Entire Set!
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    Do you have EIGRP configured on Router 2?


    - yes

    well; should I use no auto-summary or what?

    I tried to type ip And subnet mask, and same result.
    And I tried to type ip and wildcard, and same result. there will always be that same announcement ( ....not on common ... ) that never stops

    But if I put eigrp just in router 3 - there's no problem. But I think eigrp should be configured also router 2 and I can't do that right.
  • Options
    APAAPA Member Posts: 959
    BUT when I put both 172.X.X.X networks there will always be "ip-eigrp : neighbor
    172.X.X.X not on common subnet for fastethernet 0/0... And it keeps going and going...

    Where\What is Fa 0/0 on router 2 connecting to??? I take it router 3???

    Could you post up your full config please.....Leave your private IP's intact as welll as we can't do much by viewing your private ip's (if it was your public's then thats a whole new ball game :p)

    Your network advertisements look good but I would like to see the rest of the config....ip classless cmd has been entered right??

    Conf t
    !
    ip classless
    !
    end

    CCNA | CCNA:Security | CCNP | CCIP
    JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
    JNCIS:SP | JNCIP:SP
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    Hi. Thank you guys. Here's my original question and more information;

    router 2 is connected in router 3's serial 0/1 - yes, they are connected.

    Indeed, eigrp should only route for the following networks;

    network 10.X.X.X/30
    network 172.X.1.X/24
    network 172.X.2.X/24


    Router 2 is ospf configured and router 3 is eigrp configured. serial 0/1 in Router 2
    is 10.X.X.1/30 and serial o/1 in router 3 is 10.X.X.2/30. And fastEthernet 0/0 in router 2
    is 172.X.1.X. fastEthernet 0/0 in router 3 is 172.X.2.X.

    The message was: "ip-eigrp : neighbor 172.X.X.X not on common subnet for fastEthernet 0/0..."
    But 10.X.X.X succeeded, no problems. But that belongs to serial 0/1 in router 2 and 3. Both 172.X.X.X belong to fastEthernet 0/0, as you can see.


    Here's what I have thinking through. Which one is ( I haven't tried all of these yet!) correct,
    which one should be in router 2 and 3?;


    router eigrp 100
    network 10.X.X.X
    network 172.X.1.X
    network 172.X.2.X
    exit


    router eigrp 100
    network 10.X.X.X
    network 172.X.1.X
    network 172.X.2.X
    no auto-summary
    exit



    router eigrp 100
    network 10.X.X.X 255.255.255.252
    network 172.X.1.X 255.255.255.0
    network 172.X.2.X 255.255.255.0
    no auto-summary
    exit


    router eigrp 100
    network 10.X.X.X 255.255.255.252
    network 172.X.1.X 255.255.255.0
    network 172.X.2.X 255.255.255.0
    exit



    router eigrp 100
    network 10.X.X.X 0.0.0.3
    network 172.X.1.X 0.0.0.255
    network 172.X.2.X 0.0.0.255
    exit

    router eigrp 100
    network 10.X.X.X 0.0.0.3
    network 172.X.1.X 0.0.0.255
    network 172.X.2.X 0.0.0.255
    no auto-summary
    exit




    router eigrp 100
    network 10.X.X.X 0.0.0.3 area 100
    network 172.X.1.X 0.0.0.255 area 100
    network 172.X.2.X 0.0.0.255 area 100
    exit

    router eigrp 100
    network 10.X.X.X 0.0.0.3 area 100
    network 172.X.1.X 0.0.0.255 area 100
    network 172.X.2.X 0.0.0.255 area 100
    no auto-summary
    exit


    or ( I don't think this would be right )

    should "no auto-summary" command be something else; for example
    like this on router 2 and 3;

    router eigrp 100
    no auto-summary
    exit

    interface serial 0/1
    ip summary-address eigrp 100 and ??
  • Options
    APAAPA Member Posts: 959
    hjor wrote:
    Hi. Thank you guys. Here's my original question and more information;

    router 2 is connected in router 3's serial 0/1 - yes, they are connected.

    Indeed, eigrp should only route for the following networks;

    network 10.X.X.X/30
    network 172.X.1.X/24
    network 172.X.2.X/24


    Router 2 is ospf configured and router 3 is eigrp configured. serial 0/1 in Router 2
    is 10.X.X.1/30 and serial o/1 in router 3 is 10.X.X.2/30. And fastEthernet 0/0 in router 2
    is 172.X.1.X. fastEthernet 0/0 in router 3 is 172.X.2.X.

    The message was: "ip-eigrp : neighbor 172.X.X.X not on common subnet for fastEthernet 0/0..."
    But 10.X.X.X succeeded, no problems. But that belongs to serial 0/1 in router 2 and 3. Both 172.X.X.X belong to fastEthernet 0/0, as you can see.


    Here's what I have thinking through. Which one is ( I haven't tried all of these yet!) correct,
    which one should be in router 2 and 3?;


    router eigrp 100
    network 10.X.X.X
    network 172.X.1.X
    network 172.X.2.X
    exit


    router eigrp 100
    network 10.X.X.X
    network 172.X.1.X
    network 172.X.2.X
    no auto-summary
    exit



    router eigrp 100
    network 10.X.X.X 255.255.255.252
    network 172.X.1.X 255.255.255.0
    network 172.X.2.X 255.255.255.0
    no auto-summary
    exit


    router eigrp 100
    network 10.X.X.X 255.255.255.252
    network 172.X.1.X 255.255.255.0
    network 172.X.2.X 255.255.255.0
    exit



    router eigrp 100
    network 10.X.X.X 0.0.0.3
    network 172.X.1.X 0.0.0.255
    network 172.X.2.X 0.0.0.255
    exit

    router eigrp 100
    network 10.X.X.X 0.0.0.3
    network 172.X.1.X 0.0.0.255
    network 172.X.2.X 0.0.0.255
    no auto-summary
    exit




    router eigrp 100
    network 10.X.X.X 0.0.0.3 area 100
    network 172.X.1.X 0.0.0.255 area 100
    network 172.X.2.X 0.0.0.255 area 100
    exit

    router eigrp 100
    network 10.X.X.X 0.0.0.3 area 100
    network 172.X.1.X 0.0.0.255 area 100
    network 172.X.2.X 0.0.0.255 area 100
    no auto-summary
    exit


    or ( I don't think this would be right )

    should "no auto-summary" command be something else; for example
    like this on router 2 and 3;

    router eigrp 100
    no auto-summary
    exit

    interface serial 0/1
    ip summary-address eigrp 100 and ??

    You can configure the advertisements any number of ways here is one very specific way...... you should only be advertising the network that the router has locally configured.... (Router 2 should not be trying to advertise 172.x.2.x when that network actually belongs to router 3)

    Router 2's eigrp config should be

    eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.1.x 0.0.0.255
    no auto-summary
    end

    Router 3's eigrp config should be

    eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.2.x 0.0.0.255
    no auto-summary
    end

    See how you go with that......

    CCNA | CCNA:Security | CCNP | CCIP
    JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
    JNCIS:SP | JNCIP:SP
  • Options
    dtlokeedtlokee Member Posts: 2,378 ■■■■□□□□□□
    The error message is not related to the network statements you have configured, the EIGRP hello messages contain the Subnet addrress and mask of the interface, if the don't match between the neighbors it will give you that message, check the interface IP and mask to make sure they are the same subnet address.
    The only easy day was yesterday!
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    Still problems. I tried this:

    Router 2's eigrp config should be

    router eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.1.x 0.0.0.255
    no auto-summary
    end

    Router 3's eigrp config should be

    router eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.2.x 0.0.0.255
    no auto-summary
    end

    BUT router 2 said:


    00:24:13: %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.X.X.X (Serial0/1) is down: summary configured
    00:24:15: %SYS-5-CONFIG_I: Configured from console by console
    00:24:15: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)
    00:24:16: %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.x.x.x (Serial0/1) is up: new adjacency
    00:24:29: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)
    00:24:42: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)
    00:24:56: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)
    00:25:11: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)
    00:25:25: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)
    00:25:39: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)


    and router 3 said:



    00:23:30: %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.X.X.X (Serial0/1) is up: new adjacency
    00:24:12: IP-EIGRP: Neighbor 172.x.1.x not on common subnet for FastEthernet0/0 (172.x.2.x 255.255.255.0)
    00:24:17: %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.x.x.x (Serial0/1) is down: peer restarted
    00:24:20: %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.x.x.x (Serial0/1) is up: new adjacency
    00:24:26: IP-EIGRP: Neighbor 172.x.1.x not on common subnet for FastEthernet0/0 (172.x.2.x 255.255.255.0)
    00:24:40: IP-EIGRP: Neighbor 172.x.1.x not on common subnet for FastEthernet0/0 (172.x.2.x255.255.255.0)
    00:24:54: IP-EIGRP: Neighbor 172.x.1.x not on common subnet for FastEthernet0/0 (172.x.2.x 255.255.255.0)
    00:25:08: IP-EIGRP: Neighbor 172.x.1.x not on common subnet for FastEthernet0/0 (172.x.2.x 255.255.255.0)
    00:25:22: IP-EIGRP: Neighbor 172.x.1.xnot on common subnet for FastEthernet0/0 (172.x.2.x 255.255.255.0)



    AND; I checked the interface IP and mask to make sure they are the same subnet address - they are.
  • Options
    dtlokeedtlokee Member Posts: 2,378 ■■■■□□□□□□
    hjor wrote:
    00:24:15: IP-EIGRP: Neighbor 172.x.2.x not on common subnet for FastEthernet0/0 (172.x.1.x 255.255.255.0)

    You need to fix the addresses on the physical interfaces, one of them has subnet 172.x.1.0 and the other is 172.x.2.0. Check your masks and ip addresses to ensure they are on the same subnet.
    The only easy day was yesterday!
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    I think they are right. So, eigrp should only route for the following networks;

    network 10.10.1.0/30
    network 172.30.1.0/24
    network 172.30.2.0/24


    Router 2 is ospf configured and router 3 is eigrp configured. serial 0/1 in Router 2
    is 10.10.1.1/30 and serial o/1 in router 3 is 10.10.1.2/30. And fastEthernet 0/0 in router 2
    is 172.30.1.1/24. fastEthernet 0/0 in router 3 is 172.30.2.1/24.

    router 2 has also a loopback address 192.x.x.1 255.255.255.255 - is that 255.255.255.255 right?, I can't solve the problem.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    The ethernet interfaces mask is 255.255.255.0 so they need to have the same addresses for the first three octets. As dtlokee stated you have 172.x.1.x and 172.x.2.x. The error message has nothing to do with your eigrp configs.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    Well, my boss said that eigrp should only route for the following networks;

    network 10.10.1.0/30
    network 172.30.1.0/24
    network 172.30.2.0/24

    So; how can you do this if the first three octets aren't same - in this case; 172.30.X ??
    I think this is what you guys meant?
  • Options
    dtlokeedtlokee Member Posts: 2,378 ■■■■□□□□□□
    hjor wrote:
    I

    fastEthernet 0/0 in router 2 is 172.30.1.1/24.
    fastEthernet 0/0 in router 3 is 172.30.2.1/24.

    I have said it two times already, here is the third, the problem is not your EIGRP configuration, it is the addresses you have on the interfaces. Change the Fa0/0 on router 3 to 172.168.1.2/24 or somthing like that and the messages will go away. You have 2 interfaces connected to each other that are on different subnets. If that is not the intent, you may have an issue with the way the routers are physically connected or check your VLAN configs. The way I see it you have inadvertantly connected router 2's fa0/0 and router 3's fa0/0, if that is not the case then you need to check your subnetting scheme.

    Sorry to be blunt, but the network statements are not what is causing the error message.

    Also keep in mind what the network command does, it tells the router what interfaces to run the protocol, not what to advertise. The "what to advertise" is derived from the interface IP and mask, not the network address. Also since you have subnetted a single classful network and are advertising it out an interface with another classful network, make sure you use "no auto-summary" on eigrp
    The only easy day was yesterday!
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    Thanks, Dtlokee!! Now I understand and it will sure work now. :D

    I just change the address on the Fa0/0 on router 3, like you said. You were friendly, I just didn't understand how to solve this problem and I was so frustrated...

    This must be only way, because there probably isn't a way to simply just stop the error messages, for example using some debug- command and pings and connections would work - if there would be that kind of command, I'm sure you would have told me that. So, I think your advice is the only way I can do this!

    :D
  • Options
    dtlokeedtlokee Member Posts: 2,378 ■■■■□□□□□□
    hehe, "no logging console" will make the error go away, but that is like the piece of electrical tape I put over my "check engine" light in my car.
    The only easy day was yesterday!
  • Options
    tech-airmantech-airman Member Posts: 953
    hjor wrote:
    Do you have EIGRP configured on Router 2?


    - yes

    well; should I use no auto-summary or what?

    I tried to type ip And subnet mask, and same result.
    And I tried to type ip and wildcard, and same result. there will always be that same announcement ( ....not on common ... ) that never stops

    But if I put eigrp just in router 3 - there's no problem. But I think eigrp should be configured also router 2 and I can't do that right.

    hjor,

    What is your EIGRP configuration for Router 2?
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    Well, guys here tell that eigrp configuration isn't causing the problem and I believe them. I'm sure dtlokee knows. But it was like one guy said:

    Router 2's eigrp config should be

    router eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.1.x 0.0.0.255
    no auto-summary
    end

    Router 3's eigrp config should be

    router eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.2.x 0.0.0.255
    no auto-summary
    end

    I changed the address on router 3, just liek Dtlokee said.
  • Options
    EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    The thing i dont understand is why you keep putting the x's in your ip addresses. icon_confused.gif
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • Options
    tech-airmantech-airman Member Posts: 953
    EdTheLad wrote:
    The thing i dont understand is why you keep putting the x's in your ip addresses. icon_confused.gif

    I agree with EdTheLad.
  • Options
    tech-airmantech-airman Member Posts: 953
    hjor,
    hjor wrote:
    Well, guys here tell that eigrp configuration isn't causing the problem and I believe them. I'm sure dtlokee knows. But it was like one guy said:

    Router 2's eigrp config should be

    router eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.1.x 0.0.0.255
    no auto-summary
    end

    On Router 2, which interface is configured with an IP address in the 10.x.x.x network?
    hjor wrote:
    Router 3's eigrp config should be

    router eigrp 100
    network 10.x.x.x 0.0.0.3
    network 172.x.2.x 0.0.0.255
    no auto-summary
    end

    If you changed the IP address for the fa0/0 interface for Router 3 to something in the same subnet as the fa0/0 interface of Router 2, then why do you still have a "network 172.x._2_.x 0.0.0.255" statement on Router 3?
    hjor wrote:
    I changed the address on router 3, just liek Dtlokee said.

    What IP address did you change the fa0/0 interface to on Router 3?
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    sorry, here without xs;

    so; eigrp should only route for the following networks;

    network 10.10.1.0/30
    network 172.30.1.0/24
    network 172.30.2.0/24


    Router 2 is ospf configured and router 3 is eigrp configured. serial 0/1 in Router 2
    is 10.10.1.1/30 and serial o/1 in router 3 is 10.10.1.2/30. And fastEthernet 0/0 in router 2
    is 172.30.1.1/24. fastEthernet 0/0 in router 3 is 172.30.2.1/24.

    router 2 has also a loopback address 192.x.x.1 255.255.255.255

    on router 2, the 10.10.1.1/30 is interface serial 0/1, it reads in my earlier mail.

    I changed on router 3 the fastethernet 0/0 ip address, you can see what dtlokee wrote earlier.
    But do you mean that I should change some other interface ip address?
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    It would probably be a lot eaisier to troubleshoot if you posted some configs.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    hjor wrote:
    00:25:22: IP-EIGRP: Neighbor 172.x.1.xnot on common subnet for FastEthernet0/0 (172.x.2.x 255.255.255.0)
    If routers 2 & 3 are connected through their serial ports, and the routers are supposed to be on two different Ethernet subnets -- put them in different VLANs on the switch.

    If that is the case, then you'd want to avoid discontiguous subnets by using the no auto-summary command and using the subnet masks in the network statment.
    :mike: Cisco Certifications -- Collect the Entire Set!
  • Options
    tech-airmantech-airman Member Posts: 953
    hjor,
    hjor wrote:
    sorry, here without xs;

    so; eigrp should only route for the following networks;

    network 10.10.1.0/30
    network 172.30.1.0/24
    network 172.30.2.0/24

    Questions:
    1. Which interface of Router 2 is part of the 172.30.2.0/24 network?
    2. Which interface of Router 3 is part of the 172.30.2.0/24 network?
    hjor wrote:
    Router 2 is ospf configured and router 3 is eigrp configured. serial 0/1 in Router 2
    is 10.10.1.1/30 and serial o/1 in router 3 is 10.10.1.2/30. And fastEthernet 0/0 in router 2
    is 172.30.1.1/24. fastEthernet 0/0 in router 3 is 172.30.2.1/24.

    You do realize that you need BOTH EIGRP AND OSPF configured on Router 2?

    You do know that Router 2's FastEthernet 0/0 interface's IP address of 172.30.1.1/24 is on a DIFFERENT network as Router 3's FastEthernet 0/0 interface's IP address of 172.30.2.1/24? Router 2's FastEthernet 0/0 interface is in the 172.30.1.0 subnetwork and Router 3's FastEthernet 0/0 interface is in the 172.30.2.0 subnetwork so even under basic non-routing situation, they cannot communicate with each other.
    hjor wrote:
    router 2 has also a loopback address 192.x.x.1 255.255.255.255

    on router 2, the 10.10.1.1/30 is interface serial 0/1, it reads in my earlier mail.

    I changed on router 3 the fastethernet 0/0 ip address, you can see what dtlokee wrote earlier.
    But do you mean that I should change some other interface ip address?

    I understand you changed the IP address for Router 3's FastEthernet 0/0. However, we need to know WHAT you changed it TO. If you didn't change it to 172.30.1.x/24 then you're going to continue having problems.
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    I don't need a switch, so I guess encapsulation .802iQ would be needless here. You put encapsulation .802iQ when you use vlans, so not in here - am I right? Boss said, that I don't need a switch, just these routers...

    But here are finally ( sorry about that, my apologies ) some configs; I took the third router, router1, and that's ospf-configured.
    router 1 and 2 are in ospf area 0. and router 3 is EIGRP. That change what dtlokee said in router 3's fa 0/0 address is not in this, because this is previous config that I saved.

    Indeed, and here's what I need to do:

    I must configure OSPF in router 1 and router 2 so only the following 172.16.0.0 subnets
    will be routed;

    172.16.2.32/27 ( I PUT THESE BOTH SUBNETS
    172.16.1.0/30 ON ROUTER 1 AND 2 - is this right? )

    I configured Router1 with the OSPF router ID of 192.168.1.1
    and Router2 with the OSPF router ID of 192.168.1.2.
    I also configure the OSPF hello interval 10 and the OSPF dead interval 40.
    And I used authentication with MD5 encryption.

    But in router 3; I must configure EIGRP and configure EIGRP between Router2 and Router3.
    And EIGRP should only route for the following networks;

    10.10.1.0/30
    172.30.1.0/24
    172.30.2.0/24




    hostname Router1
    !
    enable secret dsdsddsds
    !
    ip subnet-zero
    !
    !
    !
    !
    !
    !
    interface Loopback0
    ip address 192.168.1.1 255.255.255.255
    !
    interface FastEthernet0/0
    ip address 172.16.2.33 255.255.255.224
    no keepalive
    duplex auto
    speed auto
    !
    interface Serial0/0
    ip address 172.16.1.2 255.255.255.252
    ip ospf message-digest-key 1 md5 netnet
    ip ospf hello-interval 10
    clockrate 56000
    !
    interface Serial0/1
    no ip address
    shutdown
    !
    router ospf 1
    log-adjacency-changes
    area 0 authentication message-digest
    network 172.16.1.0 0.0.0.3 area 0
    network 172.16.2.32 0.0.0.31 area 0
    !
    ip classless
    ip http server
    !
    !
    line con 0
    password gfgfgff
    login
    line aux 0
    line vty 0 4
    password gfgfgf
    login
    !
    end


    Router1#show ip route
    Codes: C - connected, S - static, I - IGRP, 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, E - EGP
    i - IS-IS, 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 172.16.1.1 to network 0.0.0.0

    172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
    C 172.16.2.32/27 is directly connected, FastEthernet0/0
    C 172.16.1.0/30 is directly connected, Serial0/0
    192.168.1.0/32 is subnetted, 1 subnets
    C 192.168.1.1 is directly connected, Loopback0
    O*E2 0.0.0.0/0 [110/1] via 172.16.1.1, 09:11:44, Serial0/0
    Router1#



    Router1#show ip interface brief
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 172.16.2.33 YES manual up up
    Serial0/0 172.16.1.2 YES manual up up
    Serial0/1 unassigned YES unset administratively down down
    Loopback0 192.168.1.1 YES manual up up

    Router1#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address Interface
    172.30.1.1 1 FULL/ - 00:00:18 172.16.1.1 Serial0/0
    Router1#show ip proto
    Router1#show ip protocols
    Routing Protocol is "ospf 1"
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Router ID 172.16.2.33
    Number of areas in this router is 1. 1 normal 0 stub 0 nssa
    Maximum path: 4
    Routing for Networks:
    172.16.1.0 0.0.0.3 area 0
    172.16.2.32 0.0.0.31 area 0
    Routing Information Sources:
    Gateway Distance Last Update
    172.16.2.33 110
    172.30.1.1 110
    Distance: (default is 110)







    hostname Router2
    !
    enable secret fggddfgf
    !
    ip subnet-zero
    !
    !
    !
    !
    !
    !
    interface Loopback0
    ip address 192.168.1.2 255.255.255.255
    !
    interface FastEthernet0/0
    ip address 172.30.1.1 255.255.255.0
    no keepalive
    duplex auto
    speed auto
    !
    interface Serial0/0
    ip address 172.16.1.1 255.255.255.252
    ip ospf message-digest-key 1 md5 netstat
    ip ospf hello-interval 10
    !
    interface Serial0/1
    ip address 10.10.1.1 255.255.255.252
    clockrate 56000
    !
    router eigrp 100
    network 10.0.0.0
    no auto-summary
    !
    router ospf 1
    log-adjacency-changes
    area 0 authentication message-digest
    network 172.16.1.0 0.0.0.3 area 0
    network 172.16.2.32 0.0.0.31 area 0
    default-information originate
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 10.10.1.2
    no ip http server
    !
    !
    line con 0
    password gfgffg
    login
    line aux 0
    line vty 0 4
    password gfgffgfgfgf
    login
    !
    end

    Router2#show ip route
    Codes: C - connected, S - static, I - IGRP, 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, E - EGP
    i - IS-IS, 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 10.10.1.2 to network 0.0.0.0

    172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
    O 172.16.2.32/27 [110/791] via 172.16.1.2, 00:05:16, Serial0/0
    C 172.16.1.0/30 is directly connected, Serial0/0
    172.30.0.0/24 is subnetted, 2 subnets
    D 172.30.2.0 [90/20537600] via 10.10.1.2, 00:04:38, Serial0/1
    C 172.30.1.0 is directly connected, FastEthernet0/0
    10.0.0.0/30 is subnetted, 1 subnets
    C 10.10.1.0 is directly connected, Serial0/1
    192.168.1.0/32 is subnetted, 1 subnets
    C 192.168.1.2 is directly connected, Loopback0
    S* 0.0.0.0/0 [1/0] via 10.10.1.2
    Router2#


    Router2#show ip interface brief
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 172.30.1.1 YES manual up up
    Serial0/0 172.16.1.1 YES manual up up
    Serial0/1 10.10.1.1 YES manual up up
    Loopback0 192.168.1.2 YES manual up up

    Router2#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address Interface
    172.16.2.33 1 FULL/ - 00:00:15 172.16.1.2 Serial0/0

    Router2#show ip protocols
    Routing Protocol is "ospf 1"
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Router ID 172.30.1.1
    It is an autonomous system boundary router
    Redistributing External Routes from,
    Number of areas in this router is 1. 1 normal 0 stub 0 nssa
    Maximum path: 4
    Routing for Networks:
    172.16.1.0 0.0.0.3 area 0
    172.16.2.32 0.0.0.31 area 0
    Routing Information Sources:
    Gateway Distance Last Update
    172.16.2.33 110
    172.30.1.1 110
    Distance: (default is 110)

    Routing Protocol is "eigrp 100"
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Default networks flagged in outgoing updates
    Default networks accepted from incoming updates
    EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
    EIGRP maximum hopcount 100
    EIGRP maximum metric variance 1
    Redistributing: eigrp 100
    Automatic network summarization is not in effect
    Maximum path: 4
    Routing for Networks:
    10.0.0.0
    Routing Information Sources:
    Gateway Distance Last Update
    10.10.1.2 90
    Distance: internal 90 external 170




    hostname Router3
    !
    enable secret gfgfggfgfgfgf
    !
    ip subnet-zero
    !
    !
    !
    !
    !
    !
    interface FastEthernet0/0
    ip address 172.30.2.1 255.255.255.0
    no keepalive
    duplex auto
    speed auto
    !
    interface Serial0/0
    no ip address
    shutdown
    !
    interface Serial0/1
    ip address 10.10.1.2 255.255.255.252
    !
    router eigrp 100
    network 10.0.0.0
    network 172.30.0.0
    no auto-summary
    !
    ip classless
    ip http server
    !
    !
    line con 0
    password fdfdfdfd
    login
    line aux 0
    line vty 0 4
    password dfdffd
    login
    !
    end

    Router3#show ip route
    Codes: C - connected, S - static, I - IGRP, 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, E - EGP
    i - IS-IS, 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

    172.30.0.0/24 is subnetted, 1 subnets
    C 172.30.2.0 is directly connected, FastEthernet0/0
    10.0.0.0/30 is subnetted, 1 subnets
    C 10.10.1.0 is directly connected, Serial0/1
    Router3#




    Router3#show ip interface brief
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 172.30.2.1 YES manual up up
    Serial0/0 unassigned YES unset administratively down down
    Serial0/1 10.10.1.2 YES manual up up

    Router3#show ip eigrp neighbors
    IP-EIGRP neighbors for process 100
    H Address Interface Hold Uptime SRTT RTO Q Seq Type
    (sec) (ms) Cnt Num
    0 10.10.1.1 Se0/1 12 00:06:35 1924 5000 0 4

    Router3#show ip protocols
    Routing Protocol is "eigrp 100"
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Default networks flagged in outgoing updates
    Default networks accepted from incoming updates
    EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
    EIGRP maximum hopcount 100
    EIGRP maximum metric variance 1
    Redistributing: eigrp 100
    Automatic network summarization is not in effect
    Maximum path: 4
    Routing for Networks:
    10.0.0.0
    172.30.0.0
    Routing Information Sources:
    Gateway Distance Last Update
    10.10.1.1 90
    (this router) 90
    Distance: internal 90 external 170
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    I think you are in over your head here. Are you trying to get the ospf routes into eigrp and vice versa? If so you need more configurations.

    Do you have the ethernet interfaces on router two and three connected together? If so they need to be on a common subnet. Your ethernet interfaces are showing up up because of the no keepalive statement.

    When you do the network statements you are telling the router what interface to run eigrp or ospf on. The mask you use on the network command doesn't influence what mask is advertised with the network. For this reason I always use a 0.0.0.0 mask with the interface IP just to keep things neat and simple.

    You don't have any eigrp routes on router three because you are not advertising anything to it except for the network used to connect the routers. Since that network is connected it shows as C in the routing table rather than D due to administrative distance.

    You should probably read up on your routing protocols and configs before attempting this.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    hjorhjor Member Posts: 24 ■□□□□□□□□□
    well, this if difficult. But on Router 2, I configured a default static route to Router 3.
    And I propagated that default route to routers in the OSPF routing domain. Yes, indeed.
    What more configurations do I need? Are ospf configs right? I will put eigrp configs on router 2 and 3 just like one guy here adviced - ip's and wildcards. I didn't previously added wildcards.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    You don't need the 172.16.2.32 netrwork statement on router 2. Like I stated the network statements tell ospf what interface to run ospf on. Since you don't have an interface on router 2 in that range you don't need the network statement. The network statements can confuse people when first starting with routing.

    A default route isn't what you need in this situation. It will send all unknown routes that way. What you need is redistribution. You can send the ospf routes into eigrp and eigrp routes into ospf. That is why I said it was probably a little over your head. Its not difficult, it just uses technologies I don't think you have learned about yet. In your configuration router 1 will eventually get to router 3, but router 3 will not get back to router 1 with out a route to those subnets. It would be better to have the exact routes redistributed rather than sending a default route.

    I personally always use a 0.0.0.0 mask on ospf or eigrp. Its easier for me and for someone who comes along looking at the configs. This way you can look at it a quikley know what interface is running ospf with out having to do any math.
    An expert is a man who has made all the mistakes which can be made.
Sign In or Register to comment.