Jump to content

Recommended Posts

Posted (edited)

Hi All,

Now, I'm using the sw HP 2610-48 and have created 3 vlan on it.

- Default VLAN IP: 192.168.30.10 MS: 255.255.255.0

- VLAN 10 IP: 192.168.10.10 SM: 255.255.255.0

- VLAN 20 IP: 192.168.20.10 SM: 255.255.255.0

- DHCP Server IP: 192.168.30.7, created 3 scopes for 3 vlans and all the computers on each the vlan can be get the IP from the DHCP server.

- Firewall IP: 192.168.30.2 SM: 255.255.255.0

 

The problems:

I have inter-vlan routing turned on, each vlan is able to ping each other. But, only the devices connected to the default-vlan is able to ping the firewall and get onto the internet, VLAN 10, 20 cannot ping to the gateway and go to the internet.

I thinks the problems from my routing table. But, i don't know how to fix it.

Please help.

 

Switch configuration:

 

; J9088A Configuration Editor; Created on release #R.11.112

hostname "VLAN" 
ip default-gateway 192.168.30.2 
ip routing 
snmp-server community "public" Unrestricted 
vlan 1 
  name "DEFAULT_VLAN" 
  untagged 25-52 
  ip address 192.168.30.10 255.255.255.0 
  no untagged 1-24 
  exit 
vlan 10 
  name "VLAN_10" 
  untagged 1-12 
  ip address 192.168.10.10 255.255.255.0 
  ip helper-address 192.168.30.7 
  exit 
vlan 20 
  name "VLAN_20" 
  untagged 13-24 
  ip address 192.168.20.10 255.255.255.0 
  ip helper-address 192.168.30.7 
  exit 
ip route 0.0.0.0 0.0.0.0 192.168.30.2 

 

vlan.PNG

Edited by trannghia
Posted
You look good, have you put an ip route from the firewall back to the vLANS via the Switch 0 ????

 

i.e. 192.168.10.0 255.255.255.0 192.168.30.10

 

Thanks @Davit2005.

It has done :).

Last time, i config incorrect ip route on my firewall that why i cannot go to the internet :(.

Posted
Please get your switch to print out its routing table, by from telnet command line doing "show ip route". This should help see where packets are being directed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...