On system boot up, dhclient gets the IP address over particular network interface, how is this information(IP address) passed to kernel?
Asked
Active
Viewed 553 times
1
-
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 Answers
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