Tryin to set up a new network in the current LAN..using secondary IP address..currently using glbp
so 172.20.255.17 would be the GW of the device in it.
From the WAN i can hit the gw ip addres and the real ip address on g0/0...but from the directly connected switch on g0/0 i can not.
ip address 192.168.120.1 255.255.255.0 secondary
ip address 172.20.255.18 255.255.255.248 secondary
ip address 192.168.119.246 255.255.255.0
glbp 1 ip 192.168.119.247
glbp 1 ip 172.20.255.17 secondary
glbp 1 weighting track 1 decrement 100
router1#sh cdp ne
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
switch1 Gig 0/0 148 R S I WS-C4006 Fas 2/1
swtich1# sh cdp neigh det
Device ID: XR1.IAD1
IP address: 192.168.119.246
IP address: 192.168.120.1
IP address: 172.20.255.18-----------------------------------------------new network
Platform: Cisco 3845, Capabilities: Router Switch IGMP
Interface: FastEthernet2/1, Port ID (outgoing port): GigabitEthernet0/0
switch1#sh run int fastethernet 2/1
switchport access vlan 119
qos trust dscp
so it looks like the switchport on the switch is configured as an accessport which is connected to the router..
is there any way to make this work without creating subinterfaces on the router gig port and trunking on the switch?