05-18-2017 05:04 PM - edited 03-08-2019 10:38 AM
I am trying to configure two subinterfaces on gigabitethernet0/1 on a Cisco 1910 router which is connected to an HP Procurve 2810 switch. However, once I configure the two sub interfaces, no traffic will pass from either "sub" network to the router. The two subinterfaces are gigabitethernet0/1.1 (ip address 172.16.96.2 255.255.240.0) and gigabitethernet0/1.2 (ip address 192.168.20.2 255.255.255.0). When I connect a host to the switch with the ip address of 172.16.96.3, I can not even ping 172.16.96.2. However, if I remove the two sub interfaces and configure gigabitethernet0/1 with an ip address 172.16.96.2 255.255.240.0, everything works great.
Here is a copy of the running-config on the Cisco 1921:
Current configuration : 2010 bytes
!
! Last configuration change at 19:07:06 pacific Fri Mar 9 1900
!
version 15.5
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname XXXXXXXXXX
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 XXXXXXXXXXXXXXXXXXXXX
enable password 7 XXXXXXXXXXXXXXXXXXXX
!
no aaa new-model
ethernet lmi ce
no process cpu extended history
no process cpu autoprofile hog
clock timezone pacific -8 0
clock summer-time PDT recurring
!
!
!
!
!
!
no ip source-route
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1921/K9 sn FTX154681DF
!
!
!
redundancy
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 192.168.1.254 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
ip helper-address 172.16.96.5
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
encapsulation dot1Q 30
ip address 172.16.96.2 255.255.240.0
!
interface GigabitEthernet0/1.2
encapsulation dot1Q 20
ip address 192.168.20.2 255.255.255.0
!
interface Serial0/0/0
ip address 192.168.100.2 255.255.255.252
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 172.16.64.0 255.255.240.0 192.168.1.1
!
no service-routing capabilities-manager
!
!
snmp-server community WFFRead RO
snmp-server community DSIRead RO
snmp-server enable traps tty
access-list 100 permit ip any any
access-list 144 permit icmp host 172.16.96.3 host 172.16.96.2
access-list 144 permit icmp host 172.16.96.2 host 172.16.96.3
!
control-plane
!
!
!
line con 0
exec-timeout 0 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 XXXXXXXXXXXXXXXXXXX
login
transport input all
!
scheduler allocate 20000 1000
ntp server 192.5.41.40
!
end
Here is the configuration of the HP Procurve switch:
; J9021A Configuration Editor; Created on release #N.11.75
hostname "Sterling SW1 ProCurve2810"
time timezone -480
no web-management
no telnet-server
ip default-gateway 172.16.96.2
sntp server 192.43.244.18
timesync sntp
sntp unicast
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-24
ip address 172.16.16.70 255.255.240.0
exit
vlan 20
name "192.168.20"
ip address 192.168.20.55 255.255.255.0
tagged 1-24
exit
vlan 30
name "172.16.96"
ip address 172.16.96.55 255.255.240.0
tagged 1-24
exit
ip ssh
password manager
Thanks in advance for any help you can provide.
Solved! Go to Solution.
05-18-2017 11:41 PM
Please make sure that port is configured as trunk on HP switch.
Thanks
Hitesh
05-18-2017 05:46 PM
I am not an expert on the Procurve switch but it seems to me that it is not right to have
vlan 1
untagged 1-24
vlan 20
tagged 1-24
vlan 30
tagged 1-24
HTH
Rick
05-23-2017 05:42 PM
Richard:
Thanks for taking the time to respond to my post. Your response helped me go in the right direction (setting the switch port connected to the router as "tagged" (HP switch lingo for Cisco router "Trunk").
David
05-24-2017 06:43 AM
David
I am glad that my suggestion helped point you in the right direction.
HTH
Rick
05-18-2017 11:41 PM
Please make sure that port is configured as trunk on HP switch.
Thanks
Hitesh
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