View previous topic :: View next topic |
Author |
Message |
arvis
Joined: 24 Feb 2009 Posts: 1
|
Posted: Tue Feb 24, 2009 2:45 am Post subject: Multiple interfaces & multicasting |
|
|
Hi!
Sorry for my english
I have broblem with many interfaces and multicasting...
# route add -net 239.0.0.0 netmask 255.0.0.0 br0
# route add -net 239.0.0.0 netmask 255.0.0.0 tap0
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp0
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp1
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp2
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp3
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp4
Then started miniupnp daemon:
# /usr/local/sbin/miniupnpd -d -a 0.0.0.0
Code: |
miniupnpd[12127]: system uptime is 10091 seconds
miniupnpd[12127]: Reloading rules from lease file
miniupnpd[12127]: HTTP listening on port 22347
miniupnpd[12127]: Listening for NAT-PMP traffic on port 5351
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2526 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2526 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2526 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2533 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2533 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2533 ST: upnp:rootdevice
|
Here packet dump:
# tcpdump -i ppp2 -s1500
Code: |
.ZЈI 3..........................E..o..@...&.
.WяпяяъTЅ.l.['ЈNOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:device:Inter
netGatewayDevice:1
NTS:ssdp:alive
.ZЈI_3..{...{...................E..k..@...&.
.WяпяяъTЅ.l.W.рNOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:device:WANConnectionDevice:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:device:WANCo
nnectionDevice:1
NTS:ssdp:alive
.WяпяяъTЅ.l.Ca.NOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:device:WANDevice:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:device:WANDe
vice:1
NTS:ssdp:alive
.ZЈIШ3..........................E..w..@...&}
.WяпяяъTЅ.l.c]ВNOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:service:WANC
ommonInterfaceConfig:1
NTS:ssdp:alive
|
I think you need replace Location:http://0.0.0.0:22347/rootDesc.xml with source interface address or something like that...
Thank you! |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Wed Feb 25, 2009 1:05 pm Post subject: |
|
|
instead of
Code: | # /usr/local/sbin/miniupnpd -d -a 0.0.0.0 |
you have to do
Code: | # /usr/local/sbin/miniupnpd -d -a [ip of 1st lan interface] -a [ip of 2nd lan interface] [etc.] |
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|