- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- 2650 Switch config w/ DHCP relay
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
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
тАО05-22-2008 02:11 PM
тАО05-22-2008 02:11 PM
2650 Switch config w/ DHCP relay
client connected to vlan 10 should get a 10.10.0/22 address
client connected to vlan 20 should get a 10.10.24/21 address
Watching my DHCP log I can see that all address request get tagged from the 10.10.16/22 which results in obvious error (below), since I don't have a scope for this range
dhcpd: DHCPDISCOVER from 00:1c:23:b5:8e:b1 via eth0: network 10.10.16/22: no free leases
DHCP server is 10.10.16.2
DHCP config below
*****************
ddns-update-style none;
ignore client-updates;
authoritative;
option domain-name "show.local";
subnet 10.10.0.0 netmask 255.255.252.0 {
option routers 10.10.0.1;
option subnet-mask 255.255.252.0;
option domain-name-servers 10.10.16.2,66.234.224.2,208.67.222.222;
option time-offset -48000;
option tftp-server-name "10.10.0.8";
default-lease-time 3600;
max-lease-time 7200;
range dynamic-bootp 10.10.0.10 10.10.3.254;
}
subnet 10.10.24.0 netmask 255.255.248.0 {
option routers 10.10.24.1;
option subnet-mask 255.255.248.0;
option domain-name-servers 10.10.16.2,66.234.224.2,208.67.222.222;
option time-offset -48000;
default-lease-time 3600;
max-lease-time 3600;
range dynamic-bootp 10.10.25.1 10.10.31.254;
}
*****************
switch config below
hostname "ProCurve Switch 2650"
ip routing
no ip directed-broadcast
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-50
ip address 10.10.16.1 255.255.252.0
exit
vlan 10
name "shownet"
ip address 10.10.0.1 255.255.252.0
ip helper-address 10.10.16.2
tagged 41,47
exit
vlan 20
name "wireless"
ip address 10.10.24.1 255.255.248.0
ip helper-address 10.10.16.2
tagged 1-5,47
exit
ip route 0.0.0.0 0.0.0.0 10.10.16.2
password manager
password operator
***************
So what am I missing? Is it my routes?
Thanks
-Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 12:01 AM
тАО05-23-2008 12:01 AM
Re: 2650 Switch config w/ DHCP relay
and i see in the configuration all ports in vlan1 who are on that 10.10.16.1 network.
The other vlans are only accessble in tagged mode.
Connect a pc to a port that is untagged in on of the vlans.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 02:01 PM
тАО05-23-2008 02:01 PM
Re: 2650 Switch config w/ DHCP relay
hostname "ProCurve Switch 2650"
ip routing
no ip directed-broadcast
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 6-40,46-50
ip address 10.10.16.1 255.255.252.0
no untagged 1-5,41-45
exit
vlan 10
name "shownet"
untagged 1-5
ip address 10.10.0.1 255.255.252.0
ip helper-address 10.10.16.2
tagged 48
exit
vlan 20
name "wireless"
untagged 41-45
ip address 10.10.24.1 255.255.248.0
ip helper-address 10.10.16.2
tagged 48
exit
ip route 0.0.0.0 0.0.0.0 10.10.16.2
password manager
password operator
FYI - port 48 connects to my DHCP server (which is also my NAT/router box)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 09:43 PM
тАО05-23-2008 09:43 PM
Re: 2650 Switch config w/ DHCP relay
please check
must be your dhcp server ethernet card ip address
ip address 10.10.16.2
subnet musk 255.255.252.0
dafault gateway 10.10.16.1
and remove no ip directed-broadcast
you can write
(config)#ip directed-broadcast
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 10:01 PM
тАО05-23-2008 10:01 PM
Re: 2650 Switch config w/ DHCP relay
client flood dhcp discover message on network with broadcast packet and dhcp server response to client dhcp offer packet with unicast packet
no ip directed-broadcast command break your dhcp server dhcp offer packet
there fore you make write this command
(config)#ip directed-broadcast
cenk
----------------------------------------
ProCurve(config)# ip directed-broadcast
Syntax: [no] ip directed-broadcast
ProCurve software makes the forwarding decision based on the routing switch's knowledge of the destination network prefix. Routers cannot determine
that a message is unicast or directed broadcast apart from the destination
network prefix. The decision to forward or not forward the message is by definition only possible in the last hop router.
To disable the directed broadcasts, enter the following CLI command:
ProCurve(config)# no ip directed-broadcast