Hello.
I trying to wrote my own dhclient.conf, because I dont want dhcp to write default gw in my routing table(I already have default gw from my pppoe connection) and I want from dhclient to send request only to one of my intefaces(eth2) because I have my own dhcp server(listen on eth0) .
In man dhclient.conf I find option "interface "string";" is this is the place that I can tell to dhclient " send requests only trough eth2 ", but this not serious problem because as I already say my dhcp server listens only on eth0 and maybe in its options is possible to tell him rejecting requests from dhclient that running on the same machine.
Thanks.
P.S.
I fix mi interface problem ( maybe)
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=eth0
# Or you can specify which interface _not_ to listen on
except-interface=lo
But default gw problem stays.
Gahhh, rpoblem with interface stays
dhclient
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on Socket/eth0
Sending on Socket/eth0
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.