MTA in DISCOVER-OFFER-Loop | docsis.org

You are here

MTA in DISCOVER-OFFER-Loop

7 posts / 0 new
Last post
docAdmin
MTA in DISCOVER-OFFER-Loop

I'm new in this Forum. My Problem is bringing up the MTA of a EPC2203.
The MTA makes his DISCOVER-Req and gets a OFFER. This is then repeatet endles.
The Spec says CM Opt 122.1=255.255.25.255 disables the IP-Check (all DHCP-Answers will be usable)

The Logs:
DHCP-ACK -> Modem
...
Option: (t=122,l=6) CableLabs Client Configuration [TODO:RFC3495]CableLabs Client Configuration (6 bytes)
Option: (122) CableLabs Client Configuration [TODO:RFC3495]
Length: 6
Value: 0104ffffffff
Suboption 1: TSP's Primary DHCP Server: 255.255.255.255 (4 bytes)
...

Modem-Config:
Main
{
NetworkAccess 1;
MaxCPE 1;
MaxClassifiers 20;
GlobalPrivacyEnable 1;
BaselinePrivacy
{
AuthTimeout 5;
ReAuthTimeout 20;
AuthGraceTime 60;
OperTimeout 2;
ReKeyTimeout 2;
TEKGraceTime 60;
AuthRejectTimeout 60;
SAMapWaitTimeout 1;
SAMapMaxRetries 4;
}
UsServiceFlow
{
UsServiceFlowRef 1;
QosParamSetType 7;
SchedulingType 2;
MaxRateSustained 128000;
}
DsServiceFlow
{
DsServiceFlowRef 101;
QosParamSetType 7;
TrafficPriority 1;
MaxRateSustained 512000;
}
DocsisTwoEnable 0;
SnmpMibObject ifAdminStatus.5 Integer 2; /* down */
SnmpMibObject saCmMtaDevice.0 Integer 1; /* enable */
SnmpMibObject saCmMtaCountMtaAsCpe.0 Integer 0; /* false */
SnmpMibObject saCmMtaIpFilters.0 Integer 1; /* openMta */
SnmpMibObject saCmMtaCliAccessType.0 Integer 1; /* enableTelnetPermanent */
SnmpMibObject saCmMtaCliAccessInterface.0 Integer Wrong Type (should be BITS): 7;
SnmpMibObject saCmMtaCliAccessUsername.0 String "a";
SnmpMibObject saCmMtaCliAccessPassword.0 String "a";
SnmpMibObject cmAPConsoleEnablePassword.0 String "a";
SnmpMibObject cmAPWeb.0 Integer 2; /* open-access */
SnmpMibObject cmAPWebSwitch.0 Integer 1; /* enable */
SnmpMibObject cmRemoteWebAccess.0 Integer 1; /* enable */
SnmpMibObject cmAPWebAccessLvlUsername.0 String "a";
SnmpMibObject cmAPWebAccessLvlPassword.0 String "a";
SnmpMibObject saCmWebAccessAdvancedType.0 Integer 1; /* plain */
SnmpMibObject enterprises.4115.1.3.1.1.2.3.5.4.0 Integer 3;
SnmpMibObject saCmWebAccessAdvancedUsername.0 String "aa";
SnmpMibObject saCmWebAccessAdvancedPassword.0 String "aa";
SnmpMibObject docsDevNmAccessStatus.1 Integer 4; /* createAndGo */
SnmpMibObject docsDevNmAccessIp.1 IPAddress 10.250.0.0;
SnmpMibObject docsDevNmAccessIpMask.1 IPAddress 255.255.0.0;
SnmpMibObject docsDevNmAccessInterfaces.1 String "@";
SnmpMibObject docsDevNmAccessControl.1 Integer 3; /* readWrite */
SnmpMibObject docsDevNmAccessCommunity.1 String "xxx";
...
}

