I'm running Bering-uClibc 2.2.3 on a Soekris 4801.

I seem to be having issues running DHCP relay. If I assign a static on my linux client then routing and everything works as expected. I can access the internet and traverse the openvpn tunnel just fine. It just seems that dhcrelay is having the problem or some other problem is preventing it from working properly. I've even tried on my home network without the openvpn tunnel just using ethernet interfaces and still have had no luck. Running a DHCP server on the Soekris works just fine without any broadcast routes.

I've run packet captures and the request is making it through the openvpn tunnel, to the DHCP server and back to the Soekris box. It seems it's not being forwarded back out eth1 to the client.

I've spend the last few days scouring the web and haven't found much. It seems like this should be working. I was just wondering if anyone has any ideas why it wouldn't.

I've included some information below. I tried multiple things with the routing as well. I tried scope link as shown below and scope host as well.

I was also wondering about a different DHCP relay package. It seems much smaller than the ISC one. It's about 8.8k versus 63k of the ISC one. http://thekelleys.org.uk/dhcp-helper/

I haven't found an LRP package for it. I don't have a build environment. I was wondering if someone would be so kind as to build a package. I'd be more than willing to test it.


Thanks, Charlie


soekris eth1 dhcp server 10.30.2.1 <--> openvpn <--> 10.30.1.6


ip route 10.8.0.5 dev tun0 proto kernel scope link src 10.8.0.6 255.255.255.255 dev eth1 scope link 10.30.2.0/24 dev eth1 proto kernel scope link src 10.30.2.1 10.30.1.0/24 via 10.8.0.5 dev tun0 10.8.0.0/24 via 10.8.0.5 dev tun0 10.45.1.0/24 via 10.8.0.5 dev tun0 10.25.1.0/24 dev eth0 proto kernel scope link src 10.25.1.103 default via 10.25.1.1 dev eth0



eth1 on Soekris
05:35:41.557784 0.0.0.0.68 > 255.255.255.255.67: xid:0x234a8060 [|bootp] [tos 0x10]
05:35:46.557786 0.0.0.0.68 > 255.255.255.255.67: xid:0x234a8060 secs:5 [|bootp] [tos 0x10]
05:35:58.557786 0.0.0.0.68 > 255.255.255.255.67: xid:0x234a8060 secs:17 [|bootp] [tos 0x10]
05:36:14.557779 0.0.0.0.68 > 255.255.255.255.67: xid:0x234a8060 secs:33 [|bootp] [tos 0x10]
05:36:23.557786 0.0.0.0.68 > 255.255.255.255.67: xid:0x234a8060 secs:42 [|bootp] [tos 0x10]
05:36:31.557785 0.0.0.0.68 > 255.255.255.255.67: xid:0x234a8060 secs:50 [|bootp] [tos 0x10]
05:36:42.567781 arp who-has 127.255.255.255 tell 0.0.0.0
05:36:44.567780 arp who-has 127.255.255.255 tell 0.0.0.0
05:36:46.567780 arp who-has 127.255.255.255 tell 0.0.0.0
05:36:48.567781 arp who-has 127.255.255.255 tell 0.0.0.0
05:36:50.567781 arp who-has 127.255.255.255 tell 127.255.255.255
05:36:52.567781 arp who-has 127.255.255.255 tell 127.255.255.255



tun0 on Soekris
05:35:41.559011 10.8.0.6.67 > 10.30.1.6.67: (request) xid:0x234a8060 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp] (DF)
05:35:41.658380 10.30.1.6.67 > 10.30.2.1.67: (reply) xid:0x234a8060 Y:10.30.2.100 S:10.30.1.6 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp]
05:35:46.558756 10.8.0.6.67 > 10.30.1.6.67: (request) xid:0x234a8060 secs:5 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp] (DF)
05:35:46.688385 10.30.1.6.67 > 10.30.2.1.67: (reply) xid:0x234a8060 Y:10.30.2.100 S:10.30.1.6 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp]
05:35:58.558760 10.8.0.6.67 > 10.30.1.6.67: (request) xid:0x234a8060 secs:17 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp] (DF)
05:35:58.648380 10.30.1.6.67 > 10.30.2.1.67: (reply) xid:0x234a8060 Y:10.30.2.100 S:10.30.1.6 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp]
05:36:14.558732 10.8.0.6.67 > 10.30.1.6.67: (request) xid:0x234a8060 secs:33 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp] (DF)
05:36:14.898385 10.30.1.6.67 > 10.30.2.1.67: (reply) xid:0x234a8060 Y:10.30.2.100 S:10.30.1.6 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp]
05:36:23.558756 10.8.0.6.67 > 10.30.1.6.67: (request) xid:0x234a8060 secs:42 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp] (DF)
05:36:23.778383 10.30.1.6.67 > 10.30.2.1.67: (reply) xid:0x234a8060 Y:10.30.2.100 S:10.30.1.6 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp]
05:36:31.558754 10.8.0.6.67 > 10.30.1.6.67: (request) xid:0x234a8060 secs:50 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp] (DF)
05:36:31.788387 10.30.1.6.67 > 10.30.2.1.67: (reply) xid:0x234a8060 Y:10.30.2.100 S:10.30.1.6 G:10.30.2.1 ether 0:2:8a:24:b4:36 [|bootp]



eth1 on workstation
0.000000 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x234a8060
4.999055 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x234a8060
16.999266 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x234a8060
32.998914 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x234a8060
41.999583 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x234a8060
49.999400 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x234a8060
61.007816 00:02:8a:24:b4:36 -> ff:ff:ff:ff:ff:ff ARP Who has 127.255.255.255? Tell 0.0.0.0
63.007400 00:02:8a:24:b4:36 -> ff:ff:ff:ff:ff:ff ARP Who has 127.255.255.255? Tell 0.0.0.0
65.007088 00:02:8a:24:b4:36 -> ff:ff:ff:ff:ff:ff ARP Who has 127.255.255.255? Tell 0.0.0.0
67.006823 00:02:8a:24:b4:36 -> ff:ff:ff:ff:ff:ff ARP Who has 127.255.255.255? Tell 0.0.0.0
69.012583 00:02:8a:24:b4:36 -> ff:ff:ff:ff:ff:ff ARP Who has 127.255.255.255? Gratuitous ARP
71.013231 00:02:8a:24:b4:36 -> ff:ff:ff:ff:ff:ff ARP Who has 127.255.255.255? Gratuitous ARP




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 3/11/2005



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to