I have a config that I am trying to bring up, and in my mind it should work, but perhaps I am missing something.
The idea is that one end of the link is a layer 3 interface on a router. The other end is a switchport trunk, on a vlan with an IP interface. They should be able to communicate, no?
RTR1
Interface 0/1
ip address 192.168.50.10 255.255.255.0
SW1 - Layer 3 switch
Interface 1/0/10
# switchport
# switchport mode trunk
# switchport trunk allowed vlan 50
vlan 50
# name test vlan
Interface vlan 50
* ip address 192.168.50.20 255.255.255.0*
There are no gateways configured on either devices, but that should not matter? All I am trying to do is reach them directly.
# ping 192.168.50.20 source int0/1
or
# ping 192.168.50.10 source vlan 50
neither works. The physical connection is good because both devices see each other as CDP neighbors. The Interfaces are both up/up, vlan 50 interface is up. The subnet is in each device's routing table, as directly connected.
Any help would be appreciated. Am i missing something?
thank you