MTA-DISCOVER
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 1
Transaction ID: 0x29717958
Seconds elapsed: 5
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: 10.250.1.222 (10.250.1.222)
Client MAC address: Scientif_98:d9:1e (00:1e:6b:98:d9:1e)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (t=53,l=1) DHCP Message Type = DHCP Discover
Option: (53) DHCP Message Type
Length: 1
Value: 01
Option: (t=55,l=10) Parameter Request List
Option: (55) Parameter Request List
Length: 10
Value: 01020306070c0f367ab1
1 = Subnet Mask
2 = Time Offset
3 = Router
6 = Domain Name Server
7 = Log Server
12 = Host Name
15 = Domain Name
54 = DHCP Server Identifier
122 = CableLabs Client Configuration [TODO:RFC3495]
177 = Etherboot
Option: (t=60,l=72) Vendor class identifier = "pktc1.0:051e0101000201020901010b030609040c01010d01010f010110010912020007"
Option: (60) Vendor class identifier
Length: 72
Value: 706b7463312e303a30353165303130313030303230313032...
MTA DC Length: 30
0x01: PacketCable Version = PacketCable 1.0 (00)
0x02: Number Of Telephony Endpoints = 02
0x09: NVRAM Ticket/Session Keys Storage Support = Yes (01)
0x0b: Supported CODEC(s) = PCMU (06), PCMA (09), reserved (04)
0x0c: Silence Suppression Support = Yes (01)
0x0d: Echo Cancellation Support = Yes (01)
0x0f: UGS-AD Support = Yes (01)
0x10: MTA's "ifIndex" starting number in "ifTable" = 09
0x12: Supported Provisioning Flows = 0x0007
.... .... .... ...1 = Secure Flow (Full Secure Provisioning Flow)
.... .... .... ..1. = Hybrid Flow
.... .... .... .1.. = Basic Flow
Option: (t=43,l=102) Vendor-Specific Information (CableLabs)
Option: (43) Vendor-Specific Information
Length: 102
Value: 0204454d5441040c534e2d3132333435363738390503312e...
Suboption 2: Device Type = "EMTA"
Suboption 4: Serial Number = "SN-123456789"
Suboption 5: Hardware Version = "1.1"
Suboption 6: Software Version = "epc2203-P10-5-v202r1262-090225cs"
Suboption 7: Boot ROM version = "2.1.6lR6"
Suboption 8: Organization Unique Identifier = 00:1e:6b
Suboption 9: Model Number = "EPC2203"
Suboption 10: Vendor Name = "S-A"
Suboption 31: MTA MAC Address = 00:1e:6b:98:d9:1e
Suboption 32: Correlation ID = 928158577
Option: (t=61,l=7) Client identifier
Option: (61) Client identifier
Length: 7
Value: 01001e6b98d91e
Hardware type: Ethernet
Client MAC address: Scientif_98:d9:1e (00:1e:6b:98:d9:1e)
Option: (t=57,l=2) Maximum DHCP Message Size = 1500
Option: (57) Maximum DHCP Message Size
Length: 2
Value: 05dc
Option: (t=82,l=22) Agent Information Option
Option: (82) Agent Information Option
Length: 22
Value: 0206001e6b98d91c010600010365c040040400000000
Agent Remote ID: 001e6b98d91c
Agent Circuit ID: 00010365c040
DOCSIS Device Class: 00000000
End Option

MTA-OFFER:
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x29717958
Seconds elapsed: 0
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: 10.250.1.209 (10.250.1.209)
Next server IP address: 10.250.1.4 (10.250.1.4)
Relay agent IP address: 10.250.1.222 (10.250.1.222)
Client MAC address: Scientif_98:d9:1e (00:1e:6b:98:d9:1e)
Client hardware address padding: 00000000000000000000
Server host name: 10.250.1.4
Boot file name: XXXX
Magic cookie: DHCP
Option: (t=53,l=1) DHCP Message Type = DHCP Offer
Option: (53) DHCP Message Type
Length: 1
Value: 02
Option: (t=54,l=4) DHCP Server Identifier = 10.250.1.4
Option: (54) DHCP Server Identifier
Length: 4
Value: 0afa0104
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 = 10.250.1.1
Option: (3) Router
Length: 4
Value: 0afa0101
Option: (t=6,l=4) Domain Name Server = 10.250.1.4
Option: (6) Domain Name Server
Length: 4
Value: 0afa0104
Option: (t=7,l=4) Log Server = 10.250.1.4
Option: (7) Log Server
Length: 4
Value: 0afa0104
Option: (t=12,l=5) Host Name = "MTA01"
Option: (12) Host Name
Length: 5
Value: 4d54413031
Option: (t=15,l=9) Domain Name = "mta.local"
Option: (15) Domain Name
Length: 9
Value: 6d74612e6c6f63616c
Option: (t=122,l=31) CableLabs Client Configuration [TODO:RFC3495]CableLabs Client Configuration (31 bytes)
Option: (122) CableLabs Client Configuration [TODO:RFC3495]
Length: 31
Value: 031200036d746107646f6d61696e73036e65740006090542...
Suboption 3: TSP's Provisioning Server: mta.domains.net (17 bytes)
Suboption 6: TSP's Kerberos Realm Name: BASIC.1 (9 bytes)
Option: (t=82,l=22) Agent Information Option
Option: (82) Agent Information Option
Length: 22
Value: 0206001e6b98d91c010600010365c040040400000000
Agent Remote ID: 001e6b98d91c
Agent Circuit ID: 00010365c040
DOCSIS Device Class: 00000000
End Option

