Giter Club home page Giter Club logo

Comments (6)

sheepcat avatar sheepcat commented on August 19, 2024

https://github.com/42wim/isc-dhcp/blob/f54a146c7fe88889d60f0c1aa8e6f04707f95223/relay/dhcrelay.c
i check the source code of isc-dhcp, found this:

if (ip->address_count < 1 || ip->addresses == NULL) {
	log_info("Discarding packet received on %s interface that "
		 "has no IPv4 address assigned.", ip->name);
	return;
}

i add an ipaddress to the calixxxx veth, the logs in dhcp-relay are disappear, but still cannot capture dhcp-ack in ens3.
ip addr add 168.168.168.2/24 dev calife3a10a63a6

is there any way to work around this ?

from k8s-sandbox.

splaspood avatar splaspood commented on August 19, 2024

@detiber you're probably best equipped to comment on this. Would you mind taking a look?

from k8s-sandbox.

sheepcat avatar sheepcat commented on August 19, 2024

workaround:

  1. add an ipaddress to the calixxxx veth
  2. make the dhcprelay pod crashed
  3. start the dhcprelay process in host

then the dhcp DORA works fine.

TODO:
why the dhcprelay is not work in pod.

from k8s-sandbox.

cprivitere avatar cprivitere commented on August 19, 2024

@detiber Do you have time to look at this?

from k8s-sandbox.

jacobweinstock avatar jacobweinstock commented on August 19, 2024

Hey @sheepcat, sorry for the lack of movement here. Is the workaround you provided, something that can be added to the code base, by chance?

from k8s-sandbox.

jacobweinstock avatar jacobweinstock commented on August 19, 2024

The https://github.com/tinkerbell/charts repo can now be used to deploy the tinkerbell stack to kubernetes. The sandbox repo, https://github.com/tinkerbell/sandbox, will shortly be updated to integrate the chart repo as well.

from k8s-sandbox.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.