OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: mliebherr on December 22, 2017, 01:33:58 pm

Title: Virtual PPPoE IP Alias
Post by: mliebherr on December 22, 2017, 01:33:58 pm
Hello!

i am trying to set up a VIP on my PPPoE Interface.
If i do that in the GUI the system does a:

/sbin/ifconfig pppoe1 inet xxx.xxx.149.33/29 alias
 It Returns: ifconfig: ioctl (SIOCAIFADDR): Destination address required

I think it should be:
/sbin/ifconfig pppoe1 inet xxx.xxx.149.33/29 alias ppoe-isp-gw-ip
  => Because that works and makes my vip available to the world.

Am i wrong?
Am i using Opnsense wrong?
Or is it a bug?

Thanks.
Title: Re: Virtual PPPoE IP Alias
Post by: mliebherr on December 27, 2017, 09:25:30 am
Anyone?
Title: Re: Virtual PPPoE IP Alias
Post by: Droppie391 on December 29, 2017, 08:23:26 am
please correct me if i´m wrong but as far as my knowledge goes, the ip address on a  pppoe link is determeined by the ips. you cannot assign your own ip address on that link as the subnet is owned by the isp.
if you you do need a second address, you have to request it from the isp and they will assign that second address on your pppoe link from their side.
Title: Re: Virtual PPPoE IP Alias
Post by: mliebherr on January 05, 2018, 02:39:33 pm
Hello Droppie391,

yes you are wrong  ;)

I get a single IP from my ISP via PPPoE (like a normal internet dialup) and the ISP routes a 2nd complete subnet (in this case xxx.xxx.149.33/29) to my PPPoE IP.

Is this a feature opnsense can not handle yet?

Thanks
Title: Re: Virtual PPPoE IP Alias
Post by: ivoruetsche on January 05, 2018, 11:27:56 pm

Hmmm, that's interesting, this is the 1st time where I see this scenario...

But, maybe one of these idea's can bring you forward:

- Configure the PPPoE with the VIP on the WAN Interface of your router and the Subnet Range on the LAN side, the connect the opnsense on the LAN port of the router.

- Or try to configure opnsense with the PPPoE VIP on the WAN interface and the IP range to a "dummy" VLAN on the opnsense and set the GW to the WAN interface.

I never try this...

gruss ivo
Title: Re: Virtual PPPoE IP Alias
Post by: franco on January 08, 2018, 08:04:14 am
Patch at https://github.com/opnsense/core/issues/2060


Cheers,
Franco