Unsolved

This post is more than 5 years old

52 Posts

86577

April 11th, 2007 18:00

Can't add ip address to vlan 1.

I am trying to add an ip address to vlan 1 on my 6248 switch. When I enter the following I get and error: L3_Core(config-if-vlan1)#ip address 192.168.31.1 /24 ERROR: Cannot delete Management VLAN ID

909 Posts

April 11th, 2007 21:00

The 62xx switch is a layer 3 switch and handles management slightly different from the other PowerConnect switches.
 
When routing is not enabled, the management IP address and management vlan can only be used to manage the swtich.  When routing is enabled, any vlan nterface can be used to manage the switch and the management vlan is not routable.
 
Post your config and describe what you are doing and we can help you.

52 Posts

April 12th, 2007 11:00

I don't have access to the switch at this moment to get the config, but I do have several areas of confusion.
 
- Switch can be managed from any vlan interface?
       a. Routing is enabled on my switch. I currently have VLAN1(default) assigned to port 48, VLAN2 has ports 5-47, and VLAN 3 has ports 1-4.
       b. Is the VLAN's default gateway the same an the vlan ip address? ie. vlan 2's gateway ip for  is 192.168.32.1, vlan3's is 192.168.33.1
       c. If the above is true, are you saying that I can put in one of the above ip's and access the web interface of the switch or telnet to it?
       d. If this is not the case, is the management interface ip address accessible from another vlan?
 

909 Posts

April 12th, 2007 13:00

a. are you sure?  please post your config
b. no.  If you are using this switch as a router, then clients connected to this switch would have this switch's applicable IP address as their default gateway
c.yes.  As long as the client you are using has the correct network configuration.  (i.e. a route to the switch).  Please post the ourtput of the DOS command 'c:\ ipconfig' from you client machine.
d. yes.  As long as the client you are using has the correct network configuration.
 
 

52 Posts

April 12th, 2007 20:00

Here is my config. It is somewhat long:
 
!System Description "Dell PowerConnect"
!System Software Version 1.0.0.27
!
configure
gvrp enable
vlan database
vlan 2-3
exit
hostname "L3_Core"
stack
member 1 2
exit
ip address 192.168.31.10 255.255.255.0
ip default-gateway 192.168.31.1
interface vlan 2
name "DATA"
routing
ip address  192.168.32.10  255.255.255.0
ip rip
ip irdp
--More-- or (q)uit
exit
interface vlan 3
name "VOIP"
routing
ip address  192.168.33.1  255.255.255.0
ip rip
ip irdp
exit
ip routing
router rip
no enable
distance rip 5
default-metric 1
exit
username "superman" password 88bd7f3f7144dc842b999f87ed849937 level 15 encrypted
!
interface ethernet 1/g1
switchport access vlan 3
exit
!
interface ethernet 1/g2
--More-- or (q)uit
switchport access vlan 3
exit
!
interface ethernet 1/g3
switchport access vlan 3
exit
!
interface ethernet 1/g4
switchport access vlan 3
exit
!
interface ethernet 1/g5
switchport access vlan 2
exit
!
interface ethernet 1/g6
switchport access vlan 2
exit
!
interface ethernet 1/g7
switchport access vlan 2
--More-- or (q)uit
exit
!
interface ethernet 1/g8
switchport access vlan 2
exit
!
interface ethernet 1/g9
switchport access vlan 2
exit
!
interface ethernet 1/g10
switchport access vlan 2
exit
!
interface ethernet 1/g11
switchport access vlan 2
exit
!
interface ethernet 1/g12
switchport access vlan 2
exit
--More-- or (q)uit
!
interface ethernet 1/g13
switchport access vlan 2
exit
!
interface ethernet 1/g14
switchport access vlan 2
exit
!
interface ethernet 1/g15
switchport access vlan 2
exit
!
interface ethernet 1/g16
switchport access vlan 2
exit
!
interface ethernet 1/g17
switchport access vlan 2
exit
!
--More-- or (q)uit
interface ethernet 1/g18
switchport access vlan 2
exit
!
interface ethernet 1/g19
switchport access vlan 2
exit
!
interface ethernet 1/g20
switchport access vlan 2
exit
!
interface ethernet 1/g21
switchport access vlan 2
exit
!
interface ethernet 1/g22
switchport access vlan 2
exit
!
interface ethernet 1/g23
--More-- or (q)uit
switchport access vlan 2
exit
!
interface ethernet 1/g24
switchport access vlan 2
exit
!
interface ethernet 1/g25
switchport access vlan 2
exit
!
interface ethernet 1/g26
switchport access vlan 2
exit
!
interface ethernet 1/g27
switchport access vlan 2
exit
!
interface ethernet 1/g28
switchport access vlan 2
--More-- or (q)uit
exit
!
interface ethernet 1/g29
switchport access vlan 2
exit
!
interface ethernet 1/g30
switchport access vlan 2
exit
!
interface ethernet 1/g31
switchport access vlan 2
exit
!
interface ethernet 1/g32
switchport access vlan 2
exit
!
interface ethernet 1/g33
switchport access vlan 2
exit
--More-- or (q)uit
!
interface ethernet 1/g34
switchport access vlan 2
exit
!
interface ethernet 1/g35
switchport access vlan 2
exit
!
interface ethernet 1/g36
switchport access vlan 2
exit
!
interface ethernet 1/g37
switchport access vlan 2
exit
!
interface ethernet 1/g38
switchport access vlan 2
exit
!
--More-- or (q)uit
interface ethernet 1/g39
switchport access vlan 2
exit
!
interface ethernet 1/g40
switchport access vlan 2
exit
!
interface ethernet 1/g41
switchport access vlan 2
exit
!
interface ethernet 1/g42
switchport access vlan 2
exit
!
interface ethernet 1/g43
switchport access vlan 2
exit
!
interface ethernet 1/g44
--More-- or (q)uit
switchport access vlan 2
exit
!
interface ethernet 1/g45
gvrp enable
gvrp registration-forbid
switchport mode trunk
switchport trunk allowed vlan add 2
switchport trunk allowed vlan add 3
switchport trunk allowed vlan remove 1
exit
!
interface ethernet 1/g46
gvrp enable
gvrp registration-forbid
switchport mode trunk
switchport trunk allowed vlan add 2
switchport trunk allowed vlan add 3
switchport trunk allowed vlan remove 1
exit
!
--More-- or (q)uit
interface ethernet 1/g47
switchport access vlan 2
exit
!
interface ethernet 1/xg1
shutdown
exit
enable password 88bd7f3f7144dc842b999f87ed849937 encrypted
exit

909 Posts

April 12th, 2007 20:00

at the global config level, remove the IP address. 
 
console(config) # no ip address 192.168.31.10
 
Then you should be able to set your IP address on vlan 1.

52 Posts

April 12th, 2007 22:00

Isn't that my management interface IP?

909 Posts

April 13th, 2007 01:00

Yes.  By default your management interface is vlan 1.  When you are not configured as a router you can only manage by the management vlan.  When you are configured as a router, you can manage from any interface and your management interface is not routable.  If you need to route vlan 1 and manage via vlan 1, you will need to change the management vlan to something else.
 
At the global configuration level:
 
console (config) # ip address vlan  x
 

52 Posts

April 17th, 2007 12:00

Great. I am to access the L3 switch. How do I go about accessing a 3348P and 3348 that is trunked to the 6248? Their management interfaces are on the default vlan also.

909 Posts

April 17th, 2007 13:00

Dell layer 2 Ethernet switches can be managed from any vlan.  Just assign an IP address to the vlan.
 
console> enable
console# config
console(config)# interface vlan 1
console(config-if)# ip address x.x.x.x /yy
 
 

52 Posts

April 17th, 2007 14:00

Okay, My computer sits on 192.168.32.0 /24. Will the ip address on vlan 1 need to be on this network in order to access the switch, being that vlan1 is not routable?

909 Posts

April 17th, 2007 14:00

yes to the IP address question.
 
VLAN 1 is only non-routable on the 62xx if you choose to make VLAN 1 the management VLAN.
No Events found!

Top