[Dnsmasq-discuss] dnsmasq and eth0:1
Jonathan Thackray
jon-dnsmasq@thackray.org
Sun, 14 Nov 2004 10:10:05 +0000
Hi,
I'm on the end of a cable modem, and only have one ethernet card
in my firewall/gateway box, so that eth0 is my DHCP address allocated
by my ISP, and eth0:1 is a 10.x.x.x internal address for my network,
as shown:
eth0 Link encap:Ethernet HWaddr 00:40:63:D7:A6:6E
inet addr:213.107.x.x Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::240:63ff:fed7:a66e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28529 errors:0 dropped:0 overruns:0 frame:0
TX packets:12111 errors:1 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3166669 (3.0 MiB) TX bytes:2389135 (2.2 MiB)
Interrupt:10 Base address:0xec00
eth0:1 Link encap:Ethernet HWaddr 00:40:63:D7:A6:6E
inet addr:10.1.2.4 Bcast:10.1.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xec00
However, when I configure dnsmasq to serve DHCP requests in that
range, I get this error message logged:
no address range available for DHCP request via eth0
Can dnsmasq work with eth0:1? Or am I just configuring it wrongly?
I've tried configuring eth0 to be 10.x.x.x, but then dhclient3
won't configure eth0:1 as a DHCP allocated address.
Thanks,
Jon.