Incrementing interfaces

Dan Morphis dan at milkcarton.com
Tue Oct 10 14:40:25 EDT 2017


THe wireshark/tcpdump logs aren't want you want to check. You want to check
the syslog on the CPE itself.

-dan

On Tue, Oct 10, 2017 at 10:27 AM, Margerita <polanski.michal.mail at gmail.com>
wrote:

> Hi,
>
> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
> null, {path: 1}); or path: 2 or path: 3 works OK and creates 1 or 2 or 3
> interfaces.
> Problem occures later, I checked with tcpdump and it looks, that Genie
> sends:
>
> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.
> instead of
> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.
> WANIPConnection.1.Name
>
> and empty parameter/value.
>
> Attached screenshot from wireshark - response for this was 9005
>
> br,
>
> W dniu 2017-10-10 o 18:57, Dan Morphis pisze:
>
> What do the logs on the CPE have in them?
>
> On Tue, Oct 10, 2017 at 1:23 AM, Margerita <polanski.michal.mail at gmail.com
> > wrote:
>
>> Thanks Dan,
>>
>> I got your idea here, but I can't get it to work this way. I got 9005
>> error even with smallest configuration like this:
>>
>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
>> null, {path: 1});
>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WA
>> NIPConnection.*.[Name:Routed]", {path:1}, {path: 1});
>>
>> any ideas?
>>
>> --
>> Michal
>>
>> W dniu 2017-10-05 o 18:54, Dan Morphis pisze:
>>
>> Try this :)
>>
>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
>> null, {path: 2}); //Tell genie we want two interfaces
>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WA
>> NIPConnection.*.[ConnectionType:IP_Routed,Name:Routed,Enable:true]",
>> {path: 1}, {path: 1});
>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WA
>> NIPConnection.*.[ConnectionType:IP_Bridged,Name:Bridged,Enable:true]",
>> {path: 1}, {path: 1});
>>
>> That will create two interfaces. If there are more interfaces than that,
>> they will be deleted. If there are less than 2, then interfaces will be
>> added until the count is 2. Then it will set the parameters to whats in the
>> brackets.
>>
>> -dan
>>
>> On Thu, Oct 5, 2017 at 4:33 AM, Margerita <polanski.michal.mail at gmail.com
>> > wrote:
>>
>>> Hi,
>>>
>>> I would like to create two interfaces using Provision:
>>>
>>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
>>> null, {path: 1});
>>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WA
>>> NIPConnection.*.ConnectionType", null, {value: "IP_Routed"});
>>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.*",
>>> null, {path: 1});
>>> declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WA
>>> NIPConnection.*.ConnectionType", null, {value: "IP_Bridged"});
>>>
>>> and want to achieve the following effect:
>>>
>>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANI
>>> PConnection.1
>>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ConnectionType
>>> IP_Routed
>>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANI
>>> PConnection.2
>>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.ConnectionType
>>> IP_Bridged
>>>
>>> but whatever I put in path values, I always finish with only one
>>> interface or with two interfaces but both 'IP_Bridged'.
>>> What is the correct method for achieving my goal?
>>>
>>> --
>>> Michal
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.genieacs.com
>>> http://lists.genieacs.com/mailman/listinfo/users
>>>
>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.genieacs.comhttp://lists.genieacs.com/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.genieacs.comhttp://lists.genieacs.com/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171010/cd84ce53/attachment.html>


More information about the Users mailing list