Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP broadcasts bogus IP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rman77
n00b
n00b


Joined: 18 Sep 2004
Posts: 50
Location: USA

PostPosted: Wed Jul 06, 2005 2:53 pm    Post subject: DHCP broadcasts bogus IP Reply with quote

I just built a spiffy new server but I've run into a problem with DHCPd, The clients (which are windows :roll: ) never recieve an IP address even though the server offers it.... I took the firewall (shorewall) down and cleaned so traffic is running freely and did some sniffing with ethereal and apperently the server sends an invaild packet? I'm stumped... please help...

Ethereal Sniff
Code:

Source                   Destination           Protocol    Info
0.0.0.0                   255.255.255.255   DHCP       DHCP Discover
AlphaNet_89:59:9e       Broadcast             IP            Bogus IP Header Length (0 must be at least 20)


/log/messages (cleaned)
Code:

dhcpd: DHCPDISCOVER from <client addr> via wlan0
dhcpd: DHCPOFFER on 192.168.0.100 to <client addr> via wlan0
dhcpd: DHCPDISCOVER from <client addr> via wlan0
dhcpd: DHCPOFFER on 192.168.0.100 to <client addr> via wlan0
(spins untill client times out)


Conf.d/net (cleaned)
Code:

iface_wlan0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0


DHCP.conf
Code:

authoritative;
ddns-update-style interim;
subnet 192.168.0.0 netmask 255.255.255.0 {
    range 192.168.0.100 192.168.0.250;
    default-lease-time 259200;
    max-lease-time 518400;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.0.255;
    option routers 192.168.0.1;
    option domain-name-servers 192.168.0.1;
}


dhcp version dhcp-3.0.1-r1
wlan0 is wireless (obviously) but works correctly (i have used it for dhcp in the past)...

thanks for the help!
-Rman
Back to top
View user's profile Send private message
rman77
n00b
n00b


Joined: 18 Sep 2004
Posts: 50
Location: USA

PostPosted: Wed Jul 06, 2005 9:59 pm    Post subject: progress...still not solved Reply with quote

Well the problem is not what I it looked like at first... after checking my wlan0 interface it apears to be unable to communicate correctly, it works fine under my gentoo kernel, but cant send packets (or even ping) in my xen kernel... which means I have a kernel config problem (maybe) however, my normal ethernet interfaces work fine under the xen kernel and I have Wireless networking enabled, ndiswrapper doesn't complain at all and the interface can see my AP.... any ideas of an option I could have missed?

-Rman
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum