n8whnp

Untitled

Nov 17th, 2011
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. [root@node4 ~]# tcpdump -i br0 | grep -i dhcp
  2. tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
  3. listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes
  4. 11:00:59.066285 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:76:af:fe (oui Unknown), length 302
  5. 11:00:59.066597 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:76:af:fe (oui Unknown), length 302
  6. 11:00:59.066630 IP 192.168.198.2.bootps > 192.168.198.30.bootpc: BOOTP/DHCP, Reply, length 310
  7. 11:00:59.067447 IP 192.168.198.42.bootps > 192.168.198.101.bootpc: BOOTP/DHCP, Reply, length 300
  8.  
  9. [root@node4 ~]# tcpdump -i vnet0 at the same time
  10.  
  11. 11:00:59.066240 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:76:af:fe (oui Unknown), length 302
  12. 11:00:59.066581 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:76:af:fe (oui Unknown), length 302
  13. 11:01:00.315396 IP6 fe80::225:90ff:fe6d:b990.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
  14. 11:01:02.390537 IP6 fe80::225:90ff:fe6d:b999.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
  15. 11:01:02.390615 IP6 fe80::225:90ff:fe6d:b999.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
  16. 11:01:07.073429 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:76:af:fe (oui Unknown), length 302
  17. 11:01:07.073615 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:76:af:fe (oui Unknown), length 302
  18.  
  19.  
  20.  
  21. [root@node4 ~]# iptables -n -L
  22. Chain INPUT (policy ACCEPT)
  23. target prot opt source destination
  24. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
  25. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
  26. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  27. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
  28. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
  29. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
  30. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  31. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
  32. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
  33.  
  34. Chain FORWARD (policy ACCEPT)
  35. target prot opt source destination
  36. ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
  37. ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
  38. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  39. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  40. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  41. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-is-bridged
  42. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
  43.  
  44. Chain OUTPUT (policy ACCEPT)
  45. target prot opt source destination
  46.  
Advertisement
Add Comment
Please, Sign In to add comment