- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Routing between two subnets
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
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
11-01-2012 08:34 AM - edited 11-01-2012 08:36 AM
11-01-2012 08:34 AM - edited 11-01-2012 08:36 AM
Routing between two subnets
I have two HP layer 3 switches,
One with the config (SWITCH1):
ip routing
vlan 1
name "DATA"
untagged 1-7,9-24
ip address 192.168.200.78 255.255.255.0
no untagged 8
exit
vlan 2
name "WIRELESS"
untagged 8
ip address 192.168.210.254 255.255.255.0
exit
ip route 0.0.0.0 0.0.0.0 192.168.200.100
snmp-server community "public" unrestricted
no autorun
password manager
password operator
And the other with the config (SWITCH2):
ip routing
vlan 1
name "WIRELESS"
untagged 2-24
ip address 192.168.210.100 255.255.255.0
no untagged 1
exit
vlan 2
name "DATA"
untagged 1
ip address 192.168.200.64 255.255.255.0
exit
snmp-server community "public" unrestricted
no autorun
They are connected via port 8 on Switch1 and port 1 on Switch2.
When I try to ping anything in the 192.168.210.0/24 range from Switch1 I get no response and when I try to ping anything in the 192.168.200.0/24 range from Swtich2 I get no response.
This is the first time I've tried using switches to route between subnets and I don't know if I'm missing something fundamental.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2012 10:32 AM
11-01-2012 10:32 AM
Re: Routing between two subnets
This is now fixed, with some help from the Spiceworks community I was able to see that I'd switched the vlan IDs and not tagged the switch to switch ports properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2012 02:09 PM
11-01-2012 02:09 PM
Re: Routing between two subnets
I think also you are missing a default route on switch2.
K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2012 04:57 PM
11-01-2012 04:57 PM
Re: Routing between two subnets
I suggest also having some sort of fixed mapping of VLAN ids to subnet ids in your IP addressing scheme. This will help you a lot as your network grows. In my environment, i use a /16 for the whole network, and i use the VLAN id as the 3rd octet of the IP address, e.g. VLAN 200 == 172.16.200.0/24.
Paul