Ben, thank you for your reply.
I forgot to mention in my email that I ran the DHCP server on the same linux host (just for testing at the moment). It is ISC DHCP3.0pl2, and is configured to listen on eth1 (ie. the private network interface) only. The ethernet address is the one for eth1. I was myself confused why this ethernet address is being used as the ethernet address to query the DHCP server. I am going to try to setup another DHCP server on another linux host in the private network and see if it works. I'll keep you posted on my testings and will send you tcpdump outputs in my follow up email. Thanks much for your help in advance, Chee Wai --- Ben McKeegan <[EMAIL PROTECTED]> wrote: > Hi Chee Wai, > > It looks like the DHCP plugin never saw the > DHCPOFFER response. > > What DHCP server are you using? > > Where does the MAC address 00:02:2d:56:ae:5d come > from? > > Can you run your test again please while tcpdump'ing > the DHCP traffic > (use the -e option so it records link level headers > and a long snaplen > e.g. -s 2000 so we get the full DHCP info). > > Cheers, > Ben. > > Chee-Wai Yeung wrote: > > Dear all, > > > > I have a problem with using ppp-dhcp plugin for > > dynamic IP allocation with > > rp-l2tpd/IPsec. I am testing the following setup > > > > XP (192.168.2.50) <---> (192.168.2.1)[eth0]Linux > > (192.168.1.200)[eth1]<->192.168.1.128/25 > > > > (192.168.2.50/192.168.2.1 is now a cross cable > > connection. Eventually the XP will come in from > the > > hostile internet using random IPs) > > > > I have a DHCP server running on the Linux machine, > > listening on eth1, serving IP range 192.168.1.129 > to > > 192.168.1.254. > > > > I have ppp-dhcp plugin running, and options file > for > > pppd includes: > > > > plugin dhcpc.so > > dhcp-interface eth1 > > 192.168.1.98: <- for the local end of the PPP > > tunnel > > > > When the XP connects via L2TP/IPsec, pppd fired up > and > > dhcpc.so offered DHCPDISCOVER, and from the logs, > > DHCPD did reply, but the IP offered could not be > > passed on: > > > > Sep 16 16:24:34 notebook1 pppd[17080]: Plugin > dhcpc.so > > loaded. > > Sep 16 16:24:34 notebook1 pppd[17080]: DHCPC: > plugin > > initialized > > Sep 16 16:24:34 notebook1 pppd[17080]: pppd > 2.4.2b3 > > started by root, uid 0 > > Sep 16 16:24:34 notebook1 pppd[17080]: Using > interface > > ppp0 > > Sep 16 16:24:34 notebook1 /etc/hotplug/net.agent: > > assuming ppp0 is already up > > Sep 16 16:24:34 notebook1 pppd[17080]: Connect: > ppp0 > > <--> /dev/pts/3 > > Sep 16 16:24:37 notebook1 pppd[17080]: DHCPC: > Using > > relay address of '192.168.1.200' > > Sep 16 16:24:37 notebook1 pppd[17080]: DHCPC: > > Broadcasting to servers on interface 'eth1' > > Sep 16 16:24:37 notebook1 pppd[17080]: DHCPC: > Sending > > discover... > > Sep 16 16:24:37 notebook1 dhcpd: DHCPDISCOVER from > > 00:02:2d:56:ae:5d via 192.168.1.200 > > Sep 16 16:24:38 notebook1 dhcpd: DHCPOFFER on > > 192.168.1.199 to 00:02:2d:56:ae:5d via > 192.168.1.200 > > Sep 16 16:24:39 notebook1 pppd[17080]: DHCPC: > Sending > > discover... > > Sep 16 16:24:39 notebook1 dhcpd: DHCPDISCOVER from > > 00:02:2d:56:ae:5d via 192.168.1.200 > > Sep 16 16:24:39 notebook1 dhcpd: DHCPOFFER on > > 192.168.1.199 to 00:02:2d:56:ae:5d via > 192.168.1.200 > > Sep 16 16:24:41 notebook1 pppd[17080]: DHCPC: > Sending > > discover... > > Sep 16 16:24:41 notebook1 dhcpd: DHCPDISCOVER from > > 00:02:2d:56:ae:5d via 192.168.1.200 > > Sep 16 16:24:41 notebook1 dhcpd: DHCPOFFER on > > 192.168.1.199 to 00:02:2d:56:ae:5d via > 192.168.1.200 > > Sep 16 16:24:51 notebook1 pppd[17080]: DHCPC: No > > lease, failing. > > Sep 16 16:24:51 notebook1 pppd[17080]: DHCPC: > Failed > > to obtain an IP address. Terminating connection. > > Sep 16 16:24:51 notebook1 pppd[17080]: Exit. > > > > The ethernet address is the inner interface > (eth1). > > > > I am not sure why this is happening - the relay > does > > not seem to be working. > > > > Has anyone successfully used the ppp-dhcp plugin > with > > rp-l2tpd? I'd appreciate > > any help I can get here. > > > > Thanks much in advance, > > Chee Wai > > > > ===== > > ~~~~~~~~~~~~~~ > > Chee-Wai Yeung > > Email: [EMAIL PROTECTED] > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > > > > > > -- > Ben McKeegan > Firewall Developer > Netservers.co.uk > 01223 576516 > > > ===== ~~~~~~~~~~~~~~ Chee-Wai Yeung Email: [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
