- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- L2 switch multiple vlan ip assign
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
12-25-2013 06:16 AM
12-25-2013 06:16 AM
L2 switch multiple vlan ip assign
Hi,
I have HP 2510-48 port switch.
I have configured dot1x on my hp switch. I want to configure Vlan 10 & Vlan 172 with IP range 1) 10.0.0.0 2) 172.16.0.0
I am able to create vlan but could not assign IP address to vlan.
Kindly guide me to assign IP address to Vlan
Thanks in advance..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2013 08:43 AM
12-27-2013 08:43 AM
Re: L2 switch multiple vlan ip assign
The command is simple:
switch(config)#vlan 10 ip address 10.10.10.x/bits (for example 10.10.10.1/24)
All this kind of info is explained in the manuals, available at http://h20566.www2.hp.com/portal/site/hpsc/public/psi/manualsResults/?sp4ts.oid=3356807
HTH,
Arimo
HPE Networking Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2013 08:52 AM
12-27-2013 08:52 AM
Re: L2 switch multiple vlan ip assign
Hi
Assigning IP address to a VLAN is very simple.
This are the commands in the CLI to assign IP address 10.0.0.1/24 to VLAN 10.
config
vlan 10 ip address 10.0.0.1/24
write memory
You can use the Tab key or the ? character to explore the options of the CLI.
I dont know what is the intention of this configuration. But you should keep in mind some things about VLAN IP interface on this switch.
This is a layer 2 switch, so it basicaly needs only one IP address for management purposes.
Even if you configure IP addresses in all VLANs and configure this addresses as default gateway on the clients, the switch will not route the traffic.
There is no requirement for a layer 2 switch to have an IP address in the ip range of the hosts belonging to the respective VLAN as long as the switch has layer 2 connectivity with the default gataway