Calix Community  
 
Reply
Senior Member
Posts: 11
Registered: ‎08-25-2015
0
Accepted Solution

Allowing a B6 fed AE ONT to DHCP an IP in a different network?

Hello All,

 

I'm working on converting our legacy Occam fed AE 711 ONTs off of the EMS/OCM and on to the CMS.  I'm trying to do so without utilizing option 82 or the OCM functionality of the CMS.  The problem I am running into is the access profile on the B6's is set to L3 relay, so when the DHCPDISCOVER comes into the CMS it shows the IP of the B6 blade.  I'm thinking the CMS doesn't offer an IP out of the range we have set for the ONTs as its a different network than the B6 ip that shows up in the request.  In the OCM you were able to allow one network to pull from a different network.  Is there a way to do so in my CMS dhcpd.conf file?  I know a helper IP on the router/VLAN is an option but it would require building out a new network in the Occam/core network to not disrupt service and i'm hoping there is a simpler way to utilize the existing network by modifying my DHCP config.

 

Ex: dhcp range for legacy B6 ONTs.  This a test pool i'm hoping to get them to pull from.

 

#Legacy Occam ONT
subnet 10.13.0.0 netmask 255.255.192.0
{
option subnet-mask 255.255.192.0;
option routers 10.13.0.1;
option tftp-server-name "192.168.X.X";
server-name "192.168.X.X";
vendor-option-space CALIX-ONT-SERVER;
option CALIX-ONT-SERVER.cms-address 192.168.X.X;
range 10.13.0.2 10.13.1.254;

}

 

This is an example of the request that shows the test B6 host blade in a different network

 

DHCPDISCOVER from 00:06:31:d5:26:89 via 10.10.96.16: unknown network segment

 

 

Here is an example of the line from the EMS/OCM config allowing it to pull from a different network.

 

allow members of "10.10.96.16_8_5";

Calix Certified
Posts: 1,854
Registered: ‎03-11-2010
0

Re: Allowing a B6 fed AE ONT to DHCP an IP in a different network?

I believe one of the later E7 software releases facilites L3 DHCP relay, so if you can put the E7 in the same subnet as teh Occam (just a different IP), it should work.

 

 

Moderator
Posts: 81
Registered: ‎03-27-2012
0

Re: Allowing a B6 fed AE ONT to DHCP an IP in a different network?

Skyler - 

 

When using OCM / Occamview for AE ONTs, each ONT had a distinct class defined for it based on the option 82 for a specific Ethernet port and Management VLAN.  To that end, the statement:

 

allow members of "10.10.96.16_8_5";

 

Is allowing a class named "10.10.96.16_8_5".  If you go to the class declaration, you can look at the option 82 match string and you'll see this pool is for the ONT connected to Ethernet port 8 of an OLT with the IP of 10.10.96.16 (and its management VLAN is 5).

 

When you use the B6  as an L3 relay agent, you need to have he folllowing:

 

  1. A shared network has to be declared
  2. A subnet declaration is required that encompasses the IP range of the relay agents (the B6s)

 

That being said, you likely just need to update your dhcpd.conf file as follows (bold / red for clarity):

 

shared-network ONT

{

 

#Declaration for B6 OLTs sourcing DISCOVER packets

subnet a.b.c.d netmask w.x.y.z {}

 

#Legacy Occam ONT
subnet 10.13.0.0 netmask 255.255.192.0
{
option subnet-mask 255.255.192.0;
option routers 10.13.0.1;
option tftp-server-name "192.168.X.X";
server-name "192.168.X.X";
vendor-option-space CALIX-ONT-SERVER;
option CALIX-ONT-SERVER.cms-address 192.168.X.X;
range 10.13.0.2 10.13.1.254;

}

 

}

 

That SHOULD get you going in the right direction - the network segmet will no longer be unknown and the dhcpd daemon will inspect the packet rather than outright dropping it.

 

Another good resource is the dhcpd.conf man(5) page, located here, which covers this and many other topics.

 

If you need further assistance beyond that it may be prudent to open a case with TAC.  Hopefully that gets you going!

 

Greg Fowler

Systems Engineer

Calix TAC

 

Senior Member
Posts: 11
Registered: ‎08-25-2015
0

Re: Allowing a B6 fed AE ONT to DHCP an IP in a different network?

That worked!  Thank you for your reply.  Relatively new to the Linux world and after a few days of struggling with it thats a huge relief.

Highlighted
Senior Member
Posts: 11
Registered: ‎08-25-2015
0

Re: Allowing a B6 fed AE ONT to DHCP an IP in a different network?

[ Edited ]

frnkblk - Sorry I didnt respond sooner my login was in trouble and i just got it sorted out.  Your solution would definitely be a valid option.  Thank you for taking the time to reply and help a newbie out.