- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- 2824 Routing
Switches, Hubs, and Modems
1753430
Members
4777
Online
108793
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-16-2006 07:58 AM
тАО11-16-2006 07:58 AM
Beginner's question:
The 2824 is currently just using one default VLAN for all ports.
If it has direct connections to a router and a firewall, can it route between them?
Can it route some network's packets to the router's port, and others to the firewall's port?
Would this require each port to be on a different VLAN with Routing enabled on the 2824?
Can you direct me to any examples.
Thanks.
The 2824 is currently just using one default VLAN for all ports.
If it has direct connections to a router and a firewall, can it route between them?
Can it route some network's packets to the router's port, and others to the firewall's port?
Would this require each port to be on a different VLAN with Routing enabled on the 2824?
Can you direct me to any examples.
Thanks.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2006 04:59 AM
тАО11-17-2006 04:59 AM
Solution
Hi
If your firewall and router on the same subnet, then you can't achieve that.
You need to have each one in a different Vlan, and then you can enable routing between these Vlans, and you can add some more static routes for more convenience.
Example:
Say you have your router with IP 192.168.1.x/24 range, and you connected the router to port 1, and firewall to port 2, and your firewall configured with 192.168.2.x/24 range, then:
1- Create another Vlan and assign an IP address for this vlan: (config)#vlan 2 ip add 192.168.2.x 255.255.255.0
2- Untag port 2 (fierwall) for Vlan2
(config)#vlan 2 untag 2
3- Enable ip routing: (config)#ip routing
Now you should be able to route between these 2 Vlans and ping both the firewall and the router.
Now if you want to specify which traffic to go to the router and which to go to the firewall then you need a policy based routing which is not available on this switch.
But say, the other firewall end connect to another network 10.1.1.x, and you want clients on both Vlans to reach it, then simple:
1- Add a static route on the switch:
ip route 10.1.1.0 255.255.255.0 192.168.2.xx (where 192.168.2.xx is the firewall IP)
2- Add a policy on the firewall to allow both 192.168.1.x and 2.x to go to 10.1.1.x
And if you have on the router's other interface another network and you want to be able to route to then add another static route:
ip route 172.16.1.x 255.255.255.0 192.168.1.xx (where 192.168.1.xx if the router ip address).
and if you have internet on the router, or the firewall then add the default route:
ip route 0.0.0.0 0.0.0.0.
Good Luck !!!
If your firewall and router on the same subnet, then you can't achieve that.
You need to have each one in a different Vlan, and then you can enable routing between these Vlans, and you can add some more static routes for more convenience.
Example:
Say you have your router with IP 192.168.1.x/24 range, and you connected the router to port 1, and firewall to port 2, and your firewall configured with 192.168.2.x/24 range, then:
1- Create another Vlan and assign an IP address for this vlan: (config)#vlan 2 ip add 192.168.2.x 255.255.255.0
2- Untag port 2 (fierwall) for Vlan2
(config)#vlan 2 untag 2
3- Enable ip routing: (config)#ip routing
Now you should be able to route between these 2 Vlans and ping both the firewall and the router.
Now if you want to specify which traffic to go to the router and which to go to the firewall then you need a policy based routing which is not available on this switch.
But say, the other firewall end connect to another network 10.1.1.x, and you want clients on both Vlans to reach it, then simple:
1- Add a static route on the switch:
ip route 10.1.1.0 255.255.255.0 192.168.2.xx (where 192.168.2.xx is the firewall IP)
2- Add a policy on the firewall to allow both 192.168.1.x and 2.x to go to 10.1.1.x
And if you have on the router's other interface another network and you want to be able to route to then add another static route:
ip route 172.16.1.x 255.255.255.0 192.168.1.xx (where 192.168.1.xx if the router ip address).
and if you have internet on the router, or the firewall then add the default route:
ip route 0.0.0.0 0.0.0.0
Good Luck !!!
Science for Everyone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2006 06:57 AM
тАО11-17-2006 06:57 AM
Re: 2824 Routing
Thanks so much for your response.
I'll give it a try.
I'll give it a try.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP