- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: 3500yl VLAN And Routing
Switches, Hubs, and Modems
1755763
Members
2733
Online
108838
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
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
тАО08-18-2006 01:55 AM
тАО08-18-2006 01:55 AM
3500yl VLAN And Routing
All, Please bear with me as I try to figure this one out. I have only dabbled in VLAN's, but now trying to test a scenario and can't seem to figure it out. Here is my current setup.
DATA Network
2 HP 4108's Subnet 192.168.30.0 255.255.254.0 GW(FW to internet 192.168.30.254)
VOIP Network
3 HP 3500yl's Subnet 192.168.40.0 255.255.255.0 (no gateway assigned yet)
Single cable on port 43 (3500 switch #3) connected to E7 (4108 switch #2)
DHCP Server on 192.168.30.0. DHCP Scope on standby to serve 192.168.40.0
Since my networks will tied together I have created a VLAN for the VOIP Network (VLAN ID 2) and moved all ports on each 3500yl to this VLAN. I assumed that I can keep the default_VLAN (ID 1) to setup my routing between the 3500 switches and the 4108's because there is no need for any VLAN'ing on the 4108's.
Most of the work I have done is on the last 3500yl in my network, assuming that I could tag both VLANS to port 43, and just enable ip routing, and dhcp-relay to pass the traffic back and forth. But I can't seem to get it working.
What I am missing here? Thanks for your help ahead of time!
DATA Network
2 HP 4108's Subnet 192.168.30.0 255.255.254.0 GW(FW to internet 192.168.30.254)
VOIP Network
3 HP 3500yl's Subnet 192.168.40.0 255.255.255.0 (no gateway assigned yet)
Single cable on port 43 (3500 switch #3) connected to E7 (4108 switch #2)
DHCP Server on 192.168.30.0. DHCP Scope on standby to serve 192.168.40.0
Since my networks will tied together I have created a VLAN for the VOIP Network (VLAN ID 2) and moved all ports on each 3500yl to this VLAN. I assumed that I can keep the default_VLAN (ID 1) to setup my routing between the 3500 switches and the 4108's because there is no need for any VLAN'ing on the 4108's.
Most of the work I have done is on the last 3500yl in my network, assuming that I could tag both VLANS to port 43, and just enable ip routing, and dhcp-relay to pass the traffic back and forth. But I can't seem to get it working.
What I am missing here? Thanks for your help ahead of time!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2006 05:42 AM
тАО08-18-2006 05:42 AM
Re: 3500yl VLAN And Routing
Hi
Assume that you have both vlans created on the 3500 switch #3, Vlan2(Voice)-192.168.40.0 and Vlan1(Data)-192.168.30.0 and enabled routing on this Switch, then UNTAG port 43 (3500 switch #3) that goes to E7 (4108 switch #2) with Vlan1
and on 4108 switch #2 just add this line :
4100(config)#ip default-gateway a.b.c.d (where a.b.c.d is the Vlan1 ip address on the 3500 switch#3).
and on the 3500 swithces add to Vlan2 this command:
3500(config)#vlan 2 ip helprer-address (DHCP server ip address) --- for each switch.
on 3500 #1 & #2 switches you have to add also
3500(config)#ip default-gateway a.b.c.d (where a.b.c.d is the Vlan1 ip address on the 3500 switch#3).
Now Routing is done on the 3500 swtich#3, and 4100 switches serve the data network and PCS get their IP addresses from the DHCP server, and Voice devices get their IP from DHCP also.
Now for internet connectivity, you can use a static route on the 3500#3 points to the Internet gateway/fw:
3500(config)#ip route 0.0.0.0 0.0.0.0 192.168.30.254
And on the FW to internet add a static route to serve vlan2 :
FW(config)#ip route 0.0.0.0 0.0.0.0 a.b.c.d (where a.b.c.d is the Vlan1 ip address on the 3500 switch#3).
Don't forget to assign points.
Good Luck !!!
Assume that you have both vlans created on the 3500 switch #3, Vlan2(Voice)-192.168.40.0 and Vlan1(Data)-192.168.30.0 and enabled routing on this Switch, then UNTAG port 43 (3500 switch #3) that goes to E7 (4108 switch #2) with Vlan1
and on 4108 switch #2 just add this line :
4100(config)#ip default-gateway a.b.c.d (where a.b.c.d is the Vlan1 ip address on the 3500 switch#3).
and on the 3500 swithces add to Vlan2 this command:
3500(config)#vlan 2 ip helprer-address (DHCP server ip address) --- for each switch.
on 3500 #1 & #2 switches you have to add also
3500(config)#ip default-gateway a.b.c.d (where a.b.c.d is the Vlan1 ip address on the 3500 switch#3).
Now Routing is done on the 3500 swtich#3, and 4100 switches serve the data network and PCS get their IP addresses from the DHCP server, and Voice devices get their IP from DHCP also.
Now for internet connectivity, you can use a static route on the 3500#3 points to the Internet gateway/fw:
3500(config)#ip route 0.0.0.0 0.0.0.0 192.168.30.254
And on the FW to internet add a static route to serve vlan2 :
FW(config)#ip route 0.0.0.0 0.0.0.0 a.b.c.d (where a.b.c.d is the Vlan1 ip address on the 3500 switch#3).
Don't forget to assign points.
Good Luck !!!
Science for Everyone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2006 09:06 AM
тАО08-18-2006 09:06 AM
Re: 3500yl VLAN And Routing
Ok. I have everything configured properly. A few questions though.
Each switch can ping address across each V-Lan. Should I be able to ping from a workstation on VLAN 1 to VLAN 2? My workstations don't need to see VLAN 2, but I will have some devices on VLAN 2 that will need to talk to VLAN2 and vice versa.
Regarding DHCP, my DHCP server IP is 192.168.30.201, but will handle two scopes. 192.168.30.x & 192.168.40.x. I'm I correct to assume that DHCP-Relay on the switches is enabled and I don't have to configure option 82? Or do I need to add another IP of 192.168.40.201 to the DHCP server for VLAN2. (Making my ip helper-address 192.168.40.201)
Almost there.
Thanks!
Each switch can ping address across each V-Lan. Should I be able to ping from a workstation on VLAN 1 to VLAN 2? My workstations don't need to see VLAN 2, but I will have some devices on VLAN 2 that will need to talk to VLAN2 and vice versa.
Regarding DHCP, my DHCP server IP is 192.168.30.201, but will handle two scopes. 192.168.30.x & 192.168.40.x. I'm I correct to assume that DHCP-Relay on the switches is enabled and I don't have to configure option 82? Or do I need to add another IP of 192.168.40.201 to the DHCP server for VLAN2. (Making my ip helper-address 192.168.40.201)
Almost there.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2006 03:47 PM
тАО08-18-2006 03:47 PM
Re: 3500yl VLAN And Routing
Hi
- If you want to prevent stations on vlan1 to access vlan2 except some of them, then you need to apply some Access Control Lists on the Routing switch 3500#3, like :
3500(config)# access list 102 permit ip any 192.168.30.254 -- allow internet
3500(config)# access list 101 permit ip any 192.168.30.xx -- allow DHCP
3500(config)# access list 101 permit ip any 192.168.30.yy -- allow Management1...
3500(config)# access list 101 deny ip 192.168.40.0 0.0.0.255 any -- deny vlan1
3500(config)# access list 101 permit ip any any -- aloow other traffic
3500(config)# vlan 2 ip access-group 102 in
now this will prevent vlan1 station from accessing vlan2 except, internet + dhcp and some other stations you need.
- For the DHCP, its correct, you add 2 Scopes, first one with subnet 192.168.30.0 255.255.254.0 and gateway (router option) is Vlan1 ip address of the routing swtich 3500#3.
Second one with subnet 192.168.40.0 255.255.255.0 and gateway (router option) is Vlan2 ip address of the routing swtich 3500#3.
Now enable ip helper address in each vlan (previous post), and thats it.
Assign points to posts that helped you is the way to say thanks :)
Good luck !!!
- If you want to prevent stations on vlan1 to access vlan2 except some of them, then you need to apply some Access Control Lists on the Routing switch 3500#3, like :
3500(config)# access list 102 permit ip any 192.168.30.254 -- allow internet
3500(config)# access list 101 permit ip any 192.168.30.xx -- allow DHCP
3500(config)# access list 101 permit ip any 192.168.30.yy -- allow Management1...
3500(config)# access list 101 deny ip 192.168.40.0 0.0.0.255 any -- deny vlan1
3500(config)# access list 101 permit ip any any -- aloow other traffic
3500(config)# vlan 2 ip access-group 102 in
now this will prevent vlan1 station from accessing vlan2 except, internet + dhcp and some other stations you need.
- For the DHCP, its correct, you add 2 Scopes, first one with subnet 192.168.30.0 255.255.254.0 and gateway (router option) is Vlan1 ip address of the routing swtich 3500#3.
Second one with subnet 192.168.40.0 255.255.255.0 and gateway (router option) is Vlan2 ip address of the routing swtich 3500#3.
Now enable ip helper address in each vlan (previous post), and thats it.
Assign points to posts that helped you is the way to say thanks :)
Good luck !!!
Science for Everyone
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