- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- LAN Routing
- >
- Re: Connecting two LAN
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
07-07-2015 04:52 AM - edited 07-07-2015 06:20 AM
07-07-2015 04:52 AM - edited 07-07-2015 06:20 AM
Hi everyone,
I have to connect two LANs via an HP 1910-24g switch.
The LAN1 is 10.0.0.x/24, the LAN2 is 192.168.17.x/24. The ports 1-23 of the switch belong to LAN1, while port 24 belongs to LAN2.
Following the user guiede, I have created two VLANs and two VLAN interfaces (one for each LAN).
Each LAN has its own default gateway to access internet.
The switch auto discovered the routing table is the following:
Destination Mask Protocol Preference Next hop Interface
.....
10.0.0.0 255.255.225.0 Direct 0 10.0.0.235 Vlan-interface1
.....
192.168.17.0 255.255.225.0 Direct 0 192.168.17.235 Vlan-interface2
.....
(10.0.0.235 and 192.168.17.235 are the Vlan-interface1 and Vlan-interface2 IP address respctively)
From any 10.0.0.x device I can ping only 192.168.17.235 on the other LAN.
From any 192.168.17.x device I can ping only 10.0.0.235 on the other LAN.
I tried to ping another address from a LAN to the other with no success. Is there some other configuation options to set to let the networks work?
Many thanks
Francesco
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2015 08:05 AM
07-07-2015 08:05 AM
Re: Connecting two LAN
The symptoms you describe indicate that routing is not properly configured.
There are three options:
- The devices on your network should use the 1910 as their default gateway and the 1910 would have a default gateway for one of your internet routers. And then follow step two as well.
- If you keep your network devices pointed to your internet routers as their default gateway, you need to add static routes to your internet routers that point back to the 1910 for the remote subnet: on the 192.168.17.0 router set 10.0.0.0/24 to 192.168.17.235 and on the 10.0.0.0 router set 192.168.17.0/24 to 10.0.0.235.
- Add static routes on each device that point to the other subnet through the 1910. For example, on windows use the "route -p add 10.0.0.0 mask 255.255.255.0 192.168.17.235" or "route -p add 192.168.17.0 mask 255.255.255.0 10.0.0.235"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2015 04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2015 04:00 AM - edited 07-08-2015 04:00 AM
07-08-2015 04:00 AM - edited 07-08-2015 04:00 AM
Re: Connecting two LAN
Hi Vince,
# 4 is the solution!
Many thanks
Francesco