Categories
Linux Mastering Development

Send packet on one interface and receive it on another one for testing purposes

I would like to test the DHCP client that I wrote on Ubuntu 16.04.6 LTS. I would like to do it locally on my laptop i.e. send and receive DHCP packets inside. Here is what I tried: created two dummy interfaces: dummy0, dummy1 created bridge for these 2 interfaces: br0 The goal is to send […]

Categories
Linux Mastering Development

Test own dhcp client locally

I would like to test the DHCP client that I wrote on Ubuntu 16.04.6 LTS. I would like to do it locally on my laptop i.e. send and receive DHCP packets inside. Here is what I tried: created two dummy interfaces: dummy0, dummy1 created bridge for these 2 interfaces: br0 The goal is to send […]