Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/Execute


Ignore:
Timestamp:
09/23/14 10:56:35 (10 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopo/Execute

    v4 v5  
    194194 * Bring down the interface at router-2
    195195
    196  We can make the link between `router-1` and `router-2` fail by bringing down the corresponding interface on `router-2`. While running `xorp_log.sh` at `router-1`, we disable the virtual interface (assuming it's `eth2`) at `router-2`, which is associated with the virtual link (`192.168.1.0/24`) to `router-1`, and the command is:
     196 We can make the link between `router-1` and `router-2` fail by bringing down the corresponding interface on `router-2`. While running `xorp_log.sh` at `router-1`, we disable the virtual interface at `router-2`, which is associated with the virtual link (`192.168.1.0/24`) to `router-1`. 
     197 Use `/sbin/ifconfig` to find the name of that interface.
     198
     199{{{
     200xuanliu@router-2:~$ /sbin/ifconfig
     201eth0      Link encap:Ethernet  HWaddr 02:6c:4e:0a:be:dc 
     202          inet addr:172.17.1.19  Bcast:172.31.255.255  Mask:255.240.0.0
     203          inet6 addr: fe80::6c:4eff:fe0a:bedc/64 Scope:Link
     204          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     205          RX packets:1298 errors:0 dropped:0 overruns:0 frame:0
     206          TX packets:1309 errors:0 dropped:0 overruns:0 carrier:0
     207          collisions:0 txqueuelen:1000
     208          RX bytes:153645 (153.6 KB)  TX bytes:116549 (116.5 KB)
     209          Interrupt:25
     210
     211<snip>
     212
     213eth2      Link encap:Ethernet  HWaddr 02:4a:cc:17:60:44 
     214          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
     215          inet6 addr: fe80::4a:ccff:fe17:6044/64 Scope:Link
     216          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     217          RX packets:3401 errors:0 dropped:0 overruns:0 frame:0
     218          TX packets:2551 errors:0 dropped:0 overruns:0 carrier:0
     219          collisions:0 txqueuelen:1000
     220          RX bytes:127175180 (127.1 MB)  TX bytes:177712 (177.7 KB)
     221          Interrupt:26
     222
     223<snip>
     224
     225lo        Link encap:Local Loopback 
     226          inet addr:127.0.0.1  Mask:255.0.0.0
     227          inet6 addr: ::1/128 Scope:Host
     228          UP LOOPBACK RUNNING  MTU:16436  Metric:1
     229          RX packets:8368 errors:0 dropped:0 overruns:0 frame:0
     230          TX packets:8368 errors:0 dropped:0 overruns:0 carrier:0
     231          collisions:0 txqueuelen:0
     232          RX bytes:895016 (895.0 KB)  TX bytes:895016 (895.0 KB)
     233}}}
     234
     235 For example, in the above the appropriate interface is `eth2`.  So the command to bring down the interface to `router-1` is:
    197236{{{
    198237xuanliu@router-2:$ sudo ifconfig eth2 down
    199238}}}
    200239
    201 We can see one routing table update occurred at `router-1`:
     240 We can see one routing table update occurred at `router-1`:
    202241
    203242{{{
     
    215254}}}
    216255   
    217  When we bring up `eth2` at `router-2` again, we notice another routing table update at `router-1` immediately.
     256 When we bring up `eth2` at `router-2` again, we notice another routing table update at `router-1` immediately.  The command to bring the interface back up is:
     257{{{
     258xuanliu@router-2:$ sudo ifconfig eth2 up
     259}}}
    218260
    219261  * Make `router-2` fails.