micabu
Re:

Hi,

Modem option 122: Must contain the MTA provisioning server IP! (Not 255.255.255.255).

MTA-Offer: Option 122.3 The given FQDN (mta.domains.net) MUST be resolveable by the given DNS-server (10.250.1.4)!

Maybe specs allows to use just 255.255.255.255 but i'm not sure with the EPC2203.

CM-File:

Please add:
SnmpMibObject iso.3.6.1.4.1.1429.78.1.7.0 Integer 2 ; /* provisioning mode 2 Configfiles (Basic) */
to enable Basic provisiong flow

MTA-Offer:
Add options 66 & 67 (TFTP-Server and Bootfilename)

This should work.

BR,
Michael

docAdmin
Thank you for this Answer. I

Thank you for this Answer. I have it testet:
-Mib added
-Opt 66 & 67 added
-122.1 changed

  1. 10.250.1.4 (DHCP-/provisioning-Server)
  2. 10.250.1.222 (CMTS=DHCP-Relay)

-the DNS is in this Phase not the Problem, Wireshark shows NO DNS-Request at all

but the Loop loops ... (no DHCP-REQUEST) (with both 122.1-values)
The Log of the Modem is not readable via HTTP:
> This feature is not enabled.
> This feature has not been enabled in your cable modem.
What MIB(s) i need for accessing the full Modem-Web?
The Modem-Telnet is functioning, but i have no usefull things (for that) found.

Peter

micabu
Next round... ;-)

Hi Peter,
try to use "BASIC.2" on the MTA-Option 122.6. Maybe the EPC does not support BASIC.1.

Please have a look with Wireshark for the MTA-Discover and the requested options.
On using Basic flow the MTA must request for option 66 & 67. If not you are still on Hybrid/Secure mode.

For debugging (enable WEB-Site):
You have to use the DPXCM-MIB

