IPOE Different Gateways Per Pool

IPoE related questions
Post Reply
Phyllo
Posts: 11
Joined: 25 Aug 2021, 19:28

IPOE Different Gateways Per Pool

Post by Phyllo »

Hey all,

We have been trying to figure out whether it is possible to add different gateway IP addresses on each Pool for IPOE. Reading from the documentation it isn't clear whether this is possible.
Is the gateway IP limited to one IP for all pools, or does the configuration allow for multiple gateways per pool?

For example:
Pool 1:
210.0.1.0/24 Gateway would be .1

Pool 2:
220.0.2.0/24 Gateway would be .1

-----------------

Я использую Google Translate, поэтому прошу прощения, если что-то непонятно.

Всем привет,

Мы пытались выяснить, можно ли добавить разные IP-адреса шлюза в каждый пул для IPOE. Читая документацию, неясно, возможно ли это.
Ограничен ли IP-адрес шлюза одним IP-адресом для всех пулов или конфигурация позволяет использовать несколько шлюзов для каждого пула?

Например:
Пул 1:
210.0.1.0/24 Шлюз будет .1

Пул 2:
220.0.2.0/24 Шлюз будет .1
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: IPOE Different Gateways Per Pool

Post by dimka88 »

Hello @Phyllo,
You have to define each gw with cidr for each IP pool in 2 sections.
As an example:

Code: Select all

[ipoe]
ip-pool=pool1
gw-ip-address=210.0.1.1/24
gw-ip-address=210.0.2.1/24

[ip-pool]
210.0.2.2/24,name=pool2
210.0.1.2/24,name=pool1,next=pool2
gw-ip-address=210.0.1.1/24
gw-ip-address=210.0.2.1/24
Phyllo
Posts: 11
Joined: 25 Aug 2021, 19:28

Re: IPOE Different Gateways Per Pool

Post by Phyllo »

Thanks dimka88 that makes it really easy!

Alright, so then second question.
If I set the gateway addresses, on the accel-ppp box would creating Linux bridges with gateway addresses work across all VLANs for accel-ppp, or when I set the gw address does accel-ppp create an interface already with the address?
Please let me know if I need to clarify as I am not sure if I worded everything quite right.
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: IPOE Different Gateways Per Pool

Post by dimka88 »

You can do this, but pay attention that that you have to define [ipoe]proxy-arp=1 and also set [ipoe]ifcfg=0 to not set gw ip addreses to ipoeX interfaces
Phyllo
Posts: 11
Joined: 25 Aug 2021, 19:28

Re: IPOE Different Gateways Per Pool

Post by Phyllo »

Just tested all of this and got it working. Thanks again for the help dimka!
I didn't realize that the accel-ppp was going to make the interfaces for me, so I left the interfaces alone and everything seemed to work.
Post Reply