I have a Linux CMS server with an IP of 192.168.16.170 that sits on vlan 41. I need it to be able to pass DHCP over to vlan 2001. I am unable to use the Adtran built-in DHCP for multiple reasons. Below is part of my config, which does not accomplish what I need:
NV4430 config:
interface gigabit-eth 0/2.41
vlan-id 41
ip address 192.168.31.254 255.255.240.0
ip access-policy Private
no shutdown
interface gigabit-eth 0/2.2001
vlan-id 2001
ip address 192.168.47.254 255.255.254.0
ip dhcp relay destination 192.168.16.170
ip access-policy Private
no shutdown
Linux server config:
"dhcpd.conf" 34L, 1064C written
[root@cmsserver etc]#
[root@cmsserver etc]#
[root@cmsserver etc]#
[root@cmsserver etc]# cat dhcpd.conf
authoritative;
ddns-update-style none;
allow bootp;
option space CALIX-ONT-SERVER;
option CALIX-ONT-SERVER.cms-address code 1 = ip-address; option CALIX-ONT-SERVER.second-tftp-address code 2 = ip-address; option CALIX-ONT-SERVER.syslog-address code 4 = ip-address; option CALIX-ONT-SERVER.force-firmware code 200 = boolean; option CALIX-ONT-SERVER.validateMIC code 3 = boolean;
# AE-ONT Management Network
class "CalixONT" {
match if substring (hardware,1,3) = 00:06:31 or (substring (hardware,1,3)=ec:XX:XX } shared-network ontmgmt { subnet 192.168.46.0 netmask 255.255.254.0 {
max-lease-time 3600;
default-lease-time 3600;
pool {
# allow members of "CalixONT";
option tftp-server-name "192.168.16.170";
option routers 192.168.47.254;
vendor-option-space CALIX-ONT-SERVER;
option CALIX-ONT-SERVER.validateMIC off;
option CALIX-ONT-SERVER.cms-address 192.168.16.170;
option CALIX-ONT-SERVER.syslog-address 192.168.16.170;
range 192.168.46.0 192.168.47.253;
}
}
}
[root@cmsserver etc]#
To clarify, this does not work like I need it to. DHCP does not pass to vlan 2001. Any ideas?
Instead of:
interface gigabit-eth 0/2.2001
vlan-id 2001
ip address 192.168.47.254 255.255.254.0
ip dhcp relay destination 192.168.16.170
Try:
interface gigabit-eth 0/2.2001
vlan-id 2001
ip address 192.168.47.254 255.255.254.0
ip helper-address 192.168.16.170