Guest User

Untitled

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