Interface
Scenario to verify RIPng interface configuration and route redistribution. This test validates that RIPng can advertise IPv6 routes through configured interfaces. DUT0 configures a dummy interface and redistributes its connected route to DUT1 via RIPng.
Test RIPng Interface Redistribution
Description
Test RIPng interface configuration with redistribute connected.
DUT0 configures RIPng on interface eth0 and redistributes
the connected dummy route 2001:db8:100::/64. DUT1 learns this route.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces dummy dum0 address '2001:db8:100::1/64' set interfaces ethernet eth0 address '2001:db8:1::100/64' set protocols ripng interface eth0 set protocols ripng redistribute connected set protocols ripng timers update 5 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '2001:db8:1::50/64' set protocols ripng interface eth0 set protocols ripng timers update 5 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Attention
Verify that DUT1 learns route 2001:db8:100::/64 via eth0
Step 3: Run command protocols ripng show at DUT1 and check if output matches the following regular expressions:
R\(n\)\s+2001:db8:100::/64[\s\S]+eth0 +2Show output
Codes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct Sub-codes: (n) - normal, (s) - static, (d) - default, (r) - redistribute, (i) - interface, (a/S) - aggregated/Suppressed Network Next Hop Via Metric Tag Time C(i) 2001:db8:1::/64 :: self 1 0 R(n) 2001:db8:100::/64 fe80::dcad:beff:feef:6c00 eth0 2 0 02:59
Step 4: Ping IP address 2001:db8:100::1 from DUT1:
admin@DUT1$ ping 2001:db8:100::1 count 1 size 56 timeout 1Show output
PING 2001:db8:100::1(2001:db8:100::1) 56 data bytes 64 bytes from 2001:db8:100::1: icmp_seq=1 ttl=64 time=0.579 ms --- 2001:db8:100::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.579/0.579/0.579/0.000 ms