Advertisement
Guest User

Untitled

a guest
Nov 26th, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. 1.
  2.  
  3. R1:
  4.  
  5. ifconfig eth0 153.0.0.1/18 up
  6. ifconfig eth1 173.8.0.1/15 up
  7. ifconfig eth2 197.1.1.1/30 up
  8. route add default gw 197.1.1.2 dev eth2
  9.  
  10. 2. route -n vagy netstat -nr
  11. Destination Gateway Genmask Interface
  12. 197.1.1.0 0.0.0.0 255.255.255.252 eth2
  13. 153.0.0.0 0.0.0.0 255.255.192.0 eth0
  14. 173.8.0.0 0.0.0.0 255.254.0.0 eth1
  15. 0.0.0.0 197.1.1.2 0.0.0.0 eth2
  16.  
  17. 3. Nem teljesen értem a kérdést :/
  18.  
  19. 4.nmap 185.4.7.9 | grep "80"
  20. Válasz:
  21. 80/tcp open http
  22. Ennyi kevés neki ?
  23.  
  24. 5.Szerintem valami a DNS-el kell..
  25. Vagy az /etc/hosts file-ra gondol?
  26.  
  27. 6.
  28.  
  29. 172.22.193.23:22
  30.  
  31. 7.
  32.  
  33. 127.0.0.1:5940
  34. 127.0.0.1:53
  35. 127.0.0.1:631
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement