CPE with static IP address

Sztrepka Pál szpal at szarvas.hu
Mon Jan 14 14:37:22 UTC 2013


First, thank you for answers, helps a lot!

We use Cisco 7246 and 10012 CMTS, and there exist the following line:
'ip dhcp relay information option'
(which is insert the option 82 into dhcp packet)

2013-01-14 09:55 időpontban Christian Kratzer ezt írta:
> option agent.subscriber-id code 6 = text;
>
> host test1 {
>     host-identifier option agent.circuit-id "test1";
>     fixed-address 192.0.2.1;
> }
> host test2 {
>     host-identifier option agent.remote-id "test2";
>     fixed-address 192.0.2.2;
> }
> host test3 {
>     host-identifier option agent.subscriber-id "test3";
>     fixed-address 192.0.2.3;
> }
> Greetings
> Christian

I try the above sample so in my dhcpd.conf:

...
host cm_4273 {
   hardware ethernet 00:11:e3:da:25:9b;
   fixed-address 172.16.0.9;
   group "pack-115";
}

host mta_4273 {
   hardware ethernet 00:11:e3:da:25:9c;
   fixed-address 172.17.0.3;
   filename = "0011.e3da.259c.mt";
}

host cpe_4273 {
   host-identifier option agent.remote-id "cm_4273";   <- (I try with 
agent.circuit-id and agent.subscriber-id also..) ->no luck.
   fixed-address 87.101.127.195;
}

(This is a Thomson THG520 modem with mta, and the '4273' is an inner id 
of the tnode.)
Cm and mta is become online, but the cpe behind the modem is not, in 
the dhcpd.log:
DHCPDISCOVER from 00:13:8f:32:f9:29 (<- this is the cpe mac) via 
172.16.255.254: network TEST_CMTS: no free leases
...

I think something i understand badly, but I trying forth.

-- 
Regards,
szpal



More information about the dhcp-users mailing list