OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: tonysud on October 25, 2017, 05:58:41 pm

Title: pppoe change peer ip address
Post by: tonysud on October 25, 2017, 05:58:41 pm
When I make a wan pppoe connection, my address is ok, but I'd like to force the server pppoe to have a different ip address
is it possibile to make the setting via GUI or I have to modify a config file via shell?
Title: Re: pppoe change peer ip address
Post by: bartjsmit on October 25, 2017, 07:00:46 pm
Is OPNsense the PPPoE server? Can you provide some more info?

Bart...
Title: Re: pppoe change peer ip address
Post by: tonysud on October 25, 2017, 11:49:35 pm
example:
I setup wan interface with my provides
pppoe client with userid and passord
my provides gives me the public ip address (and it's ok) and set the ip address to it
for example: my ip 79.79.79.79 - my provider 192.168.100.1
I want to change its ip address from 192.168.100.1 in something else for example 192.168.100.2

ok?
Title: Re: pppoe change peer ip address
Post by: bartjsmit on October 26, 2017, 08:18:48 am
The 192.168.100.1 address is set on the ISP PPPoE server and OPNsense can't change what it doesn't control.

You should not require an IP address on the OPNsense WAN interface for this to work. Remember it is PPP over Ethernet (Layer 2) not PPP over IP (Layer 3).

Bart...
Title: Re: pppoe change peer ip address
Post by: tonysud on October 26, 2017, 11:14:47 am
yes it can!

I remember some times ago, I modified freebsd configuration and I obtained 192.168.100.2 for the server instead of 192.168.100.1