Switches, Hubs, and Modems
1748073 Members
5040 Online
108758 Solutions
New Discussion юеВ

Inter Vlan Layer 3 Routing on 5400

 
SOLVED
Go to solution
Himanshu
Occasional Advisor

Inter Vlan Layer 3 Routing on 5400

Hi I have a very basic setup of 5400 Switch here is a config :

; J8697A Configuration Editor; Created on release #K.13.09

hostname "ProCurve Switch 5406zl"
module 1 type J8702A
module 2 type J8702A
module 3 type J8702A
module 4 type J8702A
module 5 type J8702A
trunk E23-E24 Trk1 LACP
trunk E21-E22 Trk2 LACP
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged E1-E6
no untagged A1-A24,B1-B24,C1-C24,D1-D24,E7-E20,Trk1-Trk2
no ip address
exit
vlan 100
name "Primary Server & Management Vlan"
untagged A1-A24,B1-B24,C1-C24,D1-D24
ip address 10.1.100.61 255.255.255.0
exit
vlan 101
name "Desktop Vlan"
untagged E7-E20,Trk1-Trk2
ip helper-address 10.1.100.11
ip address 10.1.101.254 255.255.255.0
exit
no ip ssh
ip route 0.0.0.0 0.0.0.0 10.1.100.254
spanning-tree Trk1 priority 4
spanning-tree Trk2 priority 4
primary-vlan 100
management-vlan 100
password manager
password operator


I have two simple VLAN 100 and 101. I connected 2 pc . one in VLAN 100 with static ip 10.1.100.11/24 and gateway 10.1.100.61 and other one on vlan 101 with ip 10.1.101.51/24 gateway 10.1.101.254. I can ping respective gateway from both the pcs. My Switch can ping both PCs. Switch can ping everything. But PC 1 can not ping to PC 2 and vice versa. There is no firewall running on any pc.
Here is a Show ip route display.
show ip route

IP Route Entries

Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 10.1.100.254 100 static 1 1
10.1.100.0/24 Primary Serv... 100 connected 1 0
10.1.101.0/24 Desktop Vlan 101 connected 1 0
127.0.0.0/8 reject static 0 0
127.0.0.1/32 lo0 connected 1 0

Any clue why PC 1 can not ping PC2 ?

Any help is much appreciated .

Thx

5 REPLIES 5
cenk sasmaztin
Honored Contributor
Solution

Re: Inter Vlan Layer 3 Routing on 5400

hi....
you make vlan 100 managemet vlan
management vlan can't routing
please you write above config

(config)#managemet-vlan 1

good luck......
cenk

Himanshu
Occasional Advisor

Re: Inter Vlan Layer 3 Routing on 5400

Hi thanks ,
SO I removed management vlan 100 from config. (No management vlan 100) now My PC from VLAN 101 can ping PC of VLAN 100 BUT I have one problem. I put DHCP server on 10.1.100.11 on vlan 100 with scope 10.1.101.101- 150 /24 with gateway 10.1.101.254 (Vlan ip of vlan 101) I am not able to receive dhcp on vlan 101 . I can see on DHCP server that ip has been issued to MAC address of pc on vlan 101 but somehow those PCs on vlan 101 can not receive any dhcp ip. But if I give any static ip (10.1.101.101/24 with gateway 10.1.101.254 ) they work ok. Somehow DHCP response is not showing up on vlan 101 . I have correct helper address configured there. also on dhcp I can see ip has been given to those vlan101 pcs.

Any help is appreciated Sir.
Mohieddin Kharnoub
Honored Contributor

Re: Inter Vlan Layer 3 Routing on 5400

Hi

Make sure your DHCP Server has a Gateway:10.1.100.61

Then assign a static IP to one PC in Vlan101, and try from that PC to ping the DHCP server.

When its ok, they you can try to restart the DHCP service and test again.

Good Luck !!!
Science for Everyone
Himanshu
Occasional Advisor

Re: Inter Vlan Layer 3 Routing on 5400

Hi ,

I already tried that. Its not working. When I do static IP it works but DHCP can not be obtained on vlan 101. Infact on dhcp logs I can see ip address being negotiated and issued to mac address of pc on vlan 101 but some how no pc on vlan 101 can receive any ip. Please help.
Mohieddin Kharnoub
Honored Contributor

Re: Inter Vlan Layer 3 Routing on 5400

Hi

Check if you have other DHCP service running in Vlan100.

Also i advice you to attach the logs here, and if possible the DHCP scope configuration with the DHCP server IP config.

Good Luck !!!
Science for Everyone