Switches, Hubs, and Modems
1752793 Members
6132 Online
108789 Solutions
New Discussion юеВ

Re: default gateway problem with vlan

 
SOLVED
Go to solution
Russ_57
Advisor

default gateway problem with vlan

Greetings all. Trying to setup my first vlan on 5308. Using subnetted class b. I am fortunate to have a lab to play with, so I have tried to copy my live environment. Created two vlans plus default. They route and pass dhcp ok, even attach to my test domain, but I can't get them to access the Internet. Also I can't get any vlan except the default to ping the firewall/router that is attached to the Internet. The dfgw on the default_vlan is 172.16.16.3; the address of the "firewall/router" is 172.16.16.1. I will attach my config file. Thanks in advance for any suggestions.
Russ
8 REPLIES 8
Jonathan Axford
Trusted Contributor

Re: default gateway problem with vlan

Hi Russ,

Which port is the firewall/router attached to? Is it attached directly to that switch or does it go through another device?
I am just looking at the way you have your VLAN tagging setup.
The main difference between the VLANS i can see is that port A4 is tagged in VLANs 100 and 200 but not in VLAN 1.


Where there is a will there is a way...
Russ_57
Advisor

Re: default gateway problem with vlan

The firewall/router is attached to a port in the default_vlan. Does it need to be on a tagged port?

Russ_57
Advisor

Re: default gateway problem with vlan

OK, I have tried putting the firewall on the tagged port..after tagging it on all vlan's. When configured this way even vlan1 (default_vlan)will not ping the firewall. If the firewall is connected to an untagged port on vlan1 it responds to ping but will not allow internet access. So I have removed all tagged ports in all vlans. Still 'stumped'. :(
Matt Hobbs
Honored Contributor
Solution

Re: default gateway problem with vlan

Hi Russ,

Try adding a default route:

ip route 0.0.0.0 0.0.0.0 172.16.16.1

This should allow VLAN 1 to get out to the Internet. For your other VLANs, you will need to configure the firewall/router to point back to the 5300xl.

e.g.
on the firewall:
ip route 172.16.48.0 255.255.240.0 172.16.16.3

As usual, don't forget to assign points to any replies you receive.
Russ_57
Advisor

Re: default gateway problem with vlan

Thanks Matt. It works great. Now I can start planning the "real" thing. By the way, can you point me to some HP manuals that contain info that might help me. I didn't "see" anything about that in the 5300 manual. Thanks again.
Russ
Matt Hobbs
Honored Contributor

Re: default gateway problem with vlan

The manuals mention default routes (Advanced Traffic Management Guide), but they don't really help with questions like this. They seem to assume a lot. What you've asked is a common question and all you need is a quick example and then it makes complete sense. Everyone goes through this at one point or another.

What has helped me in the past are the free training courses available at:

http://www.hp.com/rnd/training/tech_training.htm (IP Routing Foundations in particular)

And if you can get yourself on the Adaptive Edge Fundamentals course, and the Routing Switch Essentials, it should really help your general networking skills.

Adaptive Edge is more layer 2 based, but it's still an excellent course in my opinion.

While doing these courses you end up kicking yourself a few times as you learn things and think, if I only knew that before...
Russ_57
Advisor

Re: default gateway problem with vlan

Thanks Matt, I did take the AEF course, but let it get cold before I used it. I appreciate the course link, I'll definitly use it. I have taken some of the free on-line courses that HP offers and found them to be very helpful.

Russ_57
Advisor

Re: default gateway problem with vlan

Thanks for all the help.