Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to implement dhcp client and pppoe client on the same interfaceat same time?

Reply
Thread Tools Display Modes

How to implement dhcp client and pppoe client on the same interfaceat same time?

 
 
xpaulee@gmail.com
Guest
Posts: n/a

 
      05-13-2009, 02:27 AM

I have a network card named eth0,a pppoe connection has been build
over it named ppp0(pppd eth0).At the same time,I also want a dhcp
connection on eth0,but it failed when i use udhcpc -i eth0 to get IP
address.From wireshark,I noted that The dhcp REQUEST message had been
send via ppp0 not eth0.
 
Reply With Quote
 
 
 
 
Greg Russell
Guest
Posts: n/a

 
      05-13-2009, 05:10 AM
<(E-Mail Removed)> wrote in message
news:4403406d-bfe1-4a06-90ce-(E-Mail Removed)...

> I have a network card named eth0,a pppoe connection has been build
> over it named ppp0(pppd eth0).At the same time,I also want a dhcp
> connection on eth0,but it failed when i use udhcpc -i eth0 to get IP
> address.From wireshark,I noted that The dhcp REQUEST message had been
> send via ppp0 not eth0.


From where is the DHCP service originating? A local router? The eth0 host
machine, or ....?


 
Reply With Quote
 
xpaulee@gmail.com
Guest
Posts: n/a

 
      05-13-2009, 06:50 AM
On May 13, 1:10*pm, "Greg Russell" <m...@privacy.net> wrote:
> <xpau...@gmail.com> wrote in message
>
> news:4403406d-bfe1-4a06-90ce-(E-Mail Removed)...
>
> > I have a network card named eth0,a pppoe connection has been build
> > over it named ppp0(pppd eth0).At the same time,I also want a dhcp
> > connection on eth0,but it failed when i use udhcpc -i eth0 to get IP
> > address.From wireshark,I noted that The dhcp REQUEST message had been
> > send via ppp0 not eth0.

>
> From where is the DHCP service originating? A local router? The eth0 host
> machine, or ....?


DHCP service originating from the eth0 host machine,

1.eth0 send DISCOVER via eth0
2.eth0 get OFFER via eth0
3.eth0 send REQUEST via ppp0(it is the problem!)
.....
 
Reply With Quote
 
Antoine EMERIT
Guest
Posts: n/a

 
      06-01-2009, 05:13 PM
Hi,

"(E-Mail Removed)" <(E-Mail Removed)> écrivait news:4403406d-bfe1-4a06-
90ce-(E-Mail Removed):

>
> I have a network card named eth0,a pppoe connection has been build
> over it named ppp0(pppd eth0).At the same time,I also want a dhcp
> connection on eth0,but it failed when i use udhcpc -i eth0 to get IP
> address.From wireshark,I noted that The dhcp REQUEST message had been
> send via ppp0 not eth0.


You could try to add the 'dhcp broadcast address' to the eth0 interface :

255.255.255.255

The dhcp request are send to this address which is map to the ethernet
broadcast address.

You may also modify the local route table, using the 'ip route' tools, to
change the 255.255.255.255 destination.

Regards
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shorten the DHCP client acquring network address time lywwing Windows Networking 7 09-22-2008 03:39 AM
pppoe-server replies never make it to the client taowei.cs@gmail.com Linux Networking 0 04-25-2006 11:32 AM
dhcp client release time Franky Network Routers 1 02-27-2006 09:16 PM
For some experience, would like to implement "e-mail client" on Linux machine GS Linux Networking 0 12-04-2005 09:00 PM
TechChat: DHCP Server & Client Technology, Mar 03, 2005 (10:00 - 11:00 A.M. Pacific Time). Tanu Mutreja [MSFT] Windows Networking 0 02-25-2005 03:34 PM



1 2 3 4 5 6 7 8 9 10 11