Guest User

Untitled

a guest
Oct 15th, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. [jtate@laputa prj1]$ sudo route -n
  2. Kernel IP routing table
  3. Destination Gateway Genmask Flags Metric Ref Use Iface
  4. 0.0.0.0 10.2.2.1 0.0.0.0 UG 0 0 0 wlan0
  5. 10.2.2.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
  6. 10.2.2.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
  7. 169.254.0.0 0.0.0.0 255.255.0.0 U 1008 0 0 br0
  8. 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
  9. [jtate@laputa prj1]$ sudo ifconfig -a
  10. br0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
  11. inet 10.2.2.11 netmask 255.255.255.0 broadcast 10.2.2.255
  12. inet6 fe80::21c:25ff:fe9c:9a6c prefixlen 64 scopeid 0x20<link>
  13. ether 00:1c:25:9c:9a:6c txqueuelen 0 (Ethernet)
  14. RX packets 408 bytes 95593 (93.3 KiB)
  15. RX errors 0 dropped 0 overruns 0 frame 0
  16. TX packets 471 bytes 240476 (234.8 KiB)
  17. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  18.  
  19. eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
  20. ether 00:1c:25:9c:9a:6c txqueuelen 1000 (Ethernet)
  21. RX packets 1109057 bytes 484315993 (461.8 MiB)
  22. RX errors 0 dropped 0 overruns 0 frame 0
  23. TX packets 549894 bytes 164788368 (157.1 MiB)
  24. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  25. device interrupt 20 memory 0xfc000000-fc020000
  26.  
  27. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
  28. inet 127.0.0.1 netmask 255.0.0.0
  29. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  30. loop txqueuelen 0 (Local Loopback)
  31. RX packets 34050 bytes 10095235 (9.6 MiB)
  32. RX errors 0 dropped 0 overruns 0 frame 0
  33. TX packets 34050 bytes 10095235 (9.6 MiB)
  34. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  35.  
  36. virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
  37. inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
  38. ether 5e:a6:7d:9a:06:9e txqueuelen 0 (Ethernet)
  39. RX packets 0 bytes 0 (0.0 B)
  40. RX errors 0 dropped 0 overruns 0 frame 0
  41. TX packets 0 bytes 0 (0.0 B)
  42. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  43.  
  44. wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  45. inet 10.2.2.10 netmask 255.255.255.0 broadcast 10.2.2.255
  46. inet6 fe80::221:6aff:fe0d:e364 prefixlen 64 scopeid 0x20<link>
  47. ether 00:21:6a:0d:e3:64 txqueuelen 1000 (Ethernet)
  48. RX packets 25609 bytes 8903749 (8.4 MiB)
  49. RX errors 0 dropped 0 overruns 0 frame 0
  50. TX packets 1508 bytes 350978 (342.7 KiB)
  51. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  52.  
  53. [jtate@laputa prj1]$ sudo brctl show
  54. bridge name bridge id STP enabled interfaces
  55. br0 8000.001c259c9a6c yes eth0
  56. virbr0 8000.000000000000 yes
  57. [jtate@laputa prj1]$ sudo iptables -L
  58. Chain INPUT (policy ACCEPT)
  59. target prot opt source destination
  60. ACCEPT udp -- anywhere anywhere udp dpt:domain
  61. ACCEPT tcp -- anywhere anywhere tcp dpt:domain
  62. ACCEPT udp -- anywhere anywhere udp dpt:bootps
  63. ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
  64. ACCEPT udp -- anywhere anywhere udp dpt:domain
  65. ACCEPT tcp -- anywhere anywhere tcp dpt:domain
  66. ACCEPT udp -- anywhere anywhere udp dpt:bootps
  67. ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
  68. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  69. ACCEPT icmp -- anywhere anywhere
  70. ACCEPT all -- anywhere anywhere
  71. ACCEPT udp -- anywhere 224.0.0.251 state NEW udp dpt:mdns
  72. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
  73. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:tftp
  74. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
  75. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:lds-distrib
  76. ACCEPT tcp -- anywhere anywhere state NEW tcp dpts:hfcs-manager:winfs
  77. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:24800
  78. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  79.  
  80. Chain FORWARD (policy ACCEPT)
  81. target prot opt source destination
  82. ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
  83. ACCEPT all -- 192.168.122.0/24 anywhere
  84. ACCEPT all -- anywhere anywhere
  85. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  86. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  87. ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
  88. ACCEPT all -- 192.168.122.0/24 anywhere
  89. ACCEPT all -- anywhere anywhere
  90. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  91. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  92. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  93.  
  94. Chain OUTPUT (policy ACCEPT)
  95. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment