This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:netsim [2023/03/27 19:22] – jotasandoku | virtualization:netsim [2025/01/26 17:52] (current) – jotasandoku | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| #!/bin/bash | #!/bin/bash | ||
| apt remove needrestart -y | apt remove needrestart -y | ||
| + | sudo add-apt-repository universe | ||
| apt-get update -y | apt-get update -y | ||
| apt install python3-pip -y | apt install python3-pip -y | ||
| python3 -m pip install netsim-tools | python3 -m pip install netsim-tools | ||
| + | ! (consider) python3 -m pip3 install --upgrade pyopenssl cryptography | ||
| ! | ! | ||
| ! APPLY THIS MANUALLY | ! APPLY THIS MANUALLY | ||
| Line 114: | Line 116: | ||
| vagrant box add nexus9300v.9.3.5.box --name cisco/ | vagrant box add nexus9300v.9.3.5.box --name cisco/ | ||
| vagrant mutate cisco/ | vagrant mutate cisco/ | ||
| + | |||
| + | |||
| + | ---- | ||
| + | FOLDERS AND DEV ADVICES: | ||
| + | \\ | ||
| + | See: [[https:// | ||
| + | * configuration templates snippets: | ||
| + | * ..netsim/ | ||
| + | * example: ..netsim/ | ||
| + | * Module attributes for an individual module are stored (together with other module-specific data) in netsim/ | ||
| + | |||
| + | |||
| + | |||
| + | # Default loopback, LAN, and P2P prefixes | ||
| + | loopback: | ||
| + | ipv6: 2001: | ||
| + | router_id: | ||
| + | ipv4: 10.0.0.0/24 | ||
| + | prefix: 32 | ||
| + | lan: | ||
| + | ipv6: 2001: | ||
| + | p2p: | ||
| + | ipv6: 2001: | ||
| + | mgmt: | ||
| + | ipv4: 192.168.121.0/ | ||
| + | start: 100 | ||
| + | mac: 08-4F-A9-00-00-00 | ||
| + | l2only: | ||
| + | vrf_loopback: | ||
| + | ipv6: 2001: | ||
| + | | ||
| + | TCPDUMP IN NETLAB: | ||
| + | [[https:// | ||
| + | netlab up -p libvirt: | ||
| + | netlab capture r1 GigabitEthernet0/ | ||
| + | netlab capture r1 GigabitEthernet0/ | ||