IPV6 in Stateless GUI

287 views
Skip to first unread message

romel mathew

unread,
Nov 7, 2021, 10:12:41 AM11/7/21
to TRex Traffic Generator
Hi, Does anyone know if we can use an IPV6 address in the stateless GUI? 
Unfortunately in my network i have only IPV6, 
I have assigned a static ipv6 address to the TRex server. I am able to ping the address. However, when i use the same IPV6 address in stateless GUI i get the error. 
"Invalid TRex Hostname or IP Address" 

Please help. 

Besart Dollma

unread,
Nov 7, 2021, 11:51:06 AM11/7/21
to TRex Traffic Generator
Hi, 
It is better to ask in the Github for GUI since mostly the core team replies here.
Thanks, 

yong zhao

unread,
Nov 10, 2021, 8:47:38 AM11/10/21
to romel mathew, TRex Traffic Generator
Follow my experiences:

1. Enable dual stack IPv4/IPv6 between Trex port and DUT, you can not config IPv6 at trex port, but only config IPv4 at Trex GUI.
2. Config static IPv6 nd and point IPv6 route to Trex port.
3. Build IPv6 steams and sent on Trex GUI.

There are two limitation for Trex GUI with IPv6.

1. IPv6 packet header cannot be changed through field engine in GUI, just change TCP/UDP port. (only GUI not support)
2. If you want to send IPv6 traffics, you need to bind the mapping relationship between nd and MAC on the DUT, same as above 2.

Thanks!
Best Regards!

Yong Zhao


romel mathew <romelm...@gmail.com> 于2021年11月7日周日 下午11:12写道:
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/614ae965-f3e5-4311-b1ec-ffc5d927a863n%40googlegroups.com.

romel mathew

unread,
Nov 12, 2021, 8:04:42 AM11/12/21
to TRex Traffic Generator
Hi Frank, Thanks for your inputs. 
Apologies, i do not understand about enabling dual stack and DUT? 

Let me Rephrase the question, I would like to run trex in interactive mode, ./_t-rex-64-0 -i, on an IPv6-only network, but it seems like it's not accepting IPv6 connections. Am i missing something or whether TRex interactive-mode is not IPv6-ready.
Do we need to give TRex a special option to listen on the IPv6 address?

$ nc -zvv -6 2001:420:27c1:b02:5054:ff:fe01:d54a 4500
 nc: connectx to 2001:420:27c1:b02:5054:ff:fe01:d54a port 4500 (tcp) failed: Connection refused

trex-01:/# nc -zvv 127.0.0.1 4500 127.0.0.1 (127.0.0.1:4500) open sent 0, rcvd 0
 trex-01:/# nc -zvv 0:0:0:0:0:0:0:1 4500 nc: 0:0:0:0:0:0:0:1 ([::1]:4500): Connection refused sent 0, rcvd 0

Regards,
Romal

yong zhao

unread,
Nov 12, 2021, 8:12:38 AM11/12/21
to romel mathew, TRex Traffic Generator
Hi Romel,

Sorry, I just enable ipv4 on trex port. And enable IPv4+ipv6 on the DUT, only special ipv6 use static need point to trex port on DUT.

Then add ipv6 traffic streams, that is all.
Then I completed network drill, as follow:

http://www.zhaocs.info/网络演练中bird的使用.html

Thanks
Yong

romel mathew <romelm...@gmail.com>于2021年11月12日 周五下午9:04写道:
--

yong zhao

unread,
Nov 12, 2021, 8:17:36 AM11/12/21
to romel mathew, TRex Traffic Generator
No special ipv6 option, just ./t-Rex-64 -i

Thanks
Yong

yong zhao <frank.y...@gmail.com>于2021年11月12日 周五下午9:12写道:
Reply all
Reply to author
Forward
0 new messages