02-17-2013 12:06 PM
Dear's friend
I have struck in my some network configuration. I have two sf300 switches and cisco 827 router. Actually sf300 does not support dhcp server. I took cisco 827 as dhcp server and i create 4 dhcp pools in it.
How i can configure in sf300 to take dhcp service from cisco router 827. Isit possible to configure 827 with bvi interface, when i was try i got below error. Can anyone help me to configure bvi interface and i will link that bvi to vlan on sf300.
error in 827 router
Router(config-subif)#bridge-group 1
Bridging on a LAN subinterface requires that the interface be already
configured for Inter Switch Link (ISL) encapsulation or 802.1Q encapsulation
sf300 Configuration:
Int vlan 1
ip address 192.168.1.1 255.255.255.0
int vlan 2
ip address 192.168.2.1 255.255.255.0
int vlan 3
ip address 192.168.3.1 255.255.255.0
int vlan 4
ip address 192.168.4.1 255.255.255.0
How i can connect two sf300 switch for redundancy ? I connected giga4 SW1 and giga4 SW2 and mode trunk isit good or any other way i need to connect it.?
thanks in advance.
Solved! Go to Solution.
02-18-2013 05:18 PM
Hi MR,
You need to have the DHCP relay configured correctly
configure terminal
ip dhcp relay enable
ip dhcp relay address (address of the DHCP server)
ip dhcp information option (option 82)
interface gi4
ip dhcp relay enable
The rest of your config looks fine for the switch.
-Tom
Please mark answered for helpful posts
02-17-2013 02:49 PM
Hi mr, the error sounds like you did not create a sub interface and if you did, you did not specify the 802.1q toggle. The SF300 supports only 802.1q. When specifying the dhcp pool you also need to specify the default-router.
Additionally, I see you configured the SF300 in layer 3 mode. If your 827 is supporting the sub interfaces, the inter vlan communication can take place at the router otherwise the DHCP from the 827 would need to provide the SVI of the switch as default gateways to allow the switch to handle the intervlan communication.
For redundant connections you may basically do as you like. Spanning tree will block one port which is not a bad thing.
-Tom
Please mark answered for helpful posts
02-18-2013 08:41 AM
Tom still i have same problem.
See the below configuration of my switch
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.02.18 19:31:07 =~=~=~=~=~=~=~=~=~=~=~=
sh r
SW2(config)#$ sh run
% Unrecognized command
SW2(config)#do sh run
config-file-header
SW2
v1.2.7.76 / R750_NIK_1_2_584_002
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 2-7
exit
voice vlan id 5
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
More:
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
ip dhcp relay address 10.1.6.252
ip dhcp relay enable
ip dhcp information option
bonjour interface range vlan 1
hostname SW2
!
interface vlan 1
no ip address dhcp
!
interface vlan 2
name " VLAN_2"
ip address 10.1.2.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 3
name "VLAN_3"
ip address 10.1.3.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 4
name "VLAN_4"
ip address 10.1.4.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 5
name "IP Telephony VLAN"
ip address 10.1.5.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 6
name "Switches VLAN"
ip address 10.1.6.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 7
name "Master VLAN"
ip address 10.1.7.1 255.255.255.0
ip dhcp relay enable
!
interface fastethernet1
switchport mode access
!
interface fastethernet2
switchport mode access
!
interface fastethernet3
switchport mode access
!
interface fastethernet4
switchport mode access
!
interface fastethernet5
switchport mode access
!
interface fastethernet6
switchport mode access
!
interface fastethernet7
switchport mode access
!
interface fastethernet8
switchport mode access
!
interface fastethernet9
switchport mode access
switchport access vlan 2
!
interface fastethernet10
switchport mode access
switchport access vlan 2
!
interface fastethernet11
switchport mode access
switchport access vlan 2
!
interface fastethernet12
switchport mode access
switchport access vlan 2
!
interface fastethernet13
switchport mode access
switchport access vlan 2
!
interface fastethernet14
switchport mode access
switchport access vlan 3
!
interface fastethernet15
switchport mode access
switchport access vlan 3
!
interface fastethernet16
switchport mode access
switchport access vlan 3
!
interface fastethernet17
switchport mode access
switchport access vlan 3
!
interface fastethernet18
switchport mode access
switchport access vlan 4
!
interface fastethernet19
switchport mode access
switchport access vlan 4
!
interface fastethernet20
switchport mode access
switchport access vlan 4
!
interface fastethernet21
switchport mode access
switchport access vlan 4
!
interface fastethernet22
switchport mode access
switchport access vlan 4
!
interface fastethernet23
switchport mode access
switchport access vlan 4
!
interface fastethernet24
switchport mode access
switchport access vlan 4
!
interface fastethernet25
switchport mode access
switchport access vlan 4
!
interface fastethernet26
switchport mode access
switchport access vlan 4
!
interface fastethernet27
switchport mode access
switchport access vlan 4
!
interface fastethernet28
switchport mode access
switchport access vlan 5
!
interface fastethernet29
switchport mode access
switchport access vlan 5
!
interface fastethernet30
switchport mode access
switchport access vlan 5
!
interface fastethernet31
switchport mode access
switchport access vlan 5
!
interface fastethernet32
switchport mode access
switchport access vlan 5
!
interface fastethernet33
switchport mode access
switchport access vlan 5
!
interface fastethernet34
switchport mode access
switchport access vlan 5
!
interface fastethernet35
switchport mode access
switchport access vlan 5
!
interface fastethernet36
switchport mode access
switchport access vlan 5
!
interface fastethernet37
switchport mode access
switchport access vlan 5
!
interface fastethernet38
switchport mode access
switchport access vlan 5
!
interface fastethernet39
switchport mode access
switchport access vlan 5
!
interface fastethernet40
switchport mode access
switchport access vlan 5
!
interface fastethernet41
switchport mode access
switchport access vlan 5
!
interface fastethernet42
switchport mode access
switchport access vlan 5
!
interface fastethernet43
switchport mode access
switchport access vlan 5
!
interface fastethernet44
switchport mode access
switchport access vlan 5
!
interface fastethernet45
switchport mode access
switchport access vlan 5
!
interface fastethernet46
switchport mode access
switchport access vlan 5
!
interface fastethernet47
switchport mode access
switchport access vlan 7
!
interface fastethernet48
switchport mode access
switchport access vlan 6
!
interface gigabitethernet4
switchport trunk allowed vlan add 2-7
Description Connection To SW1
!
SW2(config)#
02-18-2013 05:18 PM
Hi MR,
You need to have the DHCP relay configured correctly
configure terminal
ip dhcp relay enable
ip dhcp relay address (address of the DHCP server)
ip dhcp information option (option 82)
interface gi4
ip dhcp relay enable
The rest of your config looks fine for the switch.
-Tom
Please mark answered for helpful posts
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