Bring up an interface without an ip address ?

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

 



Just wondering,

I'm working on a dhcp client changing it to use a SOCK_PACKET socket to
send and receive its udp messages, is it possible to enable or bring up the
interface in question so that sending and receiving with SOCK_PACKET is
possible, but *without* assigning a temporary ip address which the machine
will be responding to and/or able to send with ?

For example if some program on the machine is trying to send stuff, we
preferably dont want it to be able to while we're trying to obtain a lease
- since our ip address is invalid. Likewise we dont want to be responding
to an address either.

Possible ? not possible ?

If its not possible, are there any ip addresses which are "not used" which
could be assigned temporarily while obtaining a lease ?

Also, this is for a 2.0.38 kernel, so any suggestions need to be applicable
to that...Thanks...

Regards,
Simon


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[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