Changes between Version 28 and Version 29 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/DesignSetup


Ignore:
Timestamp:
05/15/13 17:01:43 (12 years ago)
Author:
shuang@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/DesignSetup

    v28 v29  
    493493#========================================
    494494 
     495Host right
     496  Port 22
     497  HostName 192.1.242.66
     498  User root
     499  IdentityFile /Users/shuang/.ssh/geni_key
     500 
     501Host top
     502  Port 22
     503  HostName 192.1.242.68
     504  User root
     505  IdentityFile /Users/shuang/.ssh/geni_key
     506 
    495507Host bottom
    496508  Port 22
    497   HostName 192.1.242.85
     509  HostName 192.1.242.65
    498510  User root
    499511  IdentityFile /Users/shuang/.ssh/geni_key
    500512 
     513Host center
     514  Port 22
     515  HostName 192.1.242.67
     516  User root
     517  IdentityFile /Users/shuang/.ssh/geni_key
     518 
    501519Host left
    502520  Port 22
    503   HostName 192.1.242.83
    504   User root
    505   IdentityFile /Users/shuang/.ssh/geni_key
    506  
    507 Host top
    508   Port 22
    509   HostName 192.1.242.84
    510   User root
    511   IdentityFile /Users/shuang/.ssh/geni_key
    512  
    513 Host right
    514   Port 22
    515   HostName 192.1.242.82
    516   User root
    517   IdentityFile /Users/shuang/.ssh/geni_key
    518  
    519 Host center
    520   Port 22
    521   HostName 192.1.242.81
     521  HostName 192.1.242.64
    522522  User root
    523523  IdentityFile /Users/shuang/.ssh/geni_key
     
    526526LOGIN INFO for AM: https://bbn-hn.exogeni.net:11443/orca/xmlrpc
    527527================================================================================
     528User root logins to right using:
     529        xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.66 &
     530User root logins to top using:
     531        xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.68 &
    528532User root logins to bottom using:
    529         xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.85 &
     533        xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.65 &
     534User root logins to center using:
     535        xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.67 &
    530536User root logins to left using:
    531         xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.83 &
    532 User root logins to top using:
    533         xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.84 &
    534 User root logins to right using:
    535         xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.82 &
    536 User root logins to center using:
    537         xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.81 &
     537        xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.64 &
    538538}}}
    539539  '''Step 4. Renew the sliver:'''
     
    580580Add correct host key in /Users/shuang/.ssh/known_hosts to get rid of this message.
    581581Offending RSA key in /Users/shuang/.ssh/known_hosts:20
    582 RSA host key for 192.1.242.81 has changed and you have requested strict checking.
     582RSA host key for 192.1.242.65 has changed and you have requested strict checking.
    583583Host key verification failed.
    584584}}}
    585585 This type of error happens when you have previously logged in a machine with the same IP address and that machine happens not to be the same one as the VM you want to log in. [[BR]]
    586586 As a result, this error might happen a lot, especially if you have done experiments on ExoGENI before (since it always uses the same IP range for its VMs and each VM is different from each other, i.e., with different RSA keys). [[BR]]
    587  In this case, simply open ''~/.ssh/known_hosts'' and remove the line corresponding to the IP address you are trying to login. In our case here, find ''192.1.242.81'' and remove that line. [[BR]]
    588 
     587 In this case, simply open ''~/.ssh/known_hosts'' and remove the line corresponding to the IP address you are trying to login. In our case here, find ''192.1.242.65'' and remove that line. [[BR]]
     588
     589'''Enable IP forwarding and configure routing tables'''
     590 This is a very important step in terms of using ExoGENI. [[BR]]
     591 Since ExoGENI does not automatically configure IP address/routing table/IP forwarding for the user (unlike protoGENI and InstaGENI), the user needs to do it manually (or give the instructions in the RSPEC file). [[BR]]
     592 Step 1. enable IP forwarding on center node (we need to first stop a routine that over-write any network configurations in ExoGENI node): [[BR]]
     593 On center node, run the following:
     594{{{
     595 /etc/init.d/neuca stop
     596 sysctl -w net.ipv4.ip_forward=1
     597}}}
     598 Step 2. configure default routes on the rest node:
     599 On left node, run the following:
     600{{{
     601 route add -net 172.16.0.0/16 gw 172.16.2.1
     602}}}
     603 On right node, run the following:
     604{{{
     605 route add -net 172.16.0.0/16 gw 172.16.3.1
     606}}}
     607 On top node, run the following:
     608{{{
     609 route add -net 172.16.0.0/16 gw 172.16.4.1
     610}}}
     611 On bottom node, run the following:
     612{{{
     613 route add -net 172.16.0.0/16 gw 172.16.5.1
     614}}}
     615 After these steps, we can start to do the experiments on ExoGENI virtual machines!
    589616
    590617'''Difference between ExoGENI and InstaGENI in terms of using:''' [[BR]]