Skip to content

Instantly share code, notes, and snippets.

@erolg
Created March 8, 2017 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erolg/388e9eadb459c368c72394a09ebdc8ad to your computer and use it in GitHub Desktop.
Save erolg/388e9eadb459c368c72394a09ebdc8ad to your computer and use it in GitHub Desktop.
root@node-11:~# ip netns exec qdhcp-68caed36-ab8d-45ab-8ea3-26248509bbbe tcpdump -i any port 67 or port 68 or port 69
17:27:17.936382 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:17:a4:77:00:1e (oui Unknown), length 300
17:27:24.312534 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:17:a4:77:00:1e (oui Unknown), length 300
17:27:32.554690 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:17:a4:77:00:1e (oui Unknown), length 300
17:27:36.991999 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:cd:37:eb (oui Unknown), length 300
17:27:36.992340 IP 192.168.105.53.bootps > 192.168.105.54.bootpc: BOOTP/DHCP, Reply, length 332
17:27:36.993524 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:cd:37:eb (oui Unknown), length 300
17:27:46.008282 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:17:a4:77:00:1e (oui Unknown), length 300
17:27:55.944932 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:17:a4:77:00:1e (oui Unknown), length 300
root@node-11:~# ps aux | grep dnsmasq
nobody 1444 0.0 0.0 29748 2284 ? S 10:00 0:00 /usr/sbin/dnsmasq --conf-file=/etc/dnsmasq.d/dns.conf --pid-file=/var/run/dnsmasq.pid
libvirt+ 16836 0.0 0.0 28204 2260 ? S 08:51 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
root 16837 0.0 0.0 28176 244 ? S 08:51 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
nobody 28638 0.0 0.0 28208 2472 ? S 10:03 0:00 dnsmasq --no-hosts --no-resolv --strict-order --except-interface=lo --pid-file=/var/lib/neutron/dhcp/1ca7b753-b64f-4121-b3f1-8d5785affe0e/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/1ca7b753-b64f-4121-b3f1-8d5785affe0e/host --addn-hosts=/var/lib/neutron/dhcp/1ca7b753-b64f-4121-b3f1-8d5785affe0e/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/1ca7b753-b64f-4121-b3f1-8d5785affe0e/opts --dhcp-leasefile=/var/lib/neutron/dhcp/1ca7b753-b64f-4121-b3f1-8d5785affe0e/leases --dhcp-match=set:ipxe,175 --bind-interfaces --interface=tap7f2b80a7-d1 --dhcp-range=set:tag0,192.168.104.0,static,600s --dhcp-option-force=option:mtu,1500 --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
nobody 28651 0.0 0.0 28208 2508 ? S 10:03 0:00 dnsmasq --no-hosts --no-resolv --strict-order --except-interface=lo --pid-file=/var/lib/neutron/dhcp/68caed36-ab8d-45ab-8ea3-26248509bbbe/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/68caed36-ab8d-45ab-8ea3-26248509bbbe/host --addn-hosts=/var/lib/neutron/dhcp/68caed36-ab8d-45ab-8ea3-26248509bbbe/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/68caed36-ab8d-45ab-8ea3-26248509bbbe/opts --dhcp-leasefile=/var/lib/neutron/dhcp/68caed36-ab8d-45ab-8ea3-26248509bbbe/leases --dhcp-match=set:ipxe,175 --bind-interfaces --interface=tap50693e84-49 --dhcp-range=set:tag0,192.168.105.0,static,600s --dhcp-option-force=option:mtu,1500 --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment