...
코드 블럭 | ||
---|---|---|
| ||
# mysql -u pnetlab -p pnetlab_db Enter password: pnetlab Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7019 Server version: 5.7.42-0ubuntu0.18.04.1 (Ubuntu) mysql> select * from control; +-------------------+---------------+ | control_name | control_value | +-------------------+---------------+ | ctrl_alive_key | QjZxcn... | | ctrl_default_mode | online | | ctrl_offline_mode | 1 | | ctrl_online_mode | 1 | | ctrl_version | 4.2.10 | +-------------------+---------------+ mysql> SELECT * FROM users; +-----+-------------------------+---------+-------------+------------+----------+---------+----------+------+-------------------------------+-------------+-------+---------+-------------+------+---------+-------------+ | pod | username | cookie | email | expiration | password | session | ip | role | folder | lab_session | html5 | license | online_time | note | offline | user_status | +-----+-------------------------+---------+-------------+------------+----------+---------+----------+------+-------------------------------+-------------+-------+---------+-------------+------+---------+-------------+ | 1 | John Doe_online_account | 89..... | john@ex.com | -1 | ........ | ....... | 10.0.0.5 | 0 | /Your labs from PNETLab Store | NULL | 1 | Um..... | 1723433643 | NULL | 0 | 1 | | 2 | admin | NULL | NULL | -1 | ........ | N | NULL | 0 | NULL | NULL | NULL | NULL | 1723433636 | NULL | 1 | 1 | +-----+-------------------------+---------+-------------+------------+----------+---------+----------+------+-------------------------------+-------------+-------+---------+-------------+------+---------+-------------+ |
Kernel Patch
장비를 연결하는 것을 리눅스 브릿지를 통해 구현함
리눅스 브릿지의 기본 동작을 에뮬레이션 상황에 맞게 변경
https://github.com/dainok/unetlab/blob/master/patch/linux-lts-utopic-3.16.0.patch
https://github.com/dainok/unetlab-kernel/blob/master/patches/transparent-bridge.patch