neorom posteets tagged reseau  [ Profile ]

Sort by: Date / Title /

  1. 8 months ago
    1. fichier :  /etc/sysconfig/network-scripts/ifcfg-eth2
    2. configuration :
    3. DEVICE=eth2
    4. BOOTPROTO=static
    5. ONBOOT=yes
    6. HWADDR=00:1a:20:6a:d8:a4
    7. IPADDR=192.168.1.129
    8. NETMASK=255.255.255.128
    9.  
    10. fichier : /etc/sysconfig/network
    11. configuration :
    12. NETWORKING=yes
    13. HOSTNAME=toto.lan.fr
    14. GATEWAY=192.168.1.254
  2. 1 year ago and saved by 1 other
    1. #L'appel à iconv n'est nécessaire que si votre système utilise utf8 comme jeu de caractères par défaut (ce qui devient de plus en plus courant) au lieu d'iso8859-1 (latin-1).
    2. wget -q www.monip.org -O -  | iconv -f iso8859-1 -t utf8 | sed -nre 's/^.* (([0-9]{1,3}\.){3}[0-9]{1,3}).*$/\1/p'
  3. 1 year ago and saved by 1 other
    1. #ajouter une route par defaut
    2. route add default gw 192.168.0.1
    3.  
    4. #afficher les routes
    5. route -n
    6.  
    7. # supprimer une route
    8. route del -net 192.168.0.1/24
  4. sponsorised links
  5. 1 year ago
    1. ifconfig eth0:1 192.168.0.4
    2. #ou 1 est le numéro de l'interface virtuel
  6. 1 year ago
    1. # accedez à ce fichier
    2. /etc/udev/rules.d/z25_persistent-net.rules
    3.  
    4. # on trouve à l'interieur, l association adresse mac avec l'interface linux
  7. 1 year ago and saved by 1 other
    1. # Dans /etc/syslog.conf
    2. facility.priority               @IP ou nom
  8. 1 year 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
  9. 1 year ago
    1. #Lister les répertoires partagés par une machine :
    2. smbclient –L //server (ip ou nom ) –U utilisateur
    3.  
    4. #Monter un repertoire partagé via smbmount :
    5. smbmount //server/rep /mnt/lan –o username=toto,password=toto
  10. 1 year ago
    1. macof -i eth1 -d 192.168.0.1
    2. #-d : destination
  11. 1 year ago
    tcpdump -vv -n -X -x -s 1500 host 192.168.0.2 and not port 22
    #-n : ip au lieu de nom DNS
    #-X -x -S 0 : affichage du contenu des trames

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