Comware Based
1826452 Members
4079 Online
109692 Solutions
New Discussion

Re: 5130 JH325A Routing issues

 
SOLVED
Go to solution
pattap
Regular Advisor

5130 JH325A Routing issues

I'm already loosing my mind over this. Am I missing something stupid or that switch simply can't do it.

Switch in question HPE 5130 JH325A

I'm trying a simple setup with the below config 

vlan 200
#
vlan 300
#
dhcp server ip-pool test
 gateway-list 192.168.1.1
 network 192.168.1.0 mask 255.255.255.0
 address range 192.168.1.31 192.168.1.222
 dns-list 194.168.4.100 194.168.8.100
 domain-name test
#
interface Vlan-interface200
 description LAN
 ip address 192.168.1.1 255.255.255.0
 dhcp server apply ip-pool test
#
interface Vlan-interface300
 description WAN
 ip address 192.168.0.254 255.255.255.0
#
interface GigabitEthernet1/0/1
 port access vlan 200
 description client
#
interface Ten-GigabitEthernet1/0/25
 port access vlan 300
 description connection to internet GW
#
ip route-static 0.0.0.0 0 192.168.0.1

my client in vlan 200 gets IP address and all required details from the switch 

Connection-specific DNS Suffix  . : test
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (6) I219-LM
   Physical Address. . . . . . . . . : xxxxxxxxxx
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : xxxxxxxx (Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.31(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 23 October 2020 15:35:20
   Lease Expires . . . . . . . . . . : 24 October 2020 15:35:20
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : xxx
   DHCPv6 Client DUID. . . . . . . . : xxx
   DNS Servers . . . . . . . . . . . : 194.168.4.100
                                       194.168.8.100
   NetBIOS over Tcpip. . . . . . . . : Enabled

 I can ping anything on the internet from the switch. 

I can ping 192.168.1.1, 192.168.0.254 but I can't ping 192.168.0.1 from the client which is internet gateway 

 

3 REPLIES 3
Ivan_B
HPE Pro
Solution

Re: 5130 JH325A Routing issues

Hi @pattap !

Most probably your Internet gateway lacks the reverse route to the 192.168.1.0/24 with next-hop 192.168.0.254

 

 

I am an HPE employee

Accept or Kudo

pattap
Regular Advisor

Re: 5130 JH325A Routing issues

embarrassing but yes! It's been a long day 

Ivan_B
HPE Pro

Re: 5130 JH325A Routing issues

Great news, @pattap ! 

 

I am an HPE employee

Accept or Kudo