1

On system boot up, dhclient gets the IP address over particular network interface, how is this information(IP address) passed to kernel?

Gopinath
  • 241
  • 1
  • 2
  • 7
  • Are you interested in a high level explanation or an explicit flow containing the device drivers involved and/or the specific system calls? – Cristian Bidea Jun 23 '17 at 07:46

1 Answers1

4

Short answer, using SIOCSIFADDR ioctl. More information about user-space program which does that: Set IP address using SIOCSIFADDR ioctl

vtha
  • 577
  • 4
  • 7