dhcp relay
Patrick Trapp
ptrapp at nex-tech.com
Fri Nov 27 14:59:45 UTC 2020
Hello, Alan. I am using a similar configuration here, including E7 devices. We use shared networks to identify the subnet that network devices that the end devices are attached to occupy.
Our network devices get their addresses via another system, but it would also work if we assigned them via this same DHCP server or if they were set statically.
For example, our pools are set up similar to this - note the empty braces {} because we don't define the network in this system:
shared-network new-network {
# 192.168.1.0/24 Network device management range
subnet 192.168.1.0 netmask 255.255.255.0 {}
# 10.10.10.0/23 End device network
subnet 10.10.10.0 netmask 255.255.254.0 {
option routers 10.10.10.1;
option broadcast-address 10.10.11.255;
pool {
failover peer "failover";
deny dynamic bootp clients;
range 10.10.10.11 10.10.10.254;
} # close pool
} # close shared-network
Hope that helps.
________________________________
From: dhcp-users <dhcp-users-bounces at lists.isc.org> on behalf of Alan Batie <alan at peak.org>
Sent: Wednesday, November 25, 2020 8:54 PM
To: dhcp-users at lists.isc.org <dhcp-users at lists.isc.org>
Subject: dhcp relay
CAUTION: This email originated from outside of the company. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I'm trying to setup dhcp relay and not sure how the server determines
the network to assign an address from? The agent device (a Calix E7)
requires that the uplink vlan be different from the client vlan, so the
agent address is the uplink address of the device (which doesn't have an
address on the client vlan anyhow as it's mostly a switch):
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 0
Transaction ID: 0xa217414b
Seconds elapsed: 21935
Bootp flags: 0x0000 (Unicast)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 172.20.44.15 (172.20.44.15)
Client MAC address: 48:77:46:f9:5b:b0 (48:77:46:f9:5b:b0)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type
Length: 1
DHCP: Discover (1)
Option: (57) Maximum DHCP Message Size
Length: 2
Maximum DHCP Message Size: 576
Option: (55) Parameter Request List
Length: 11
Parameter Request List Item: (1) Subnet Mask
Parameter Request List Item: (3) Router
Parameter Request List Item: (6) Domain Name Server
Parameter Request List Item: (12) Host Name
Parameter Request List Item: (15) Domain Name
Parameter Request List Item: (28) Broadcast Address
Parameter Request List Item: (42) Network Time Protocol Servers
Parameter Request List Item: (43) Vendor-Specific Information
Parameter Request List Item: (120) SIP Servers
Parameter Request List Item: (121) Classless Static Route
Parameter Request List Item: (125) V-I Vendor-specific Information
Option: (60) Vendor class identifier
Length: 24
Vendor class identifier: GS4220E.ONT.dslforum.org
Option: (82) Agent Information Option
Length: 96
Option 82 Suboption: (1) Agent Circuit ID
Length: 58
Agent Circuit ID:
73706172652d65372d312e696e7472616e65742e7065616b...
Option 82 Suboption: (2) Agent Remote ID
Length: 34
Agent Remote ID:
73706172652d65372d312e696e7472616e65742e7065616b...
Option: (255) End
Option End: 255
Padding
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20201127/1dcba1e2/attachment.htm>
More information about the dhcp-users
mailing list