cancel
Showing results for 
Search instead for 
Did you mean: 

setup linux pppoe with static ip.

digitalfixer65
Dabbler
Posts: 15
Thanks: 2
Registered: ‎20-01-2014

setup linux pppoe with static ip.

I've moved from O2/Sky to Plusnet.
I have a static ip number allocated.
How do i configure my linux client ethernet port to work with this ip number.
With my old provider all I did was configure my eth0 port with the provided ip number, gateway, network and subnet mask.
I'm assuming that Plusnet doesn't work that way
Kevin.
Edit. The linux box connects to a Vigor 120.
4 REPLIES 4
krs360
Grafter
Posts: 94
Thanks: 2
Registered: ‎27-04-2013

Re: setup linux pppoe with static ip.

Which distro of linux?
My setup is:
[ETH0] ------------------ [Modem in bridge mode]
You will need to run pppoeconf (assuming the distro you're using uses that) it will ask you for your username/password, etc. It's pretty straight forward.
If the machine you're talking about is to be your gateway you'll need to enable IPv4 forwarding and MASQUERADE the ppp0 connection using IP Tables.
digitalfixer65
Dabbler
Posts: 15
Thanks: 2
Registered: ‎20-01-2014

Re: setup linux pppoe with static ip.

Distro is Centos 5.6
rp-pppoe and ppp are installed. I already have iptables configured. I assume I just change all occurrences of Eth0  to ppp0
I'm still not sure what happens about my static ip number. Is that assigned after an established connection.
Kevin.
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: setup linux pppoe with static ip.

You get your static ip issued by dhcp from PN's radius server.
digitalfixer65
Dabbler
Posts: 15
Thanks: 2
Registered: ‎20-01-2014

Re: setup linux pppoe with static ip.

Thank you.