04-15-2014 03:01 PM
Hi everyone,
We've recently received a new SG500 switch at our place and I try to configure different VLANs.
With some readings I've figured that I've to configure some internal routing, but It's my first experience using a switch as a router (L3), and I must confess that I'm a bit lost.
Also, and I don't know why, no way to access the VLAN Membership Table in the web interface, I receive a blank (ok Cisco green/blue :) ) page.
We've got 6 VLANs (8 in the config, but 2 are only planed for future) :
- VLAN 2 : Office A (interface ip : 192.168.120.254, pool start : 192.168.120.10, pool end : 192.168.120.100)
- VLAN 3 : Guest Rooms (interface ip : 192.168.130.254, pool start : 192.168.130.10, pool end : 192.168.130.100)
- VLAN 4 : Office B (interface ip : 192.168.140.254, pool start : 192.168.140.10, pool end : 192.168.140.100)
- VLAN 5 : IPTV (the multicast happen on a slave switch) (interface ip : 192.168.150.254, pool start : 192.168.150.10, pool end : 192.168.150.100)
- VLAN 6 : Reception (interface ip : 192.168.160.254, pool start : 192.168.160.10, pool end : 192.168.160.100)
- VLAN 7 : Business Center (interface ip : 192.168.170.254, pool start : 192.168.170.10, pool end : 192.168.170.100)
What I've succeed :
1. Having different VLANs
2. Assign them to interfaces
3. having a specific DHCP Pool for each
What I don't find out how to do :
1. Share internet router and voip central (same VLANs) with other VLANs
2. Isolate other VLANs between them
3. Isolate each peers inside my Guest VLAN
I join you my config fil at the end.
Many thanks in advance,
Louis
----------------------------------------------------------------
CONFIG
----------------------------------------------------------------
config-file-header
PVIRTSWMAIN
v1.3.0.62 / R750_NIK_1_3_647_260
CLI v1.0
set system mode router queues-mode 4
vlan database
vlan 2-9
exit
ip dhcp server
ip dhcp pool network Apparts
address low 192.168.130.10 high 192.168.130.100 255.255.255.0
lease infinite
exit
ip dhcp pool network Business
address low 192.168.170.10 high 192.168.170.100 255.255.255.0
lease infinite
exit
ip dhcp pool network Concierge
address low 192.168.160.10 high 192.168.160.100 255.255.255.0
lease infinite
exit
ip dhcp pool network IPTV
address low 192.168.150.10 high 192.168.150.100 255.255.255.0
lease infinite
exit
ip dhcp pool network PVI_Appart
address low 192.168.140.10 high 192.168.140.100 255.255.255.0
lease infinite
exit
ip dhcp pool network PVI_Office
address low 192.168.120.10 high 192.168.120.100 255.255.255.0
lease infinite
exit
bonjour interface range vlan 1
hostname PVIRTSWMAIN
clock timezone " " 0 minutes 0
clock summer-time web recurring eu
clock source sntp
sntp unicast client poll
sntp server ntp.belbone.be
!
interface vlan 1
ip address 192.168.254.1 255.255.255.0
no ip address dhcp
!
interface vlan 2
name PVI_office
ip address 192.168.120.254 255.255.255.0
!
interface vlan 3
name Apparts
ip address 192.168.130.254 255.255.255.0
!
interface vlan 4
name PVI_Appart
ip address 192.168.140.254 255.255.255.0
!
interface vlan 5
name IPTV
ip address 192.168.150.254 255.255.255.0
!
interface vlan 6
name Concierge
ip address 192.168.160.254 255.255.255.0
!
interface vlan 7
name Business
ip address 192.168.170.254 255.255.255.0
!
interface vlan 8
name Tools
ip address 192.168.180.254 255.255.255.0
!
interface vlan 9
name Voip
!
interface gigabitethernet1/3
switchport mode access
switchport access vlan 2
!
interface gigabitethernet1/4
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/5
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/6
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/7
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/8
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/9
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/10
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/11
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/12
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/13
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/14
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/15
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/16
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/17
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/18
switchport mode access
switchport access vlan 3
!
interface gigabitethernet1/19
switchport mode access
switchport access vlan 4
!
interface gigabitethernet1/20
switchport mode access
switchport access vlan 5
!
interface gigabitethernet1/21
switchport mode access
switchport access vlan 6
!
interface gigabitethernet1/22
switchport mode access
switchport access vlan 7
!
exit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide