Help me, what I'm do not right and where mistake?
dhcpd log
[code]
DHCPDISCOVER from 00:1a:ad:96:bf:68 via 10.15.0.1
DHCPOFFER on 10.15.0.3 to 00:1a:ad:96:bf:68 via 10.15.0.1
DHCPREQUEST for 10.15.0.3 (192.168.2.15) from 00:1a:ad:96:bf:68 via 10.15.0.1
DHCPACK on 10.15.0.3 to 00:1a:ad:96:bf:68 via 10.15.0.1
DHCPDISCOVER from 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPOFFER on 192.168.50.3 to 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPDISCOVER from 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPOFFER on 192.168.50.3 to 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPDISCOVER from 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPOFFER on 192.168.50.3 to 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPDISCOVER from 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPOFFER on 192.168.50.3 to 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPDISCOVER from 00:1a:ad:96:bf:6a via 192.168.50.1
DHCPOFFER on 192.168.50.3 to 00:1a:ad:96:bf:6a via 192.168.50.1
[/code]
--------------------------------
dhcpd.conf
[code]
use-host-decl-names on;
option space docsis-mta;
option docsis-mta.dhcp-server-1 code 1 = ip-address;
option docsis-mta.dhcp-server-2 code 2 = ip-address;
option docsis-mta.provision-server code 3 = { integer 8, ip-address };
option docsis-mta.as-req-as-rep code 4 = { integer 32, integer 32, integer 32 };
option docsis-mta.ap-req-ap-rep code 5 = { integer 32, integer 32, integer 32 };
option docsis-mta.krb-realm-name code 6 = string;
option docsis-mta.tgs-util code 7 = boolean;
option docsis-mta.timer code 8 = integer 8;
option docsis-mta-pkt code 122 = encapsulate docsis-mta;
option vendor code 60 = text;
# CM
subnet 10.15.0.0 netmask 255.255.255.0 {
#range 10.15.0.2 10.15.0.254;
default-lease-time 86400;
max-lease-time 604800;
option routers 10.15.0.1;
option time-offset 10800;
option time-servers 192.168.2.15;
option log-servers 192.168.2.15;
option domain-name-servers xxx.xxx.216.2, xxx.xxx.217.2;
option domain-name "xxx.ru";
option tftp-server-name "cmp.xxx.ru";
option docsis-mta.dhcp-server-1 192.168.2.15;
option docsis-mta.dhcp-server-2 192.168.2.15;
authoritative;
next-server 192.168.2.15;
}
# MTA
subnet 192.168.50.0 netmask 255.255.255.0 {
default-lease-time 86400;
max-lease-time 604800;
option routers 192.168.50.1;
option time-offset 10800;
option time-servers 192.168.2.15;
option log-servers 192.168.2.15;
option domain-name-servers xxx.xxx.216.2, xxx.xxx.217.2;
option domain-name "xxx.ru";
option tftp-server-name "cmp.xxx.ru";
option docsis-mta.provision-server 1 192.168.2.15;
option docsis-mta.krb-realm-name = 05:42:41:53:49:43:01:31:00;
authoritative;
next-server 192.168.2.15;
}
host cm.001aad96bf68 {
option host-name "cm.001aad96bf68";
option domain-name "xxx.ru";
hardware ethernet 00:1a:ad:96:bf:68;
fixed-address 10.15.0.3;
filename "zzz_e.cm";
}
host mta.001aad96bf6a {
hardware ethernet 00:1a:ad:96:bf:6a;
fixed-address 192.168.50.3;
filename "sbv5121e.mta";
option vendor "PacketCable 1.0";
option host-name "001aad96bf6a";
}
[/code]
eMTA
[code]
mta_console> opt122
opt122
Dhcp option 122
~~~~~~~~~~~~~~~
SubOption 1 Service Provider's Primary DHCP = [192.168.2.15]
SubOption 2 Service Provider's Secondary DHCP = [192.168.2.15]
SubOption 3 Service Provider's SNMP Entity =
SubOption 6 Kerberos Realm Name =
mta_console>mta_show
mta_show
mta_show> dhcp
dhcp
DHCP INFO:
CM DHCP Server IP Address: 192.168.2.15
CM IP Address: 10.15.0.3
CM Subnet Mask: 255.255.255.0
CM Router Addr: 10.15.0.1
CM Lease Time: 86400 seconds
CM T1 Timer: 43200 seconds
CM T2 Timer: 75600 seconds
CM TFTP Server Address: 192.168.2.15
CM TFTP Boot File: zzz_e.cm
CM #renewing attempts: 27
CM #rebinding attempts: 1
CM #times lease expired: 0
CM #successful leases: 26
MTA DHCP Server IP Address: 0.0.0.0
MTA IP Address: 0.0.0.0
MTA Subnet Mask: 0.0.0.0
MTA Lease Time: 0 seconds
MTA T1 Timer: 0 seconds
MTA T2 Timer: 0 seconds
MTA TFTP Server Address: 0.0.0.0
MTA Config File URL:
MTA Host Name:
MTA Domain Name:
MTA Num Gateways: 1
MTA IP Gateway Address: 0.0.0.0
MTA #renewing attempts: 0
MTA #rebinding attempts: 0
MTA #times lease expired: 0
MTA #successful leases: 0
Num DNS Servers: 1
DNS Server Addr# 1: 0.0.0.0
DNS Server Addr# 2:
Num Log Servers: 1
Log Server IP Address: 0.0.0.0
LAN (CPE) IP Address: 192.168.100.1
[/code]
wireshark
DHCP_DISCOVER
[code]
No. Time Source Destination Protocol Info
356447 12251.730907 192.168.50.1 192.168.2.15 DHCP DHCP Discover - Transaction ID 0x8c378
Frame 356447 (530 bytes on wire, 530 bytes captured)
Arrival Time: Apr 16, 2008 18:12:25.096696000
[Time delta from previous captured frame: 0.410460000 seconds]
[Time delta from previous displayed frame: 31.998255000 seconds]
[Time since reference or first frame: 12251.730907000 seconds]
Frame Number: 356447
Frame Length: 530 bytes
Capture Length: 530 bytes
[Frame is marked: False]
[Protocols in frame: eth:ip:udp:bootp]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: Cisco_2f:cf:00 (00:01:42:2f:cf:00), Dst: Intel_b5:80:5b (00:19:d1:b5:80:5b)
Destination: Intel_b5:80:5b (00:19:d1:b5:80:5b)
Address: Intel_b5:80:5b (00:19:d1:b5:80:5b)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
Source: Cisco_2f:cf:00 (00:01:42:2f:cf:00)
Address: Cisco_2f:cf:00 (00:01:42:2f:cf:00)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
Type: IP (0x0800)
Internet Protocol, Src: 192.168.50.1 (192.168.50.1), Dst: 192.168.2.15 (192.168.2.15)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 516
Identification: 0xd151 (53585)
Flags: 0x00
0... = Reserved bit: Not set
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 255
Protocol: UDP (0x11)
Header checksum: 0x3336 [correct]
[Good: True]
[Bad : False]
Source: 192.168.50.1 (192.168.50.1)
Destination: 192.168.2.15 (192.168.2.15)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootps (67)
Source port: bootps (67)
Destination port: bootps (67)
Length: 496
Checksum: 0xa95b [correct]
[Good Checksum: True]
[Bad Checksum: False]
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x0008c378
Seconds elapsed: 0
Bootp flags: 0x8000 (Broadcast)
1... .... .... .... = Broadcast flag: Broadcast
.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: 192.168.50.1 (192.168.50.1)
Client MAC address: Motorola_96:bf:6a (00:1a:ad:96:bf:6a)
Server host name not given
Boot file name not given
Option: (t=53,l=1) DHCP Message Type = DHCP Discover
Option: (53) DHCP Message Type
Length: 1
Value: 01
Option: (t=57,l=2) Maximum DHCP Message Size = 548
Option: (57) Maximum DHCP Message Size
Length: 2
Value: 0224
Option: (t=43,l=123) Vendor-Specific Information (CableLabs)
Option: (43) Vendor-Specific Information
Length: 123
Value: 0204454D5441041831353831353537313039333637303137...
Suboption 2: Device Type = "EMTA"
Suboption 4: Serial Number = "158155710936701701012004"
Suboption 5: Hardware Version = "1.0"
Suboption 6: Software Version = "SBV5121E-2.17.1.2-SCM10-SHPC"
Suboption 7: Boot ROM version = "8.5"
Suboption 8: OUI = 00:1A:AD
Suboption 9: Model Number = "SBV5121E"
Suboption 10: Vendor Name = "Motorola Corporation"
Suboption 31: MTA MAC Address = 00:1A:AD:96:BF:6A
Suboption 32: Correlation ID = 21250
Option: (t=60,l=78) Vendor class identifier = "pktc1.0:05210101000201020501010901010A01010B060103050608090D010110010912020004"
Option: (60) Vendor class identifier
Length: 78
Value: 706B7463312E303A30353231303130313030303230313032...
MTA DC Length: 33
0x01: PacketCable Version = PacketCable 1.0 (00)
0x02: Number Of Telephony Endpoints = 02
0x05: MTA-24 Event SYSLOG Notification Support = Yes (01)
0x09: NVRAM Ticket/Session Keys Storage Support = Yes (01)
0x0A: Provisioning Event Reporting Support = Yes (01)
0x0B: Supported CODEC(s) = other (01), G.729 (03), G.729E (05), PCMU (06), G.728 (08), PCMA (09)
0x0D: Echo Cancellation Support = Yes (01)
0x10: MTA's "ifIndex" starting number in "ifTable" = 09
0x12: Supported Provisioning Flows = 0x0004
.... .... .... .1.. = Basic Flow
Option: (t=55,l=8) Parameter Request List
Option: (55) Parameter Request List
Length: 8
Value: 0C0F01030206077A
12 = Host Name
15 = Domain Name
1 = Subnet Mask
3 = Router
2 = Time Offset
6 = Domain Name Server
7 = Log Server
122 = CableLabs Client Configuration
Option: (t=61,l=7) Client identifier
Option: (61) Client identifier
Length: 7
Value: 01001AAD96BF6A
Hardware type: Ethernet
Client MAC address: Motorola_96:bf:6a (00:1a:ad:96:bf:6a)
Option: (t=82,l=14) Agent Information Option
Option: (82) Agent Information Option
Length: 14
Value: 0104000100020206001AAD96BF68
Agent Circuit ID: 00010002
Agent Remote ID: 001AAD96BF68
End Option
[/code]
DHCP_OFFER
[code]
No. Time Source Destination Protocol Info
347181 11089.775929 192.168.2.15 192.168.50.1 DHCP DHCP Offer - Transaction ID 0x133b9f44
Frame 347181 (390 bytes on wire, 390 bytes captured)
Arrival Time: Apr 16, 2008 17:53:03.141718000
[Time delta from previous captured frame: 0.000395000 seconds]
[Time delta from previous displayed frame: 0.008478000 seconds]
[Time since reference or first frame: 11089.775929000 seconds]
Frame Number: 347181
Frame Length: 390 bytes
Capture Length: 390 bytes
[Frame is marked: False]
[Protocols in frame: eth:ip:udp:bootp]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: Intel_b5:80:5b (00:19:d1:b5:80:5b), Dst: Cisco_2f:cf:00 (00:01:42:2f:cf:00)
Destination: Cisco_2f:cf:00 (00:01:42:2f:cf:00)
Address: Cisco_2f:cf:00 (00:01:42:2f:cf:00)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
Source: Intel_b5:80:5b (00:19:d1:b5:80:5b)
Address: Intel_b5:80:5b (00:19:d1:b5:80:5b)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
Type: IP (0x0800)
Internet Protocol, Src: 192.168.2.15 (192.168.2.15), Dst: 192.168.50.1 (192.168.50.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 376
Identification: 0x0000 (0)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: UDP (0x11)
Header checksum: 0x8414 [correct]
[Good: True]
[Bad : False]
Source: 192.168.2.15 (192.168.2.15)
Destination: 192.168.50.1 (192.168.50.1)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootps (67)
Source port: bootps (67)
Destination port: bootps (67)
Length: 356
Checksum: 0x1b91 [correct]
[Good Checksum: True]
[Bad Checksum: False]
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x133b9f44
Seconds elapsed: 0
Bootp flags: 0x8000 (Broadcast)
1... .... .... .... = Broadcast flag: Broadcast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.50.3 (192.168.50.3)
Next server IP address: 192.168.2.15 (192.168.2.15)
Relay agent IP address: 192.168.50.1 (192.168.50.1)
Client MAC address: Motorola_96:bf:6a (00:1a:ad:96:bf:6a)
Server host name not given
Boot file name: SBV5120E-MTA.bin
Option: (t=53,l=1) DHCP Message Type = DHCP Offer
Option: (53) DHCP Message Type
Length: 1
Value: 02
Option: (t=54,l=4) Server Identifier = 192.168.2.15
Option: (54) Server Identifier
Length: 4
Value: C0A8020F
Option: (t=51,l=4) IP Address Lease Time = 1 day
Option: (51) IP Address Lease Time
Length: 4
Value: 00015180
Option: (t=12,l=12) Host Name = "001aad96bf6a"
Option: (12) Host Name
Length: 12
Value: 303031616164393662663661
Option: (t=15,l=6) Domain Name = "xxx.ru"
Option: (15) Domain Name
Length: 6
Value: 6E746C2E7275
Option: (t=1,l=4) Subnet Mask = 255.255.255.0
Option: (1) Subnet Mask
Length: 4
Value: FFFFFF00
Option: (t=3,l=4) Router = 192.168.50.1
Option: (3) Router
Length: 4
Value: C0A83201
Option: (t=2,l=4) Time Offset = 3 hours
Option: (2) Time Offset
Length: 4
Value: 00002A30
Option: (t=6,l=8) Domain Name Server
Option: (6) Domain Name Server
Length: 8
Value: 5389D8025389D902
IP Address: xxx.xxx.216.2
IP Address: xxx.xxx.217.2
Option: (t=7,l=4) Log Server = 192.168.2.15
Option: (7) Log Server
Length: 4
Value: C0A8020F
Option: (t=122,l=18) CableLabs Client ConfigurationCableLabs Client Configuration (18 bytes)
Option: (122) CableLabs Client Configuration
Length: 18
Value: 030501C0A8020F0609054241534943013100
Suboption 3: TSP's Provisioning Server: 192.168.2.15 (5 bytes)
Suboption 6: TSP's Kerberos Realm Name: BASIC.1 (9 bytes)
Option: (t=82,l=14) Agent Information Option
Option: (82) Agent Information Option
Length: 14
Value: 0104000100020206001AAD96BF68
Agent Circuit ID: 00010002
Agent Remote ID: 001AAD96BF68
End Option
[/code]
thanks!
Strange. Discover/offers with no requests or acks usually mean the cm can't hear the DHCP server - one way routing. You can ping the CMTS blade so that's apparently not the issue. Maybe this is some type of DHCP option/relay issue... I'm more routing/IP than docsis config; perhaps someone else can spot something that I'm not seeing here.
My CMTS config (motorola) on each blade contains:
cable dhcp-giaddr primary
ip dhcp relay information option
cable helper-address x.x.x.x cable-modem global
cable helper-address x.x.x.x host global
cable helper-address x.x.x.x mta global
I see no "next-server xxx.xxx.xxx.xxx;" in there for TFTP.
emkowale
There is next-server statement :) As I remember sbv51xx needs so called "full provisioning" with option-122 filled with basic1 option.
for what it's worth - I managed to provision eMTAs on motorola modems beyond this step - my modems WOULD get an IP address, and it would not continue to the next step in provisioning - MTA would not send TFTP request (or I would not see it).
However - i am finally going to the location tonight and gonna resolve my problems tomorrow or day after tomorrow. I will let you all know how it goes :)
and as for your routing / dhcp assignment problems - look up my thread at http://docsis.org/node/564 - you have enough information there to resolve your own problem.
.play.open.minded.
What is the default Motorola SB5220 default telnet username and password ? I see you have posted the console output on this page