Juan Luis Moyano
2006-Jun-22 11:52 UTC
[Asterisk-Users] Soekris net4801 and IAXy dhcp issue
Hi all, I have a Soekris net4801-50 board with OpenBSD 3.9 where I've configured a dhcp server and tested it with a regular PC connected directly via a crossover cable with success. The problem comes when I try to connect my IAXy device instead of the PC. I can see with 'tcpdump -nettti sis1' that the IAXy isn't sending any packets to the dhcp server. I thought my IAXy was bad but then I configured a second dhcp server with the exact same config file and the IAXy worked right out. So I don't have a clue of what could be happening. Please shed me some light on this issue. Thanks in advance. Juan Luis Moyano #cat /etc/dhcpd.conf shared-network LOCAL-NET { option domain-name "b-fon.com.ar"; option domain-name-servers 10.32.2.254, 200.69.193.1, 200.69.193.2; subnet 10.32.2.0 netmask 255.255.255.0 { option routers 10.32.2.254; range 10.32.2.32 10.32.2.64; } } # tcpdump -nettti sis1 tcpdump: listening on sis1, link-type EN10MB ^C 0 packets received by filter 0 packets dropped by kernel
See my comments in-line. Juan Luis Moyano wrote:> Hi all, I have a Soekris net4801-50 board with OpenBSD 3.9 where I've > configured a dhcp server and tested it with a regular PC connected > directly via a crossover cable with success. The problem comes when I > try to connect my IAXy device instead of the PC. I can see with > 'tcpdump -nettti sis1' that the IAXy isn't sending any packets to the > dhcp server. I thought my IAXy was bad but then I configured a second > dhcp server with the exact same config file and the IAXy worked right > out. So I don't have a clue of what could be happening. Please shed me > some light on this issue. Thanks in advance. > > Juan Luis Moyano > > #cat /etc/dhcpd.conf > shared-network LOCAL-NET { > > option domain-name "b-fon.com.ar"; > option domain-name-servers 10.32.2.254, 200.69.193.1, > 200.69.193.2; > > subnet 10.32.2.0 netmask 255.255.255.0 { > option routers 10.32.2.254; > range 10.32.2.32 10.32.2.64;Have you tried: range dynamic-bootp 10.32.2.32 10.32.2.64; IIRC, IAXY requires bootp. Leo <snip>
Eric "ManxPower" Wieling
2006-Jun-22 19:55 UTC
[Asterisk-Users] Soekris net4801 and IAXy dhcp issue
Juan Luis Moyano wrote:> Hi all, I have a Soekris net4801-50 board with OpenBSD 3.9 where I've > configured a dhcp server and tested it with a regular PC connected > directly via a crossover cable with success. The problem comes when I > try to connect my IAXy device instead of the PC. I can see with 'tcpdump > -nettti sis1' that the IAXy isn't sending any packets to the dhcp > server. I thought my IAXy was bad but then I configured a second dhcp > server with the exact same config file and the IAXy worked right out. So > I don't have a clue of what could be happening. Please shed me some > light on this issue. Thanks in advance.I've suspected for a while that the IAXy does not use DHCP, but uses a similar, older protocol called BOOTP. It could not hurt to try and enable BOOTP on your DHCP server (ISC DHCP server supports this).