Add script for adding ipv6 neighbor entries
This commit is contained in:
		
					parent
					
						
							
								6007001838
							
						
					
				
			
			
				commit
				
					
						c142e8d335
					
				
			
		
					 1 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								netpfga/set_ipv6_neighbour.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								netpfga/set_ipv6_neighbour.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
 | 
			
		||||
for addr in $(seq 1 8); do
 | 
			
		||||
    sudo ip -6 neighbor add  2001:db8:42::$addr lladdr 02:53:55:4d:45:0${addr} dev enp2s0f1
 | 
			
		||||
done
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue