User Tools

Site Tools


ipv6_opnfv_project:create_networks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ipv6_opnfv_project:create_networks [2015/12/28 13:43]
Sridhar Gaddam
ipv6_opnfv_project:create_networks [2015/12/30 08:40] (current)
Sridhar Gaddam
Line 141: Line 141:
 # Configure the IPv6 address on the <​qr-xxx>​ iface. # Configure the IPv6 address on the <​qr-xxx>​ iface.
  
-    router_interface=$(ip a s | grep -w "​global qr-*" | awk '​{print $7}')+    ​export ​router_interface=$(ip a s | grep -w "​global qr-*" | awk '​{print $7}')
     ip -6 addr add 2001:​db8:​0:​1::​1 dev $router_interface     ip -6 addr add 2001:​db8:​0:​1::​1 dev $router_interface
  
-# Update the file /​opt/​stack/​opnfv_os_ipv6_poc/​scenario2/​radvd.conf with $router_interface+# Update the sample ​radvd.conf ​file with the $router_interface ​and spawn ''​radvd''​ daemon inside the namespace to simulate an external IPv6 router. ​
  
-# Spawn a ''​radvd'' ​daemon to simulate an external router +    cp /​opt/​stack/​opnfv_os_ipv6_poc/​scenario2/​radvd.conf /​tmp/​radvd.$router_interface.conf 
- +    sed -i 's/​$router_interface/​'$router_interface'/g' ​/tmp/radvd.$router_interface.conf 
-    $radvd -C /opt/​stack/​opnfv_os_ipv6_poc/​scenario2/radvd.conf -p /​tmp/​br-ex.pid.radvd -m syslog+    $radvd -C /tmp/radvd.$router_interface.conf -p /​tmp/​br-ex.pid.radvd -m syslog
  
 Configure the downstream route pointing to the eth0 iface of vRouter. ​ Configure the downstream route pointing to the eth0 iface of vRouter. ​
ipv6_opnfv_project/create_networks.1451310204.txt.gz · Last modified: 2015/12/28 13:43 by Sridhar Gaddam