Hi, Eric First of all, I appologize for the late answer.
The dnsmasq version used on the gw is the one packaged with BUC 2.4 iso. For the moment, i doesn't have access to the LAN in question for tcpdumping what's going on. i hope to report about this point at the end of week-end. (for this test, i will unplug all clients from lan except my one just to see what's happend) Please, notice also: before having discovered the issue in question, i'm absolutly sure that netmask has been set correctly once or twice (i saw it). But for an unknown reason, it was gone at next day and i couldn't got it okay since them. BUC's host was also the only system servicing dns and dhcp on our lan (for now, those services have been migrated on another infrastructure (djb+dhcpd)). kindest regards bib On Fri, 21 Apr 2006 12:15:21 +0200 (CEST) "Eric Spakman" <[EMAIL PROTECTED]> wrote: > Hello Barnabé > > I don't see anything obviously wrong in your setup. I'll try to create a > simular setup later to see if I get the same problem. > > Can you try to run a packet sniffer (tcpdump, ethereal) on you workstation > or router (tcpdump) to pinpoint why the netmask isn't advertised? > > Which version of dnsmasq are you using? > > Eric > > > Hello, Eric > > Thank you for your help. > > Sorry for late answer but my 'webmail' reply was rejected by server. > > I've just tried your tip, removing explicit netmask in dhcp-range. > > This didn't resoved this issue. > > > > > > Furthermore, I've tried following change without any success: > > a) added: interface=eth2 no-dhcp-interface=eth2 b) removed: > dhcp-option=1... > > (mask) > > dhcp-option=28... (broadcast) note: broadcast address still okay > > c) removed both eth2 params above > > > > Shorewall dhcp rules seems to be okay and i can ping > > any address on the 192.168.1.0/25 subnet from the firewall. > > > > > > 1. Exerp or 'shorewall show' > > -------------------------------------------------------------------------- > > ---------- > > Chain OUTPUT > > 9 2952 ACCEPT udp -- * eth1 0.0.0.0/0 0.0.0.0/0 udp dpts:67:68 > > Chain eth1_in > > 15 6656 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpts:67:68 > > > > > > > > 2. Content of LRPs config: > > -------------------------------------------------------------------------- > > ---------- > > LRP="root config etc local modules libcrpto libm libz log dropbear > > ulogd iptables shorwall ppp pppoe ntpdate ntpsimpl dnsmasq" > > > > > > > > > > On Tue, 18 Apr 2006 20:33:33 +0200 (CEST) > > "Eric Spakman" <[EMAIL PROTECTED]> wrote: > > > > > >> Hello Barnabé, > >> > >> > >> Did you try it without explicitly seting the netmask? > >> > >> > >> dhcp-range=192.168.1.97,192.168.1.110,10m > >> > >> Eric > >> > >> > >>> Dear all, > >>> I wonder why dnmasq's dhcp doesn't returns the netmask, which should > >>> be 255.255.255.128 > >>> on both LAN and DMZ. Here is the dhcpcd log exerp on my (gentoo-linux) > >>> workstation: > >>> > >>> > >>> > >>> "Apr 18 11:39:48 julie dhcpcd[14872]: subnetMask option is missing in > >>> DHCP > >>> server response. Assuming 255.255.255.0" > >>> > >>> > >>> Same thing appens for macOSX systems on the same lan. > >>> > >>> > >>> > >>> Would someone be nice enough in giving me hand for refine diagnostic > >>> and/or resolve this issue ? > >>> > >>> Many thanks in advance for your help > >>> Kindest regards > >>> bib > >>> > >>> > >>> > >>> 1) /etc/network/interfaces > >>> -------------------------------------------------------------------- > >>> auto lo iface lo inet loopback > >>> > >>> auto ppp0 iface ppp0 inet ppp pre-up ip link set eth0 up provider > >>> dsl-provider eth0 auto eth1 iface eth1 inet static address > >>> 192.168.1.121 > >>> netmask 255.255.255.128 broadcast 192.168.1.127 auto eth2 iface eth2 > >>> inet static address 192.168.1.254 netmask 255.255.255.128 broadcast > >> 192.168.1.255 > >> > >>> > >>> > >>> > >>> 2) Output of 'ip addr' > >>> -------------------------------------------------------------------- > >>> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue > >>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 > >>> scope host lo 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop > >>> link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: > >>> <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > >>> link/ether 00:c0:4f:a4:fa:17 brd ff:ff:ff:ff:ff:ff 4: eth1: > >>> <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > >>> link/ether 00:10:5a:e1:50:08 brd ff:ff:ff:ff:ff:ff inet > >>> 192.168.1.121/25 > >>> brd 192.168.1.127 scope global eth1 5: eth2: <BROADCAST,MULTICAST,UP> > >>> mtu 1500 qdisc pfifo_fast qlen 1000 > >>> link/ether 00:40:f4:41:27:9c brd ff:ff:ff:ff:ff:ff inet > >>> 192.168.1.254/25 > >>> brd 192.168.1.255 scope global eth2 6: ppp0: > >>> <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 3 > >>> link/ppp inet 182.251.214.183 peer 182.251.211.232/32 scope global > >>> ppp0 > >>> > >>> > >>> 3) Output of 'ip route' > >>> -------------------------------------------------------------------- > >>> 182.251.211.232 dev ppp0 proto kernel scope link src > >>> 182.251.214.183 > >>> 192.168.1.0/25 dev eth1 proto kernel scope link src 192.168.1.121 > >>> 192.168.1.128/25 dev eth2 proto kernel scope link src 192.168.1.254 > >>> default via 182.251.211.232 dev ppp0 > >>> > >>> > >>> 4) dnsmasq.conf > >>> -------------------------------------------------------------------- > >>> domain-needed bogus-priv filterwin2k no-resolv no-poll > >> server=182.251.252.10 > >>> server=182.251.250.10 local=/b7/ address=/doubleclick.net/127.0.0.1 > >>> interface=eth1 expand-hosts domain=b7 # Forcing netmask doesn't > >>> change anything: still no netmask given by dhcp > >>> dhcp-option=1,255.255.255.128 dhcp-option=28,192.168.1.127 # This > >>> works dhcp-option=42,0.0.0.0 dhcp-lease-max=150 dhcp-authoritative > >>> cache-size=150 log-queries conf-file=/usr/local/etc/dnsmasq.more.conf > >>> # Dynamic range set > >>> dhcp-range=192.168.1.97,192.168.1.110,255.255.255.128,10m # Static > >>> hosts dhcp-host=00:50:04:99:2D:8C,192.168.1.2,id:* > >>> dhcp-host=00:0D:93:56:93:0E,192.168.1.3,id:* > >>> dhcp-host=00:10:5A:E1:4E:2B,192.168.1.4,id:* > >>> dhcp-host=08:00:2B:86:3C:75,192.168.1.5,id:* > >>> dhcp-host=08:00:20:D9:4D:14,192.168.1.6,id:* > >>> dhcp-host=00:0C:6E:10:CD:EA,192.168.1.7,id:* > >>> > >>> > >>> > >>> > >>> > >>> 5) Exerp of /etc/hosts > >>> -------------------------------------------------------------------- > >>> #/etc/hosts > >>> 127.0.0.1 localhost > >>> 192.168.1.1 1 > >>> 192.168.1.2 host2 2 > >>> 192.168.1.3 host3 3 > >>> 192.168.1.4 host4 4 > >>> 192.168.1.5 host5 5 > >>> 192.168.1.6 host6 6 > >>> 192.168.1.7 host7 7 > >>> 192.168.1.8 8 > >>> ... > >>> 192.168.1.126 126 > >>> #192.168.1.127 THIS_IS_BCAST > >>> #192.168.1.128 128 > >>> ... > >>> #192.168.1.254 254 > >>> #192.168.1.255 THIS_IS_ALSO_BCAST > >>> > >>> > >>> > >>> # The following lines are desirable for IPv6 capable hosts > >>> ::1 ip6-localhost ip6-loopback > >>> fe00::0 ip6-localnet > >>> ff00::0 ip6-mcastprefix > >>> ff02::1 ip6-allnodes > >>> ff02::2 ip6-allrouters > >>> ff02::3 ip6-allhosts > >>> > >>> > >>> > >>> > >>> # ALL ISP IPs ARE FAKE > >>> > >>> > >>> > >> > >> > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > > ------------------------------------------------------------------------ > > leaf-user mailing list: [email protected] > > https://lists.sourceforge.net/lists/listinfo/leaf-user > > Support Request -- http://leaf-project.org/ > > > > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > ------------------------------------------------------------------------ > leaf-user mailing list: [email protected] > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
