UDP application video streaming on IPv6 Flat Network causing error

66 views
Skip to first unread message

Life on Dorian

unread,
Feb 3, 2010, 4:07:36 AM2/3/10
to omnetpp
Hi every one:
I am trying to run a simulation on a IPv6 Flat Network with UDP
video streaming application. However, I keep getting an error
"(UDPPacket)VideoStrmReq arrived from lower layer without control
info". Does that ring any bell?

Is it I have missed out some specific setting, or it is a bug?

Basically, I am just adding few lines to the "inet/examples/ipv6/
demonetworketh/omnetpp.ini" file. I have put down the code below. Just
be more precise, I have pasted the same code to a IPv4 Flat Network,
the simulation run smoothly.

Thanks for help attempt.

Cheers,
Tim

# This ini file runs Telnet sessions on the NClients network, using
# TelnetApp+TCPGenericSrvApp.
#
# See also fileTransfer.ini and basicHTTP.ini for different kinds of
# network traffic.
#

[General]
network = NClients
debug-on-errors = true
tkenv-plugin-path = ../../../etc/plugins

# number of client computers
*.n = 1

# tcp apps
**.cli[*].numTcpApps = 0
**.cli[*].tcpAppType = "TelnetApp"
**.cli[*].tcpApp[0].address = ""
**.cli[*].tcpApp[0].port = -1
**.cli[*].tcpApp[0].connectAddress = "srv"
**.cli[*].tcpApp[0].connectPort = 1000

**.cli[*].tcpApp[0].startTime = exponential(5s)
**.cli[*].tcpApp[0].numCommands = exponential(10)
**.cli[*].tcpApp[0].commandLength = exponential(10B)
**.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
**.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
**.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
**.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
**.cli[*].tcpApp[0].reconnectInterval = 30s

**.srv.numTcpApps = 0
**.srv.tcpAppType = "TCPGenericSrvApp"
**.srv.tcpApp[0].address = ""
**.srv.tcpApp[0].port = 1000
**.srv.tcpApp[0].replyDelay = 0

# tcp settings
#**.tcp.sendQueueClass = "TCPMsgBasedSendQueue"
#**.tcp.receiveQueueClass = "TCPMsgBasedRcvQueue"

# udp settings
**.srv.numUdpApps = 1
**.srv.udpAppType = "UDPVideoStreamSvr"
**.srv.udpApp[*].videoSize = 10MB
**.srv.udpApp[*].serverPort = 3088
**.srv.udpApp[*].waitInterval = 10ms
**.srv.udpApp[*].packetLen = 1000B

**.cli*.numUdpApps = 1
**.cli*.udpAppType = "UDPVideoStreamCli"
**.cli*.udpApp[*].serverAddress = "srv[0]"
**.cli*.udpApp[*].localPort = 9999
**.cli*.udpApp[*].serverPort = 3088
**.cli*.udpApp[*].startTime = 5s


# NIC configuration
**.ppp[*].queueType = "DropTailQueue" # in routers
**.ppp[*].queue.frameCapacity = 10 # in routers

Life on Dorian

unread,
Feb 3, 2010, 4:15:18 AM2/3/10
to omnetpp
Pasted wrong code. The pasted code is for the IPv4 network. Here is
for the IPv6 network.

#
# This ini file runs Telnet sessions on the DemoNetworkEth network,


using
# TelnetApp+TCPGenericSrvApp.
#
# See also fileTransfer.ini and basicHTTP.ini for different kinds of
# network traffic.
#

[General]
debug-on-errors = false
network = DemoNetworkEth
tkenv-plugin-path = ../../../etc/plugins

# number of client and server computers
*.n = 1

# configurator
#*.configurator.useTentativeAddrs=false # FIXME TBD to be switched to
true, for testing DAD!

# tcp apps
#**.cli[*].numTcpApps = 1
#**.cli[*].tcpAppType = "TelnetApp"
#**.cli[*].tcpApp[0].address = ""
#**.cli[*].tcpApp[0].port = 1000
##IP address intentionally set incorrectly
#**.cli[*].tcpApp[0].connectAddress = "srv[1]"
##**.cli[*].tcpApp[0].connectAddress="aaaa:2a:1:0:aaa:ff:fe00:dddd"
#**.cli[*].tcpApp[0].connectPort = 1000
#
#
#**.cli[*].tcpApp[0].startTime = 5s
##**.cli[*].tcpApp[0].startTime = uniform(10s,15s)
#**.cli[*].tcpApp[0].numCommands = exponential(10)
#**.cli[*].tcpApp[0].commandLength = exponential(10B)
#**.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
#**.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
#**.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
#**.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
#**.cli[*].tcpApp[0].reconnectInterval = 30s
#
#**.srv[*].numTcpApps = 1
#**.srv[*].tcpAppType = "TCPGenericSrvApp"
#**.srv[*].tcpApp[0].address = ""
#**.srv[*].tcpApp[0].port = 1000
#**.srv[*].tcpApp[0].replyDelay = 0
#
## tcp settings


#**.tcp.sendQueueClass = "TCPMsgBasedSendQueue"
#**.tcp.receiveQueueClass = "TCPMsgBasedRcvQueue"


# udp settings
**.srv[0].numUdpApps = 1
**.srv[0].udpAppType = "UDPVideoStreamSvr"
**.srv[0].udpApp[*].videoSize = 10MB
**.srv[0].udpApp[*].serverPort = 3088
**.srv[0].udpApp[*].waitInterval = 10ms
**.srv[0].udpApp[*].packetLen = 1000B

**.cli*.numUdpApps = 1
**.cli*.udpAppType = "UDPVideoStreamCli"
**.cli*.udpApp[*].serverAddress = "srv[0]"
**.cli*.udpApp[*].localPort = 9999
**.cli*.udpApp[*].serverPort = 3088
**.cli*.udpApp[*].startTime = 5s

#**.cli[1].numUdpApps = 0


# ip settings
**.routingTableFile = xmldoc("empty.xml")

# Ethernet NIC configuration
**.eth[*].queueType = "DropTailQueue" # in routers
**.eth[*].queue.frameCapacity = 10 # in routers
**.eth[*].mac.txrate = 10Mbps
**.eth[*].mac.duplexEnabled = true

# explicit mac addresses (used for testing purposes)
#**.cli[0].eth[0].mac.address = "0A-AA-00-00-00-01"
#**.srv.eth[0].mac.address = "0A-AA-00-00-00-02"
#**.r1.eth[0].mac.address = "0A-AA-00-00-00-03"
#**.r1.eth[1].mac.address = "0A-AA-00-00-00-04"
#**.r2.eth[0].mac.address = "0A-AA-00-00-00-04"
#**.r2.eth[1].mac.address = "0A-AA-00-00-00-06"
#**.r3.eth[0].mac.address = "0A-AA-00-00-00-07"
#**.r3.eth[1].mac.address = "0A-AA-00-00-00-08"

Reply all
Reply to author
Forward
0 new messages