01-01-2017 04:46 AM - edited 03-08-2019 08:45 AM
Basically i have a bunch of hosts in diff vlans hanging off a switch going to a router then to another router and the same thing on the opposite end.
Host......switch.......router........router........switch....host
Im doing some basic Vlan familiarization but cannot get my 2 routers talking via ospf
attached is the zip file of the pkz........someone help and tell me what im doing wrong.
i got the vlans doing the interrouting stuff on one side and the end goal is to get them pinging across the routers to the other vlans.
attached is the .pkt
thanks a bazillion
01-01-2017 05:44 AM
Couldn't read the packet capture for some reason. Regardless, it would be best to post the router configs as that would make it a lot easier to determine what is going on.
01-01-2017 05:47 AM
What do you mean couldnt read the packet capture? Did the .pkt not pop up? its using 7.0 pt
01-01-2017 05:53 AM
01-01-2017 08:19 AM
Hello,
I opened your .pkt file. Paul Driver was right. You need to use a cross-connect (4th from the left, the black dotted line) to connect both interfaces. Once I did that, the neighbors came up.
01-02-2017 03:00 AM
Thanks gpauwen! I totally forgot to check the physical layer. Great catch!
01-01-2017 05:48 AM
interface GigabitEthernet0/0
ip address 192.168.1.1 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 10
ip address 10.0.0.1 255.0.0.0
!
interface GigabitEthernet0/1.20
encapsulation dot1Q 20
ip address 20.0.0.1 255.0.0.0
!
interface GigabitEthernet0/1.30
encapsulation dot1Q 30
ip address 30.0.0.1 255.0.0.0
!
interface GigabitEthernet0/1.40
encapsulation dot1Q 40
ip address 40.0.0.1 255.0.0.0
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.0.0.0 0.255.255.255 area 0
--------------------------------------------------------------------------------
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 10.0.0.1 255.0.0.0
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 20.0.0.1 255.0.0.0
!
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 30.0.0.1 255.0.0.0
!
interface GigabitEthernet0/0.40
encapsulation dot1Q 40
ip address 40.0.0.1 255.0.0.0
!
interface GigabitEthernet0/1
ip address 192.168.1.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.0.0.0 0.255.255.255 area 0
01-01-2017 06:10 AM
1- Are OSPF neighbors established between the routers? (sh ip ospf nei)
2- You cannot have the same networks on both sides of a L3 link. Meaning you cannot have the 10, 20, 30 & 40 networks behind R0 and R1. Change the networks behind R1 to 50, 60, 70 & 80 for this scenario.
3- You need to add these networks into the OSPF configuration so the routers know to advertise them to each other:
RO:
router ospf 1
network 10.0.0.0 0.255.255.255 area 0
network 20.0.0.0 0.255.255.255 area 0
network 30.0.0.0 0.255.255.255 area 0
network 40.0.0.0 0.255.255.255 area 0
R1:
router ospf 1
network 50.0.0.0 0.255.255.255 area 0
network 60.0.0.0 0.255.255.255 area 0
network 70.0.0.0 0.255.255.255 area 0
network 80.0.0.0 0.255.255.255 area 0
01-02-2017 02:58 AM
Yep youre right. Good catch! Wow im loving these forums. Keep doing what youre doing and school us daily!
01-01-2017 07:03 AM
Hello
Is this in a lab environment?
Note: A physical RTR to RTR connection will require a crossover cable to be attached between each device
Once you have done that on both rtrs configure the interface addressing and then enable basic ospf
router ospf1
network 0.0.0.0 0.0.0.0 area 0
res
Paul
01-02-2017 02:56 AM
Grrrr and i was racking my brain why the darn thing wouldnt come up. Seems my ip addressing needs a bit of work also.
Thanks man. Good catch. You da man!
01-02-2017 05:18 AM
Hello
please mark your post as answered if applicable so it may be able to assist others in the future
res
paul
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