09-21-2006 06:28 PM - edited 03-03-2019 05:10 AM
Hello I need some clarification with L3 switching.
Toplogy |swA3500|---|swB3500|---|swC3500|
swA gig0/2 192.168.0.1/24
swB gig0/1 192.168.0.2/24
swB gig0/2 192.168.1.1/24
swC gig0/1 192.168.1.2/24
I would like to use eigrp so I use no switchport on the interfaces assign the ip. But after enabling routing I get neighbor In wrong subnet error. Any clue?
my objective is to get all the vlans to be able to communicate between switches.I used default route that worked but I want to use a dynamic routing for my own learning purposes.
thanks
09-21-2006 11:23 PM
In your scenario, you have a layer 3 division between your switches.
Switch A will know about all the VLAN subnets configured on it as well as the network link between the switches.
Switch B on the other hand will know about the subnets configured on it plus the link subnet. For reachability between all the subnets you need to run either a dynamic routing protocol (EIGRP,OSPF) or statically point routes for the subnets pointing to the correct layer3
HTH
NArayan
09-21-2006 11:46 PM
Hello,
make sure your configurations looks like this:
swA3500
!
ip routing
!
ip subnet-zero
!
interface GigabitEthernet0/2
no switchport
ip address 192.168.0.1 255.255.255.0
!
router eigrp 1
network 192.168.0.1 0.0.0.0
no auto-summary
swB3500
!
ip routing
!
ip subnet-zero
!
interface GigabitEthernet0/1
no switchport
ip address 192.168.0.2 255.255.255.0
!
interface GigabitEthernet0/2
no switchport
ip address 192.168.1.1 255.255.255.0
!
router eigrp 1
network 192.168.0.2 0.0.0.0
network 192.168.1.1 0.0.0.0
no auto-summary
swC3500
!
ip routing
!
interface GigabitEthernet0/1
no switchport
ip address 192.168.1.2 255.255.255.0
!
router eigrp 1
network 192.168.1.2 0.0.0.0
no auto-summary
Make sure that you use the 'ip subnet-zero' command on your switches A and B (since you are using network 192.168.0.0/24)...
Regards,
GNT
09-22-2006 05:44 PM
Thanks for help I'll give it a try, i'll let you know what happens
09-22-2006 06:37 PM
Hello
Tried what you told me but nothing, I get the same error
swC"ip eigrp neighbor 192.168.0.2 not on common subnet for gig0/1
swB ip eigrp neighbor 192.168.1.2 not on common subnet for gig0/1
Odd not sure what the problem could be, maybe redundancy is causing some sort of problem (though I shutdown all the redundant ports),
Or maybe a gbic problem (if I'm correct if you use all gbic ports it becomes half duplex)
(I tried fast Ethernet ports and got rid of the problem) so it something with gbic
09-22-2006 10:40 PM
can you juz post the configuration based on that will decide.
09-22-2006 11:37 PM
Pls do following and check-
In switch a-in place of
Network 192.168.0.1 0.0.0.0
Give
Network 192.168.0.0
Similarly ?
In switch B give ?
Network 192.168.0.0
Network 192.168.1.0
in switch C give ?
Network 192.168.1.0
And revert what happened-.
09-23-2006 04:05 AM
Looks like your connecting links between the switches is in 2 different address ranges and that is what it is complaining about ,on one end you have 192.168.0.2 /24 address and the other is 192.168.1.0/24 address , can't do this , change one end or the other so that they are both in the same subnet range.
09-23-2006 04:21 AM
EIGRP requires source primary ips to be on same subnet on both ends. Thus, if u define
network 192.168.0 on sw a and b
network 192.168.1 on sw b and c
i think it would work.
For more info:
keep me posted.
Thanks
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: