| Title | Relaying a Relay-reply Message |
| CommandLine | ./R_RFC3315_20_RelayReplyMsg.seq -pkt ./R_RFC3315_20_RelayReplyMsg.def -log 12.html -ti Relaying a Relay-reply Message |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 13:38:39 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./R_RFC3315_20_RelayReplyMsg.def |
| System | dibbler |
| TargetName | FedoraCore4+Dibbler |
| HostName | NUT.64translator.com |
| Type | router |
| 13:38:39 | Start | ||||||||||||||||
|
==== NUT Initialization ==== |
|||||||||||||||||
| 13:38:39 |
vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/dibbler//manualaddrconf.rmt -t dibbler -u root -p v6eval -d cuaa0 -o 1 if=eth0 addr=3ffe:501:ffff:100:200:ff:fe00:a4a4 len=64 type=unicast''
Connected. [root@localhost ~]# [root@localhost ~]# ifconfig eth0 inet6 add 3ffe:501:ffff:100:200:ff:fe00:a4a4/ 64 [root@localhost ~]# sendMessagesSync: never got ifconfig eth0 inet6 add 3ffe:501:ffff:100:200:ff:fe00:a4a4/64 echo $? 0 [root@localhost ~]# ~. Disconnected. | ||||||||||||||||
| 13:38:49 |
vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/dibbler//manualaddrconf.rmt -t dibbler -u root -p v6eval -d cuaa0 -o 1 if=eth1 addr=3ffe:501:ffff:101:200:ff:fe00:a5a5 len=64 type=unicast''
Connected. [root@localhost ~]# [root@localhost ~]# ifconfig eth1 inet6 add 3ffe:501:ffff:101:200:ff:fe00:a5a5/ 64 [root@localhost ~]# sendMessagesSync: never got ifconfig eth1 inet6 add 3ffe:501:ffff:101:200:ff:fe00:a5a5/64 echo $? 0 [root@localhost ~]# ~. Disconnected. | ||||||||||||||||
| vRemote("dhcp6r.rmt", "start","link0=eth0","link1=eth1","servermulticast","clientmulticast") | |||||||||||||||||
| 13:39:00 |
vRemote(dhcp6r.rmt) ``/usr/local/v6eval//bin/dibbler//dhcp6r.rmt -t dibbler -u root -p v6eval -d cuaa0 -o 1 start link0=eth0 link1=eth1 servermulticast clientmulticast''
Connected.
[root@localhost ~]#
[root@localhost ~]# killall dibbler-relay
dibbler-relay: no process killed
[root@localhost ~]# echo $?
1
[root@localhost ~]# rm -f /var/lib/dibbler/*.xml;rm -f /var/lib/dibbler/*.pid
[root@localhost ~]# echo $?
0
[root@localhost ~]# echo "log-level 8
> log-mode full
>
> iface eth0 {
> server multicast yes
> #
> }
> iface eth1 {
> client multicast yes
> #
> interface-id 16843009
> }
> " > /etc/dibbler/relay.conf
[root@localhost ~]# sendMessagesSync: never got echo "log-level 8
log-mode full
iface eth0 {
server multicast yes
#
}
iface eth1 {
client multicast yes
#
interface-id 16843009
}
" > /etc/dibbler/relay.conf
echo $?
0
[root@localhost ~]# ifconfig eth0 promisc
[root@localhost ~]# echo $?
0
[root@localhost ~]# ifconfig eth1 promisc
[root@localhost ~]# echo $?
0
[root@localhost ~]# /usr/sbin/dibbler-relay start
| Dibbler - a portable DHCPv6, version 0.4.1(RELAY, Linux port)
| Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
| Licence : GNU GPL v2 or later. Developed at Gdansk University of Technology.
| Homepage: http://klub.com.pl/dhcpv6/
Starting daemon...
[root@localhost ~]#
[root@localhost ~]# echo $?
0~.
Disconnected.
| ||||||||||||||||
| 13:39:10 | Start Capturing Packets (Link0) | ||||||||||||||||
| 13:39:10 | Clear Captured Packets (Link0) | ||||||||||||||||
| 13:39:10 | Start Capturing Packets (Link1) | ||||||||||||||||
| 13:39:10 | Clear Captured Packets (Link1) | ||||||||||||||||
| 13:39:10 |
vSend(Link1,solicit_client1_to_alldhcp) Send DHCPv6 Solicit Message: CLIENT1 --> all DHCPv6 Servers |
||||||||||||||||
Solicit Message
|
|||||||||||||||||
| 13:39:10 | vRecv(Link0,relayforward_solicit_nut_to_server1 ns_nutrelay_to_client_local ns_nutrelay_to_server ns_nutrelay_to_client_global ns_nutrelay_to_relay ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 Receive DHCPv6 Relay-forward Message(Solicit): NUT --> SERVER1 |
||||||||||||||||
|
got DHCPv6 Relay Forward Message(Solicit) Relay-forward Message
Solicit Message in Relay Message Option
|
|||||||||||||||||
| 13:39:10 |
vSend(Link0,relay_advertise_server1_to_client1_1relay) Send DHCPv6 Relay-reply message(Advertise): SERVER1--> CLIENT1 |
||||||||||||||||
Relay-reply Message
Advertise Message in Relay Message Option
|
|||||||||||||||||
| 13:39:10 | vRecv(Link1,dhcp6_advertise ns_nutrelay_to_client_local ns_nutrelay_to_server ns_nutrelay_to_client_global ns_nutrelay_to_relay ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 Receive NS NUT --> Any |
||||||||||||||||
| 13:39:11 |
vSend(Link1,na_client1_to_nut_local) Send NA: CLIENT1 --> NUT |
||||||||||||||||
| 13:39:11 | vRecv(Link1,dhcp6_advertise ns_nutrelay_to_client_local ns_nutrelay_to_server ns_nutrelay_to_client_global ns_nutrelay_to_relay ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 Receive DHCPv6 Advertise Message: NUT --> Any |
||||||||||||||||
|
got DHCPv6 Advertise Message Advertise Message
The original Msg type is Udp_DHCPv6_Advertise Relayed message is consitent with the orginal message! The Message exchange is correct *** Target test finish *** DHCPv6 Relay agent stop |
|||||||||||||||||
| 13:39:11 |
vRemote(dhcp6r.rmt) ``/usr/local/v6eval//bin/dibbler//dhcp6r.rmt -t dibbler -u root -p v6eval -d cuaa0 -o 1 stop ''
Connected. [root@localhost ~]# [root@localhost ~]# killall dibbler-relay [root@localhost ~]# echo $? 0 [root@localhost ~]# rm -f /var/lib/dibbler/*.xml;rm -f /var/lib/dibbler/*.pid [root@localhost ~]# echo $? 0 [roo~. Disconnected. | ||||||||||||||||
| 13:39:14 |
vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/dibbler//manualaddrconf.rmt -t dibbler -u root -p v6eval -d cuaa0 -o 1 if=eth0 addr=3ffe:501:ffff:100:200:ff:fe00:a4a4 len=64 type=delete''
Connected. [root@localhost ~]# [root@localhost ~]# ifconfig eth0 inet6 del 3ffe:501:ffff:100:200:ff:fe00:a4a4/6 4 [root@localhost ~]# sendMessagesSync: never got ifconfig eth0 inet6 del 3ffe:501:ffff:100:200:ff:fe00:a4a4/64 echo $? 0 [root@localhost ~]# ~. Disconnected. | ||||||||||||||||
| 13:39:25 | Stop Capturing Packets (Link0) | ||||||||||||||||
|
Stop Link0 |
|||||||||||||||||
| 13:39:25 |
vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/dibbler//manualaddrconf.rmt -t dibbler -u root -p v6eval -d cuaa0 -o 1 if=eth1 addr=3ffe:501:ffff:101:200:ff:fe00:a5a5 len=64 type=delete''
Connected. [root@localhost ~]# [root@localhost ~]# ifconfig eth1 inet6 del 3ffe:501:ffff:101:200:ff:fe00:a5a5/6 4 [root@localhost ~]# sendMessagesSync: never got ifconfig eth1 inet6 del 3ffe:501:ffff:101:200:ff:fe00:a5a5/64 echo $? 0 [root@localhost ~]# ~. Disconnected. | ||||||||||||||||
| 13:39:35 | Stop Capturing Packets (Link1) | ||||||||||||||||
|
Stop Link1 OK |
|||||||||||||||||
| 13:39:35 | End |
Frame_Ether (length:100) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:02 | | SourceAddress = 00:00:00:00:a2:a2 | | Type = 34525 | Packet_IPv6 (length:86) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 46 | | | NextHeader = 17 | | | HopLimit = 1 | | | SourceAddress = fe80::200:ff:fe00:a2a2 | | | DestinationAddress = ff02::1:2 | | Upp_UDP (length:46) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 46 | | | | Checksum = 29789 calc(29789) | | | Udp_DHCPv6_Solicit (length:38) | | | | Type = 1 | | | | Identifier = 100 | | | | Opt_DHCPv6_CID (length:18) | | | | | Code = 1 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 300000 | | | | | | LinkLayerAddress = 00:00:00:00:a2:a2 | | | | Opt_DHCPv6_IA_NA (length:16) | | | | | Code = 3 | | | | | Length = 12 | | | | | Identifier = 101010 | | | | | Time1 = 4000 | | | | | Time2 = 5000
Frame_Ether (length:146) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:0d:56:0e:10:e8 | | Type = 34525 | Packet_IPv6 (length:132) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 92 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:92) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 92 | | | | Checksum = 36203 calc(36203) | | | Udp_DHCPv6_RelayForward (length:84) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101 | | | | Opt_DHCPv6_RelayMessage (length:42) | | | | | Code = 9 | | | | | Length = 38 | | | | | Udp_DHCPv6_Solicit (length:38) | | | | | | Type = 1 | | | | | | Identifier = 100 | | | | | | Opt_DHCPv6_CID (length:18) | | | | | | | Code = 1 | | | | | | | Length = 14 | | | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | | | Type = 1 | | | | | | | | HardwareType = 1 | | | | | | | | Time = 300000 | | | | | | | | LinkLayerAddress = 00:00:00:00:a2:a2 | | | | | | Opt_DHCPv6_IA_NA (length:16) | | | | | | | Code = 3 | | | | | | | Length = 12 | | | | | | | Identifier = 101010 | | | | | | | Time1 = 4000 | | | | | | | Time2 = 5000 ===relayforward_solicit_nut_to_server1=================================
Frame_Ether (length:164) | Hdr_Ether (length:14) | | DestinationAddress = 00:0d:56:0e:10:e8 | | SourceAddress = 00:00:00:00:a1:a1 | | Type = 34525 | Packet_IPv6 (length:150) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 110 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::200:ff:fe00:a1a1 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:110) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 110 | | | | Checksum = 6534 calc(6534) | | | Udp_DHCPv6_RelayReply (length:102) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = :: | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101 | | | | Opt_DHCPv6_RelayMessage (length:60) | | | | | Code = 9 | | | | | Length = 56 | | | | | Udp_DHCPv6_Advertise (length:56) | | | | | | Type = 2 | | | | | | Identifier = 103 | | | | | | Opt_DHCPv6_CID (length:18) | | | | | | | Code = 1 | | | | | | | Length = 14 | | | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | | | Type = 1 | | | | | | | | HardwareType = 1 | | | | | | | | Time = 300000 | | | | | | | | LinkLayerAddress = 00:00:00:00:a2:a2 | | | | | | Opt_DHCPv6_SID (length:18) | | | | | | | Code = 2 | | | | | | | Length = 14 | | | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | | | Type = 1 | | | | | | | | HardwareType = 1 | | | | | | | | Time = 400000 | | | | | | | | LinkLayerAddress = 00:00:00:00:a1:a1 | | | | | | Opt_DHCPv6_IA_NA (length:16) | | | | | | | Code = 3 | | | | | | | Length = 12 | | | | | | | Identifier = 101010 | | | | | | | Time1 = 4000 | | | | | | | Time2 = 5000
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:00:a2:a2 | | SourceAddress = 00:0a:79:03:09:72 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::20a:79ff:fe03:972 | | | DestinationAddress = ff02::1:ff00:a2a2 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 12377 calc(12377) | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:a2a2 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:0a:79:03:09:72 ===dhcp6_advertise================================= ng compare _HDR_IPV6_dhcp6_advertise.NextHeader received:58 = 17 ng meta Packet_IPv6.Upp_UDP != Packet_IPv6.ICMPv6_NS ===ns_nutrelay_to_client_local================================= ng compare _HDR_IPV6_ns_nutrelay_to_client_local.SourceAddress received:fe80::20a:79ff:fe03:972 = fe80::20d:56ff:fe0e:10e8 ng compare _HDR_IPV6_ns_nutrelay_to_client_local.DestinationAddress received:ff02::1:ff00:a2a2 = fe80::200:ff:fe00:a2a2 ===ns_nutrelay_to_server================================= ng compare _HDR_IPV6_ns_nutrelay_to_server.SourceAddress received:fe80::20a:79ff:fe03:972 = fe80::20d:56ff:fe0e:10e8 ng compare _HDR_IPV6_ns_nutrelay_to_server.DestinationAddress received:ff02::1:ff00:a2a2 = fe80::200:ff:fe00:a1a1 ng compare _ICMPV6_ns_nutrelay_to_server.TargetAddress received:fe80::200:ff:fe00:a2a2 = fe80::200:ff:fe00:a1a1 ===ns_nutrelay_to_client_global================================= ng compare _HDR_IPV6_ns_nutrelay_to_client_global.SourceAddress received:fe80::20a:79ff:fe03:972 = 3ffe:501:ffff:101:200:ff:fe00:a5a5 ng compare _HDR_IPV6_ns_nutrelay_to_client_global.DestinationAddress received:ff02::1:ff00:a2a2 = 3ffe:501:ffff:100:200:ff:fe00:a2a2 ng compare _ICMPV6_ns_nutrelay_to_client_global.TargetAddress received:fe80::200:ff:fe00:a2a2 = 3ffe:501:ffff:100:200:ff:fe00:a2a2 ===ns_nutrelay_to_relay================================= ng compare _HDR_IPV6_ns_nutrelay_to_relay.SourceAddress received:fe80::20a:79ff:fe03:972 = 3ffe:501:ffff:101:200:ff:fe00:a5a5 ng compare _ICMPV6_ns_nutrelay_to_relay.TargetAddress received:fe80::200:ff:fe00:a2a2 = 3ffe:501:ffff:101:200:ff:fe00:a7a7 ===ns_nut_to_any_global================================= ng compare _HDR_IPV6_ns_nut_to_any_global.SourceAddress received:fe80::20a:79ff:fe03:972 = 3ffe:501:ffff:100::abcd ng compare _ICMPV6_ns_nut_to_any_global.TargetAddress received:fe80::200:ff:fe00:a2a2 = 3ffe:501:ffff:100:200:ff:fe00:a2a2 ===ns_nut_to_any_local=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:0a:79:03:09:72 | | SourceAddress = 00:00:00:00:a2:a2 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a2a2 | | | DestinationAddress = fe80::20a:79ff:fe03:972 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 11449 calc(11449) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:a2a2 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a2:a2
Frame_Ether (length:118) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a2:a2 | | SourceAddress = 00:0a:79:03:09:72 | | Type = 34525 | Packet_IPv6 (length:104) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 64 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::20a:79ff:fe03:972 | | | DestinationAddress = fe80::200:ff:fe00:a2a2 | | Upp_UDP (length:64) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 546 | | | | Length = 64 | | | | Checksum = 13314 calc(13314) | | | Udp_DHCPv6_Advertise (length:56) | | | | Type = 2 | | | | Identifier = 103 | | | | Opt_DHCPv6_CID (length:18) | | | | | Code = 1 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 300000 | | | | | | LinkLayerAddress = 00:00:00:00:a2:a2 | | | | Opt_DHCPv6_SID (length:18) | | | | | Code = 2 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 400000 | | | | | | LinkLayerAddress = 00:00:00:00:a1:a1 | | | | Opt_DHCPv6_IA_NA (length:16) | | | | | Code = 3 | | | | | Length = 12 | | | | | Identifier = 101010 | | | | | Time1 = 4000 | | | | | Time2 = 5000 ===dhcp6_advertise=================================