|
|
@ -29,12 +29,43 @@ Assuming you're already logged in |
|
|
|
|
|
|
|
|
|
|
|
[[cheat-swarmlab-up1]] |
|
|
|
== Login to the swarmlab cluster |
|
|
|
== Find |
|
|
|
|
|
|
|
.Step 1 (find local IP) |
|
|
|
|
|
|
|
[source,bash] |
|
|
|
---- |
|
|
|
# ifconfig |
|
|
|
|
|
|
|
eth0 Link encap:Ethernet HWaddr aa:00:04:07:75:ab |
|
|
|
Link encap:Ethernet HWaddr aa:0c:f4:8e:72:9a |
|
|
|
inet addr:83.212.114.28 Bcast:83.212.115.255 Mask:255.255.254.0 |
|
|
|
inet6 addr: fe80::494d:387d:bf73:ee99/64 Scope:Link |
|
|
|
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
|
|
|
RX packets:534819705 errors:0 dropped:0 overruns:0 frame:0 |
|
|
|
TX packets:515415338 errors:0 dropped:0 overruns:0 carrier:0 |
|
|
|
collisions:0 txqueuelen:1000 |
|
|
|
RX bytes:122518018925 (122.5 GB) TX bytes:89030970483 (89.0 GB) |
|
|
|
---- |
|
|
|
|
|
|
|
inet addr:**83.212.114.28** Bcast:83.212.115.255 Mask:255.255.254.0 + |
|
|
|
IP=83.212.114.28 |
|
|
|
|
|
|
|
|
|
|
|
.Step 2 (find local IP) |
|
|
|
|
|
|
|
[source,bash] |
|
|
|
---- |
|
|
|
nmap -sP 83.212.114.* |
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
cd myproject |
|
|
|
swarmlab-sec login |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|