/*auto readmore*/ /*auto readmore*/ /* an hien script*/ // an hien password /*an hien ma chuong trinh cong tru */ /*Scrollbox thanh cuon*/ /***Nhung CODE***/ /* dòng xanh dòng trắng */ /* https://cdnjs.com/libraries/prism lay thu vien, can vao ten file ma goi 1. copy link vao vi du:prism-python.min.js 2. ten ngon nua la python */ /*=== New posts ===*/ /*header slider*/ /*=== bai viet lien quan===*/ /*===tabcode===*/

Các lệnh cơ bản dùng cho VPC trên EVE-NG/UNETLAB



  • Đặt tên cho VPC
VPCS> set pcname PC001

  • Đặt IP cho VPC với các thông tin:

            IP address: 192.168.0.10
            Subnet mask: 255.255.255.0
            Default gateway: 192.168.0.254

PC001> ip 192.168.0.10/24 192.168.0.254
Checking for duplicate address...
PC1 : 192.168.0.10 255.255.255.0 gateway 192.168.0.254
  • Đặt IP cho VPC bằng DHCP
PC001> dhcp
DDORA IP 192.168.101.1/24 GW 192.168.101.254

  • Lưu cấu hình

PC1> save
Saving startup configuration to startup.vpc
. done

  • Ngắt kết nối telnet session

PC1> disconnect
PC1>
Good-bye


  • Ping port 

IT_01> ping 192.168.100.12 -p 80
84 bytes from 192.168.100.12 icmp_seq=1 ttl=254 time=1.619 ms
84 bytes from 192.168.100.12 icmp_seq=2 ttl=254 time=1.901 ms
84 bytes from 192.168.100.12 icmp_seq=3 ttl=254 time=2.263 ms
84 bytes from 192.168.100.12 icmp_seq=4 ttl=254 time=2.086 ms
84 bytes from 192.168.100.12 icmp_seq=5 ttl=254 time=2.057 ms


  • Ping port TCP

 IT_01> ping 192.168.100.12 -p 80 -3
Connect   80@192.168.100.12 seq=1 ttl=254 time=3.232 ms
SendData  80@192.168.100.12 seq=1 ttl=254 time=1.363 ms
Close     80@192.168.100.12 seq=1 ttl=254 time=3.288 ms
Connect   80@192.168.100.12 seq=2 ttl=254 time=3.181 ms
SendData  80@192.168.100.12 seq=2 ttl=254 time=2.415 ms
Close     80@192.168.100.12 seq=2 ttl=254 time=4.069 ms
Connect   80@192.168.100.12 seq=3 ttl=254 time=3.213 ms
SendData  80@192.168.100.12 seq=3 ttl=254 time=3.409 ms
Close     80@192.168.100.12 seq=3 ttl=254 time=4.858 ms
Connect   80@192.168.100.12 seq=4 ttl=254 time=3.161 ms
SendData  80@192.168.100.12 seq=4 ttl=254 time=3.227 ms
Close     80@192.168.100.12 seq=4 ttl=254 time=4.850 ms
Connect   80@192.168.100.12 seq=5 ttl=254 time=2.416 ms
SendData  80@192.168.100.12 seq=5 ttl=254 time=3.208 ms
Close     80@192.168.100.12 seq=5 ttl=254 time=3.296 ms

No comments:

Post a Comment

/*header slide*/