interface and IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all

    I am developing a driver for network card. But I don't know the detail steps to bind an IP address with an interface.
    For example, there is a network interface called as 'eth0', user can assign IP address for this interface(which is the configuration file?), in the linux boot procedure, IP address should be binded to eth0 by one application(which one?) . I think this application should call ioctl(s,SIOCSIFADDR,...) to set IP address for this interface, If there are something else should do by this application?(like set route,netmask......)?

    Sorry for this simple question, but I really am not familar with linux. thanks!




-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux