spirit posteets tagged bridge  [ Profile ]

Sort by: Date / Title /

  1. 11 years ago
    Très utile pour mettre une VM snort en bridge sur un linux ; il suffit de mettre les deux vmnet du bridge en promiscuous sur la machine hébergeant la VM
    1. # VMware software does not allow the virtual Ethernet adapter to go into promiscuous mode unless the user running the VMware software has permission to make that setting. This follows the standard Linux practice that only root can put a network interface into promiscuous mode.
    2.  
    3. chgrp vmware/dev/vmnet0
    4. chmod g+rw /dev/vmnet0
    5.  
    6. # N.B: Change vmnet0 with the bridged device
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/711"></script>
  2. 11 years ago and saved by 2 others
    1. # Prérequis: Linux 2.6 avec package bridge-utils
    2.  
    3. ifconfig eth0 0.0.0.0 promisc
    4. ifconfig eth1 0.0.0.0 promisc
    5.  
    6. brctl addbr bridge1
    7. brctl addif bridge1 eth0
    8. brctl addif bridge1 eth1
    9.  
    10. # Si communication avec cisco
    11. brctl sethello bridge1 1
    12. brctl setfd bridge1 4
    13.  
    14. # Donner une adresse Ip au bridge
    15. ifconfig bridge1 @IP netmask @Mask
    16.  
    17. # Supprimer un bridge
    18. brctl delbr bridge1
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/48"></script>

First / Previous / Next / Last / Page 1 of 1 (2 posteets)