Changes between Version 28 and Version 29 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/DesignSetup
- Timestamp:
- 05/15/13 17:01:43 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/DesignSetup
v28 v29 493 493 #======================================== 494 494 495 Host right 496 Port 22 497 HostName 192.1.242.66 498 User root 499 IdentityFile /Users/shuang/.ssh/geni_key 500 501 Host top 502 Port 22 503 HostName 192.1.242.68 504 User root 505 IdentityFile /Users/shuang/.ssh/geni_key 506 495 507 Host bottom 496 508 Port 22 497 HostName 192.1.242. 85509 HostName 192.1.242.65 498 510 User root 499 511 IdentityFile /Users/shuang/.ssh/geni_key 500 512 513 Host center 514 Port 22 515 HostName 192.1.242.67 516 User root 517 IdentityFile /Users/shuang/.ssh/geni_key 518 501 519 Host left 502 520 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 522 522 User root 523 523 IdentityFile /Users/shuang/.ssh/geni_key … … 526 526 LOGIN INFO for AM: https://bbn-hn.exogeni.net:11443/orca/xmlrpc 527 527 ================================================================================ 528 User root logins to right using: 529 xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.66 & 530 User root logins to top using: 531 xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.68 & 528 532 User 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 & 534 User root logins to center using: 535 xterm -e ssh -i /Users/shuang/.ssh/geni_key root@192.1.242.67 & 530 536 User 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 & 538 538 }}} 539 539 '''Step 4. Renew the sliver:''' … … 580 580 Add correct host key in /Users/shuang/.ssh/known_hosts to get rid of this message. 581 581 Offending RSA key in /Users/shuang/.ssh/known_hosts:20 582 RSA host key for 192.1.242. 81has changed and you have requested strict checking.582 RSA host key for 192.1.242.65 has changed and you have requested strict checking. 583 583 Host key verification failed. 584 584 }}} 585 585 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]] 586 586 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! 589 616 590 617 '''Difference between ExoGENI and InstaGENI in terms of using:''' [[BR]]