OID: 1.3.6.1.4.1.1429.77.1.3.2.0 = 2 /* open access
OID: 1.3.6.1.4.1.1429.77.1.3.6.0 = 1 /* website enabled
OID: 1.3.6.1.4.1.1429.77.1.3.10.0 = 1 /* remote access enabled
OID: 1.3.6.1.4.1.1429.77.1.3.16.0 = admin /* username
OID: 1.3.6.1.4.1.1429.77.1.3.7.0 = voip /* password
OID: 1.3.6.1.4.1.1429.77.1.3.12.0 = voip /* advanced console enable password

Telnet:
TLV 43.106 Typ: binary (byte)
Value: 0x01 (Telnet on)

TLV 43.107 Typ: string
Value: admin (Telnet user)

TLV 43.108 Typ: string
Value: voip (Telnet password)

BR,
Michael

PS: Here is a cm-config out of my provisiong system for the EPC2203:

Main
{
MaxCPE 3;
DsServiceFlow
{
DsServiceFlowRef 2;
MaxRateSustained 20480000;
MaxTrafficBurst 22400;
QosParamSetType 7;
}
UsServiceFlow
{
UsServiceFlowRef 1;
MaxRateSustained 10240000;
MaxTrafficBurst 22400;
QosParamSetType 7;
MaxConcatenatedBurst 22400;
SchedulingType 2;
}

GlobalPrivacyEnable 1;
BaselinePrivacy
{
AuthTimeout 2;
AuthRejectTimeout 60;
SAMapMaxRetries 4;
SAMapWaitTimeout 1;
TEKGraceTime 60;
ReKeyTimeout 2;
OperTimeout 2;
AuthGraceTime 60;
ReAuthTimeout 2;
}
NetworkAccess 1;
SwUpgradeFilename "epc2203-ESIP-16-v202r1262-080530s-CVC060414.p7b";
SwUpgradeServer 172.17.2.60;
SnmpMibObject docsDevSwAdminStatus.0 Integer 2;
MfgCVCData 0x3082038130820269a003020102021025e506f4870a8a20792a2450f4a3c5a6300d06092a864886f70d0101050500306f310b3009060355040613024245311f301d060355040a131674436f6d4c616273202d204575726f2d444f4353495331153013060355040b130c4361626c65204d6f64656d73312830260603550403131f4575726f2d444f43534953204361626c65204d6f64656d20526f6f74204341301e170d3034303631363030303030305a170d3134303631353233353935395a306e310b30090603550406130255533121301f060355040a1318536369656e74696669632d41746c616e74612c20496e632e31143012060355040b130b4575;
MfgCVCData 0x726f2d444f43534953312630240603550403131d436f646520566572696669636174696f6e20436572746966696361746530820122300d06092a864886f70d01010105000382010f003082010a0282010100c898982db5d3fde6f72bf1222e3afbaa0caaa2d4bbfbcbd922610295b7363ce22dc6338bf01aa6f514d623ec416b4c3f0e8c1b1471be514c29faf571bf12fee7096279472c84d636eaada4e32934d10963e42680f83b7972c0451d5b391e62b4ae3b5fd307219b060d7042645f08e0a795b009e9267135037123e16c798906c5cadb2c09aca57e436cfe81841f3924bbc5749d220dae7678f4da41e7fc24a518715fbb785758e6ba95689263;
MfgCVCData 0x5973ac6ecab32064966370c5f61ee9a8eda88f6c49c82db744ae226f71ca39a866a96b96631a2b417a13b3c1d27ae6f06d93923e6a43a514bb3d8d1752e8c0ce2499db683473f9aaaec4d03dd4fb06c92fb374a90203010001a31a301830160603551d250101ff040c300a06082b06010505070303300d06092a864886f70d0101050500038201010052fc60eed3bcf322776db86d5cb73796ea300e2661e5506ead0a82f5094de449115359ae5a8299e14d8c3616b7610c4a7fce3c9f7a634c33e80a41618e0a8c07beb3ba29136cef654c1507fd6d013a54d330830443723e364091bfc0ccc8bf374d17f421dd1d1b01b336a3f46bd91fc89b83cb2b0a;
MfgCVCData 0x8da2c40a876e8befe521eb2369cb171d687f67158417f1833d0b168d74128ee80090a6c45d8c8baa227237b18c61137373628339bcbacae6455defe25338e1ceb23e37ebf21e148949c0d4763b3c39e337a99aaf311175af4823eb3f6370de01bc5d96f0cffa054d6e55034ff07adf22ea55a3fd6e176b36a55ffe300af14301f67f0581626f3f223bb916;
SnmpMibObject saCmMtaProvisioningMode.0 Integer 2 ;
SnmpMibObject saCmMtaCliAccessType.0 Integer 1 ;
SnmpMibObject saCmMtaCliAccessUsername.0 String "admin" ;
SnmpMibObject saCmMtaCliAccessPassword.0 String "1234" ;
VendorSpecific
{
VendorIdentifier 0x00407b;
GenericTLV TlvCode 106 TlvLength 1 TlvValue 0x01;
}
}

docAdmin
No Success )-:

Thank you for your help.
I thing i should update the Firmware. I see you have epc2203-ESIP-16-v202r1262-080530s-CVC060414.p7b. I need the SIP-Variant. Could you send me this binary {docAdmin4685 (ät) p (punkt) koetschlitz (punkt) de}? With the same Software i should have the same Results as you.

Peter

micabu
Sure

mail is on the way...

BR,
Michael

docAdmin
Solved

The EMTA needs Option 51 in the offer. This is whyever not signalisiert in the Option 55 of the discover. Sending this Option solves the issue.
Thanks to all who have helped.

Log in or register to post comments