This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| network_stuff:eveng [2021/08/23 13:29] – created jotasandoku | network_stuff:eveng [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ---- | ---- | ||
| - | Skip to end of metadata | + | Installed eve-ng installed as vm under KVM and " |
| - | Created by Jaime Santos Amandi, last modified on Mar 19, 2021Go to start of metadata | + | |
| - | Installed eve-ng installed as vm under KVM and " | + | |
| To access KVM via my laptop' | To access KVM via my laptop' | ||
| + | \\ | ||
| + | ## us-ashburn-1 V2 | ||
| + | Host 10.195.* 10.197.* *iad1.mycompany2datacloud.com *iadshared1.mycompany2datacloud.com !bastion-62-* *ash.oci.mycompany1.co.uk *iad.oci.mycompany1.co.uk | ||
| + | ProxyCommand ssh bastion-iad.mycompany2datacloud.com -W %h:%p | ||
| - | ## us-ashburn-1 V2 | + | \\ |
| - | Host 10.195.* 10.197.* *iad1.oracledatacloud.com *iadshared1.oracledatacloud.com !bastion-62-* *ash.oci.grapeshot.co.uk *iad.oci.grapeshot.co.uk | + | |
| - | ProxyCommand ssh bastion-iad.oracledatacloud.com -W %h:%p | + | |
| + | To access the UI interface on http:// | ||
| + | ssh -CAD 1084 user@networklab01.iad.oci.mycompany1.co.uk | ||
| + | \\ | ||
| - | To access the UI interface on http:// | ||
| - | ssh -CAD 1084 user@networklab01.iad.oci.grapeshot.co.uk | + | CSR: |
| + | \\ | ||
| + | [[https:// | ||
| + | \\ | ||
| + | Alternative versions in networklab01:/ | ||
| + | \\ | ||
| + | ** THIS CSR VERSION WORKS**\\ | ||
| + | / | ||
| + | \\ | ||
| - | CSR: | + | / |
| - | https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-csrv1000-16-x-denali-everest-fuji/ | + | \\ |
| + | [.Takes some time to boot ~10min.] | ||
| + | mkdir /opt/unetlab/ | ||
| + | mv virtioa.qcow2 /opt/unetlab/addons/ | ||
| + | \\ | ||
| + | / | ||
| + | [% Failed to initialize nvram but it finally boots] | ||
| + | \\ | ||
| + | 1 vcpu and 4096 ram (defaults). 4 interfaces work ok and numbering correct | ||
| - | Alternative versions in networklab01:/ | ||
| + | ---- | ||
| - | ** THIS CSR VERSION WORKS** | + | **MANAGEMENT HOST AUTOMATION:**\\ |
| - | / | + | |
| - | /opt/qemu-2.2.0/ | + | * Install this image following the eve-ng howto : linux-ubuntu-server-18.04-pfne.tar.gz . See https:// |
| + | * cpu: 2 ; ram 8192 ethernets 2 ; qemu ver 2.12.0 x86_64 e1000 | ||
| + | * Create a cloud object (Management(Cloud0)) so we create a tun/tap interface to connect to the vms inside eve-ng | ||
| + | * to access the linux bastion host: root@192.168.122.160 | ||
| + | * Using eve-ng html-5 console, access the host and enable root login in sshd | ||
| - | [.Takes some time to boot ~10min.] | ||
| - | mkdir / | ||
| - | mv virtioa.qcow2 / | ||
| - | / | + | ---- |
| - | [% Failed to initialize nvram but it finally boots] | + | |
| - | 1 vcpu and 4096 ram (defaults). 4 interfaces work ok and numbering correct | ||
| - | MANAGEMENT HOST AUTOMATION: | ||
| - | |||
| - | Install this image following the eve-ng howto : linux-ubuntu-server-18.04-pfne.tar.gz . See https:// | ||
| - | cpu: 2 ; ram 8192 ethernets 2 ; qemu ver 2.12.0 x86_64 e1000 | ||
| - | Create a cloud object (Management(Cloud0)) so we create a tun/tap interface to connect to the vms inside eve-ng | ||
| - | to access the linux bastion host: root@192.168.122.160 | ||
| - | Using eve-ng html-5 console, access the host and enable root login in sshd | ||
| CISCO IOS BASELINE CONFIGURATION | CISCO IOS BASELINE CONFIGURATION | ||
| - | The below is to be run manually in each of the CSR routers when they boot: | ||
| - | Link | + | The below is to be run manually in each of the CSR routers when they boot:\\ |
| + | |||
| + | [[https:// | ||
| + | |||
| + | |||
| + | |||
| + | This is to allow the automation tool to talk to the routers: | ||
| - | This is to allow the automation tool to talk to the routers | + | conf t |
| + | username ansible privilege 15 password 0 ansible | ||
| + | line vty 0 8 | ||
| + | exec-timeout 720 0 | ||
| + | password ansible | ||
| + | login local | ||
| + | transport input ssh | ||
| + | \\ | ||
| + | ! use this command when copying | ||
| + | conf t | ||
| + | username jaime privilege 15 | ||
| + | ip ssh pubkey-chain | ||
| + | username jaime | ||
| + | key-string ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVewvRcYNMK7e88mCs5clB5G6ItBuOP8xgZhYbvVQDboXdNbrWlnokGdIOBQY1M8K5bbTDdVeHf8mXgfVxWGrcd0uigO+VDxcRL5tFPcx7rJQVhsVaTbnIzmNmRpqihRUHvVN2yxNHEwLZa2fuzFqghcJOJLCCY+khpx4uq2D7ILX/ | ||
| + | e | ||
| + | exit | ||
| + | exit | ||
| + | exit | ||
| + | wr | ||
| + | ! | ||
| + | |||
| + | --- | ||
| - | conf t | + | EVE-NG LINUX IMAGE: \\ |
| - | username ansible privilege 15 password 0 ansible | + | * [[https://ipnet.xyz/2018/06/ubuntu-image-for-eve-ng-python-for-network-engineers/]] |
| - | line vty 0 8 | + | * Min requirements: |
| - | exec-timeout 720 0 | + | |
| - | password ansible | + | |
| - | login local | + | |
| - | transport input ssh | + | |
| - | ! use this command when copying the public key from the users' workstation to the router: fold -b -w 72 /home/ubuntu/.ssh/id_rsa.pub | + | |
| - | conf t | + | |
| - | username jaime privilege 15 | + | |
| - | ip ssh pubkey-chain | + | |
| - | username jaime | + | |
| - | key-string | + | |
| - | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVewvRcYNMK7e88mCs5clB5G6ItBuOP8xgZhYbvVQDboXdNbrWlnokGdIOBQY1 | + | |
| - | M8K5bbTDdVeHf8mXgfVxWGrcd0uigO+VDxcRL5tFPcx7rJQVhsVaTbnIzmNmRpqihRUHvVN2yxNHEwLZa2fuzFqghcJOJLCCY+kh | + | |
| - | px4uq2D7ILX/NBggSm0mXTJJ+9ebBP2MLbJItwwnmdAhaUUbgMNNPp218SpK1Bjbv57/ | + | |
| - | NTXFkGkbmF9XHQYibrHeOOLKuhGNzdNGLAPO/ | + | |
| - | e | + | |
| - | exit | + | |
| - | exit | + | |
| - | exit | + | |
| - | wr | + | |
| - | ! | + | |