User Tools

Site Tools


virtualization:netsim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
virtualization:netsim [2023/06/10 22:00] jotasandokuvirtualization: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 117: Line 119:
  
 ---- ----
-NETLAB FOLDERS:+FOLDERS AND DEV ADVICES: 
 +\\ 
 +See: [[https://netlab.tools/dev/module-attributes/]]
   * configuration templates snippets:    * configuration templates snippets: 
     * ..netsim/ansible/templates/{module}/{vendor}.j2     * ..netsim/ansible/templates/{module}/{vendor}.j2
Line 142: Line 146:
   vrf_loopback:   vrf_loopback:
     ipv6: 2001:db8:3ea::/48     ipv6: 2001:db8:3ea::/48
 +    
 +TCPDUMP IN NETLAB:
 +[[https://netlab.tools/netlab/capture/]]
 +  netlab up -p libvirt:p2p_bridge    # otherwise impossible to capture in lobvirt p2p links
 +  netlab capture r1 GigabitEthernet0/3 icmp -l
 +  netlab capture r1 GigabitEthernet0/3 -U -s0 -w - | sudo wireshark -k -i -
 +
virtualization/netsim.1686434444.txt.gz · Last modified: (external edit)