HPE GreenLake Administration
- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- New Vlan/Subnet Setup Help
Switches, Hubs, and Modems
1827680
Members
3303
Online
109967
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
Forums
Discussions
Discussions
Discussions
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
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
06-08-2010 05:01 PM
06-08-2010 05:01 PM
New Vlan/Subnet Setup Help
Hey guys,
Heres an overview of what the IT manager wants implemented..
Currently I every PC/Server/Switch runs of the same subnet of 192.168.1.x.
We have a new server for Programmers and IT department and this is what the manager wants it setup...
The new server has a 4port nic, hes wants a 2ports in a lag to connect to the 192.168.1.x subnet.
He then wants the other 2port lag to run into the HP 4104gl switch in my room on a 192.168.2.x subnet. ( I will run a DHCP server on the server to issue IP's in the 192.168.2.x subnet accordingly)
I will then run a trunk link from the Helpdesk room who uses a HP 2524 and a Programmers room that also has a 4104gl into the 4104gl in my room.
Now my questions are:-
1. I need personally need to be on the 192.168.1.x subnet. Therefore I must need to run a Vlan's on my switch. Therefore how do I go about setting say module A to be on the 192.168.1.x subnet and module B being on the 192.168.2.x subnet?
2. The catch is the programmers and Helpdesk will still need access to the 192.168.1.x subnet as that where the mail server and what not reside. So how do I make sure that they have access to them?
Thanks so much in advance
Heres an overview of what the IT manager wants implemented..
Currently I every PC/Server/Switch runs of the same subnet of 192.168.1.x.
We have a new server for Programmers and IT department and this is what the manager wants it setup...
The new server has a 4port nic, hes wants a 2ports in a lag to connect to the 192.168.1.x subnet.
He then wants the other 2port lag to run into the HP 4104gl switch in my room on a 192.168.2.x subnet. ( I will run a DHCP server on the server to issue IP's in the 192.168.2.x subnet accordingly)
I will then run a trunk link from the Helpdesk room who uses a HP 2524 and a Programmers room that also has a 4104gl into the 4104gl in my room.
Now my questions are:-
1. I need personally need to be on the 192.168.1.x subnet. Therefore I must need to run a Vlan's on my switch. Therefore how do I go about setting say module A to be on the 192.168.1.x subnet and module B being on the 192.168.2.x subnet?
2. The catch is the programmers and Helpdesk will still need access to the 192.168.1.x subnet as that where the mail server and what not reside. So how do I make sure that they have access to them?
Thanks so much in advance
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 12:10 PM
06-10-2010 12:10 PM
Re: New Vlan/Subnet Setup Help
Hey Dursh,
Since no one has posted anything ill see if I can be of some assistance.
1. Yes you will need to add a second Vlan for your 192.168.2.x subnet. To configure each module for one Vlan you would do the following:
Create the vlan in configuration mode:
Switch#configure terminal
Switch(config)#vlan 10
switch(vlan-10)#name XXXXX (optional if you want to name the vlan something)
Switch(vlan-10)#ip address 192.168.2.252 255.255.255.0
switch(vlan-10)#untagged b1-b22 (I would Leave b23-b24 for a trunk to one of the other switches)
All the ports in Module A should already be members of the default Vlan-1 so you don't need to do anything with these.
2.I'm guessing everyone will be a native member of the 192.168.1.x subnet? So you will need to either you an external router or one of your switches to route between the vlans. I would suggest you use your switch; to enable routing type the following at the switch configure prompt:
Switch(config)#ip routing
Users on the 192.168.1.x (vlan 1) should now be able to access devices on the 192.168.2.x subnet (vlan 10)
I did not mention creating trunks to the server or to the other switches let me know if you need help with these as well.
Regards,
Since no one has posted anything ill see if I can be of some assistance.
1. Yes you will need to add a second Vlan for your 192.168.2.x subnet. To configure each module for one Vlan you would do the following:
Create the vlan in configuration mode:
Switch#configure terminal
Switch(config)#vlan 10
switch(vlan-10)#name XXXXX (optional if you want to name the vlan something)
Switch(vlan-10)#ip address 192.168.2.252 255.255.255.0
switch(vlan-10)#untagged b1-b22 (I would Leave b23-b24 for a trunk to one of the other switches)
All the ports in Module A should already be members of the default Vlan-1 so you don't need to do anything with these.
2.I'm guessing everyone will be a native member of the 192.168.1.x subnet? So you will need to either you an external router or one of your switches to route between the vlans. I would suggest you use your switch; to enable routing type the following at the switch configure prompt:
Switch(config)#ip routing
Users on the 192.168.1.x (vlan 1) should now be able to access devices on the 192.168.2.x subnet (vlan 10)
I did not mention creating trunks to the server or to the other switches let me know if you need help with these as well.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2010 12:32 PM
06-10-2010 12:32 PM
Re: New Vlan/Subnet Setup Help
Sorry I need to add to the routing configuration.
If you don't already have an ip address assigned to your default vlan (vlan 1) then you will need to add one so the switch creates the route.
Swich(config)#vlan 1
Switch(config)#ip address 192.168.1.252 255.255.255.0
switch(config)#exit
you will need to ensure members of vlan1 use 192.168.1.252 as their default gateway and members of vlan 10 use 192.168.2.252 as there default gateway.
You will then also need to make a default route directing all other traffic to your firewall/router/ISP modem so that clients still have access to the internet.
switch(config)#ip route 0.0.0.0 0.0.0.0 x.x.x.x (x = The ip address of your firewall/router/ISP modem.)
Depending on what other devices you have in your network it might be easier to let your firewall or router (if you have one handle the routing) as you might already have all your clients setup with this as your default gateway.
You will then need to configure what is call a "Router on a stick" configuration.
Regards,
If you don't already have an ip address assigned to your default vlan (vlan 1) then you will need to add one so the switch creates the route.
Swich(config)#vlan 1
Switch(config)#ip address 192.168.1.252 255.255.255.0
switch(config)#exit
you will need to ensure members of vlan1 use 192.168.1.252 as their default gateway and members of vlan 10 use 192.168.2.252 as there default gateway.
You will then also need to make a default route directing all other traffic to your firewall/router/ISP modem so that clients still have access to the internet.
switch(config)#ip route 0.0.0.0 0.0.0.0 x.x.x.x (x = The ip address of your firewall/router/ISP modem.)
Depending on what other devices you have in your network it might be easier to let your firewall or router (if you have one handle the routing) as you might already have all your clients setup with this as your default gateway.
You will then need to configure what is call a "Router on a stick" configuration.
Regards,
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP