This post is more than 5 years old
7 Posts
0
114952
January 31st, 2011 10:00
!Updated! - VLAN routing and DHCP help needed.
Hello -- I'm editing this to be more direct in hopes that someone will be able to help and save me a call to tech support.
My scenario is this: I started a new job at the beginning of this year, and we're running out of IP addresses on my Class C /24 network, and would prefer not to have to reconfigure the entire network's subnet mask, and really don't want to change IPs of the servers. My colleague suggested VLANs, but neither of us have set them up before -- guess who gets to get it working. :)
What I've got so far: I have 3 VLANs set up, 1,5, and 10. One is the default, 5 is newly created for management (may be changed to some obscure number - 1337 or something), and 10 is the new OfficeDHCP VLAN.
Servers, Printers, and all other static IP addresses (shop PCs, one department's Macs, scanners, and several machines that have static IPs that we can not change without calling in the service company) will remain on VLAN 1.
The aptly named VLAN 10 will be the new OfficeDHCP vlan.
My test bed is a 6248 (which will be the live switch when this is all working), and a 6024 (which is emulating 5224s in the live environment).
I have devices on both the 6248 and the 6024 on VLAN 10 that are talking no problem.
I can NOT, however, get a device on VLAN 1 to talk a device on VLAN 10, even if both are on the same switch (the 6248).
Below is 'sh running config,' 'sh ip route,' and 'sh ip int' of the 6248:
-------------------------------------
console#show run
!Current Configuration:
!System Description "Powerconnect 6248, 3.2.0.7, VxWorks 6.5"
!System Software Version 3.2.0.7
!Cut-through mode is configured as disabled
!
configure
vlan database
vlan 5,10
vlan routing 1 1
vlan routing 10 2
exit
stack
member 1 2
exit
ip address 192.168.5.10 255.255.255.0
ip address vlan 5
ip routing
ip route 192.168.10.0 255.255.255.0 192.168.10.1
interface vlan 1
routing
ip address 192.168.0.80 255.255.255.0
bandwidth 10000
ip mtu 1500
exit
interface vlan 5
name "DeviceManagementVLAN"
exit
interface vlan 10
name "OfficeDHCP"
routing
ip address 192.168.10.2 255.255.255.0
exit
username "admin" password 'asdfasdfasdf' level 15 encrypted
no spanning-tree
dhcp l2relay
dhcp l2relay vlan 1,10
!
interface ethernet 1/g1
spanning-tree disable
switchport mode general
switchport general allowed vlan add 10 tagged
switchport general allowed vlan add 1 tagged
exit
!
interface ethernet 1/g41
switchport access vlan 10
exit
!
interface ethernet 1/g42
dhcp l2relay
description 'Trunk Port for Test VLAN'
switchport mode general
switchport general allowed vlan add 5,10 tagged
switchport general allowed vlan add 1 tagged
exit
!
interface port-channel 1
spanning-tree disable
exit
snmp-server community public rw ipaddress 192.168.5.10
exit
console#
-------------------------------------
console#show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
C 192.168.0.0/24 [0/1] directly connected, vlan 1
C 192.168.10.0/24 [0/1] directly connected, vlan 10
console#
-------------------------------------
console#show ip int
Management Interface:
IP Address..................................... 192.168.5.10
Subnet Mask.................................... 255.255.255.0
Default Gateway................................ 0.0.0.0
Burned In MAC Address.......................... 5C26.0A91.C3CF
Network Configuration Protocol Current......... None
Management VLAN ID............................. 5
Routing Interfaces:
Netdir Multi
Interface State IP Address IP Mask Bcast CastFwd
---------- ----- --------------- --------------- -------- --------
vlan 1 Up 192.168.0.80 255.255.255.0 Disable Disable
vlan 10 Up 192.168.10.2 255.255.255.0 Disable Disable
console#
-------------------------------------
Any help will be greatly appreciated -- i'd love to get these noisy switches out of my office! :)
Thanks,
0 events found

