- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: Default VLAN ip address
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
Forums
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
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
тАО03-30-2007 02:43 AM
тАО03-30-2007 02:43 AM
Default VLAN ip address
I have 4 2848's, each with their own IP addys. At the time the switches were installed we had no need for VLANs so none were created besides the DEFAULT. Since then I've had the need to create several VLANS. I did this with PCM, defined the VLANS on one switch and then used Add to VLAN to extend the VLANs to the other switches. When I look in the config for each switch, they've each assigned their IP addy to the DEFAULT VLAN but VLAN 9 has only the one IP I assigned it.
My question is this, can I define the DEFAULT VLAN with only 1 IP addy, like VLAN 9, and then change the configs in the other switches to show 'no ip address' for the DEFAULT VLAN? In essence define the DEFAULT VLAN like VLAN 9 is defined?
Here's the section of the config from two of the switches:
Switch 1
vlan 1
name "DEFAULT_VLAN"
untagged 1-35,Trk1,Trk3-Trk5
ip address 10.1.0.2 255.255.0.0
ip proxy-arp
ip igmp high-priority-forward
exit
vlan 9
name "vlan-9"
untagged 36-38
tagged Trk3-Trk5
ip address 192.168.9.1 255.255.255.0
ip proxy-arp
ip igmp high-priority-forward
exit
Switch 2
vlan 1
name "DEFAULT_VLAN"
untagged 1-35,Trk1,Trk3-Trk5
ip address 10.1.0.3 255.255.0.0
ip proxy-arp
ip igmp high-priority-forward
exit
vlan 9
name "vlan-9"
no ip address
untagged 36-38
tagged Trk3-Trk5
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 06:34 AM
тАО03-30-2007 06:34 AM
Re: Default VLAN ip address
You can can multiple Vlans on all the Switches, and one Switch has IP Routing Enabled.
On that Switch, assign an IP address for each Vlan.
And on other switches, assign an IP address only for the Management or Default Vlan, that IP is for managing the switch.
So one the Routing Switch, IP for each Vlan, and on other switches, one IP for the default Vlan.
You can also have one IP address per Stack, if you are stacking a group of switches.
Good Luck !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2007 08:18 AM
тАО03-30-2007 08:18 AM
Re: Default VLAN ip address
I'm assuming then that the DEFAULT_VLAN can't route ip through the switches since the default gateway seems to be undefined or undefinable, unless, of course, I use an external router.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2007 06:24 PM
тАО04-02-2007 06:24 PM
Re: Default VLAN ip address
Telnet your switch on VLAN1. Create IP address on vlan 9. Since you telnet from the same subnet as the vlan1 address, you can safely add a default gateway. Log out and telnet back in on the newly assigned address, either from your default gateway or from anything connected to it, to remove the old address. ("management-vlan" ensures that you are unable to route between this vlan and any other vlans.)
Something like this maybe:
telnet 10.1.0.x
(password)
enable
(password)
conf t
vlan 9
ip add 192.168.9.x 255.255.255.0
exit
ip default-gateway 192.168.9.1
management-vlan 9
logout
telnet 192.168.9.x
(password)
enable
(password)
conf t
vlan 1
no ip address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 04:26 AM
тАО04-04-2007 04:26 AM
Re: Default VLAN ip address
DEFAULT-VLAN
- takes the ip address of each switch
- has a different ip address on each switch
- cannot route ip without external router
Other VLANS
- ip address defined on one switch
- has a single ip address across all switches
- can route ip using switch engine