- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: Routing between VLAN's
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 05:45 AM
тАО03-03-2008 05:45 AM
Routing between VLAN's
I have an HP 5412zl switch. I want to set up a number of VLANS and route between them.
One VLAN has addresses of 10.1.0.1 and upwards.
The next has addresses of 10.1.4.1 and upwards.
The subnet mask is 255.255.252.0.
How can I set these up to allow communication between each other? Is my config OK for this? I cannot ping at all between then. I have IP routing enabled but that is about the level of my knowledge at the moment!
All help gratefully received, I am somewhat of a beginner!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 10:47 AM
тАО03-03-2008 10:47 AM
Re: Routing between VLAN's
with ip routing enabled and ip addr on the vlan interfaces for each subnet, you will have local routing and pinging between those subnets will work (as long as at least 1 port is active for any given vlan interface)...
hth...jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 10:55 AM
тАО03-03-2008 10:55 AM
Re: Routing between VLAN's
Indeed you are right, I had not assigned an address for each VLAN.
So thanks for that, however I now come across another problem. I have a NAT server for my internet, and although I can communicate with all VLANS, I cannot get out on the internet from anywhere but this box!
An example is one VLAN is on 10.1.4.1 with devices for e.g 10.1.4.2 etc. Another VLAN is on 10.1.7.1 etc
My NAT server is on 10.1.242.2, with the VLAN IP of 10.1.252.253.
All subnet masks are on 255.255.252.0
I added a static route by: ip route 0.0.0.0 0.0.0.0 10.1.242.253
Am I anywhere close?!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 11:06 AM
тАО03-03-2008 11:06 AM
Re: Routing between VLAN's
you are very close!!
you added the route to the nat box, now the nat box needs to know how to get back to the 5412...
you should be able to add a route statement to the nat box to point all the appropriate 10. addr back to the 5412 for the return path...
hth...jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 04:29 AM
тАО03-04-2008 04:29 AM
Re: Routing between VLAN's
Here is where Im at,
I have 7 VLANS, each with a subnet of 255.255.252.0.
I have a Windows 2000 server running NAT on my WAN VLAN on 10.1.254.254. My VLAN address for this is 10.1.252.1.
I have a Windows 2003 Server on 10.1.1.115 on the VLAN address 10.1.1.1 with subnets of 255.255.252.0. This server runs DNS.
I have another VLAN on 10.1.5.1 with a PC on 10.1.5.50. This PC can ping my server using its IP address, but cannot ping using the name, even though I have it as its primary DNS server.
I also cannot get onto the internet using any machine that is not on the 10.1.252.1 VLAN.
Maybe my static route is wrong, but Im not really sure what it should be.
I have a static route of 0.0.0.0 0.0.0.0 10.1.254.254
My default gateway on the switch is set to 10.1.254.254 (My NAT box) and each PC has the VLAN address set as its Gateway.
I have tried ip dns server-address priority 1 10.1.1.115 but to no avail.
I need to be able to resolve DNS names between my VLAN's and see the internet. I suspect I am not far off but just need a push in the right direction!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2008 12:26 AM
тАО03-05-2008 12:26 AM
Re: Routing between VLAN's
1) you said: I have a Windows 2000 server running NAT on my WAN VLAN on 10.1.254.254. My VLAN address for this is 10.1.252.1.
q - what is the def g/w for this srvr?
2) you said: I have a Windows 2003 Server on 10.1.1.115 on the VLAN address 10.1.1.1 with subnets of 255.255.252.0. This server runs DNS.
q - what is the def g/w for this srvr? it needs to be 10.1.1.1
3) you said: Maybe my static route is wrong, but Im not really sure what it should be.
I have a static route of 0.0.0.0 0.0.0.0 10.1.254.254
c - this should be correct, all nets that the 5412 doesn't know about should goto the nat box
4) you said: I also cannot get onto the internet using any machine that is not on the 10.1.252.1 VLAN.
q - what does the static route in the nat box look like? it needs to know about all your 10. nets, in some fashion, and how to get to them which is via 10.1.252.1
5) you said: My default gateway on the switch is set to 10.1.254.254 (My NAT box)
c - this config parm doesn't matter as its not used after a switch has the 'ip routing' command...this is left over from when the switch was a layer 2 function
i do believe its getting close...
cheers...jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2008 03:55 AM
тАО03-05-2008 03:55 AM
Re: Routing between VLAN's
Take a bow!
Thanks