spirit posteets tagged route  [ Profile ]

Sort by: Date / Title /

  1. 11 years ago
    1. # Use of ip command
    2. ip route add 192.168.55.0/24 via 192.168.1.254 dev eth1
    3. route add -net 192.168.55.0 netmask 255.255.255.0 gw 192.168.1.254 dev eth1
    4.  
    5. #----------------------------------------------
    6. # Red Hat/Fedora Linux Static route file
    7. #----------------------------------------------
    8. cat /etc/sysconfig/network-scripts/route-eth0
    9.  
    10. GATEWAY0=192.168.1.254
    11. NETMASK0=255.255.255.0
    12. ADDRESS0=192.168.55.0
    13.  
    14. GATEWAY1=10.164.234.112
    15. NETMASK1= 255.255.255.240
    16. ADDRESS1=10.164.234.132
    17.  
    18. #------------------------------------
    19. # Debian Linux static routes file
    20. #------------------------------------
    21. cat /etc/network/interface
    22.  
    23. auto eth0
    24. iface eth0 inet static
    25. address 192.168.1.2
    26. netmask 255.255.255.0
    27. gateway 192.168.1.254
    28. up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1
    29. down route del -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/98"></script>
  2. 11 years ago and saved by 1 other
    1. # Pour ajouter une route vers le réseau 192.168.1.1/24 à travers la passerelle 172.10.10.1
    2. route add 192.168.1.1 mask 255.255.255.0 172.10.10.1
    3.  
    4. # Pour que la route soit permanente :
    5. route -p add 192.168.1.1 mask 255.255.255.0 172.10.10.1
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/72"></script>
  3. 11 years ago and saved by 2 others
    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
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/69"></script>
  4. sponsorised links

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