- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- A5210 - Routing between VLANs
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
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
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
04-23-2013 07:48 AM
04-23-2013 07:48 AM
A5210 - Routing between VLANs
Hi,
I'm having trouble getting machines talking to each other across VLANs on a HP A5120-24G EL switch. I've been over the manual several times but I think I must be miss-reading it (or just not understanding it).
Most of our servers (main gateway, dns, dhcp, etc) and internet connection are connected to a CISCO switch on a 172.16.0.0/16 network. I have linked the HP switch to the CISCO switch so that any machine plugged into a VLAN1 port on the HP switch can access all the servers and the internet.
The problem comes when adding a second VLAN. There is one server that has to be on its own network. My plan is to create a VLAN20 network on the HP switch running a 192.168.2.0/24 network, assign a port to VLAN20, plug the server into that port and then configure IP routing on the switch so that the server on VLAN20 can access the 172.16.0.0/16 network (and thus the internet as well). It would also need to be configured so that machines on the 172.16.0.0/16 network can communicate with the server on the 192.16.2.0/24 network.
Both VLAN1 and VLAN20 have a Vlan-interface on the switch
interface Vlan-interface1
ip address 172.16.0.5 255.255.0.0
undo dhcp select server global-pool
#
interface Vlan-interface20
ip address 192.168.2.5 255.255.255.0
I plugged a machine into the port for VLAN20, set the IP to 192.168.2.123/24 and the default gateway to 192.168.2.5. This allows it to see the switch (192.168.2.5). However, it can't see the 172.16.0.0/16 network (pings just time out). I had been led to believe that, as the two networks have a virtual interface on the switch, it would automatically route between them. Is that belief wrong?
- Tags:
- VLAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2013 09:15 AM
04-24-2013 09:15 AM
Re: A5210 - Routing between VLANs
Devices in 172.16.0.0/16 doesnt now how to find its way to 192.168.2.0/24. On whichever device is the default gw for devices in 172.16.0.0/16 you'll need to put a route showing that 192.168.2.0/24 is routed behind 172.16.0.5.
ip route 192.168.2.0 255.255.255.0 172.16.0.5, or similar depending on the device.
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2013 04:53 AM
04-27-2013 04:53 AM
Re: A5210 - Routing between VLANs
Thanks for the reply Fredrik.
The gateway we are currently using won't take static routes so I couldn't get VLAN1 talking to VLAN20.
As I was still unable to get the VLANs talking, I've cheated but plugging a VLAN20 port into an external CISCO gateway device and using that to get to the 172.16.0.0/16 network. Visibility is only one way (VLAN20 can see VLAN1 but not vice-versa). However, as there is only going to be one machine in VLAN20, that can be fixed with IP forwarding.