Hi group,
Got a something that I don't fully understand, hope someone can help me out.
I've got a VLAN with the address range (10.10.10.x) configured on a
Layer 3 switch. The switch is doing all the inter-vlan routing and it
works great however when I want to publish the connected networks via
Rip V2 to the rest of the network I run into issues.
I'm trying to publish the connected routes out a interface on vlan 1
that has the following ip address 192.168.1.x/22. No rip packets are
sent to the Vlan 1 network.
Example config snippet:
ip classless
!
interface vlan 10
ip address 10.10.10.x 255.255.255.0
!
interface vlan 1
ip address 192.168.1.x 255.255.255.252
!
router rip
Version 2
redistribute-connected
network 192.168.1.0
!
However as soon as I change the subnet mask to 24 bits or add the
following line to the Vlan 1 interface it works:
ip address 192.168.1.xx 255.255.255.0 secondary
This is the part I don't understand, why is Rip being sent out a
interface with a 24 bit subnet mask and not a 22. I would have thought
the ip classless command would have enabled this to work.
A bit stumped on this one, hope someone can enlighten me.
Thanks in advance.