Page MenuHomeVyOS Platform

IPoE server assigns network address
Closed, ResolvedPublicBUG

Description

IpoE server assigns the first IP address from the subnet declaration to a client. In many cases, this may generate unexpected behavor on client side:

# ipoe config
set service ipoe-server client-ip-pool name clients gateway-address '100.64.24.1'
set service ipoe-server client-ip-pool name clients subnet '100.64.24.0/24'
set service ipoe-server interface bond0.100 network 'vlan'
set service ipoe-server interface bond0.100 vlan '2000-3000'
set service ipoe-server name-server '208.67.222.222'

# Sessions:
vyos@ipoe-serv# run show ipoe-server sessions 
ifname     | username |    calling-sid    |     ip      | rate-limit | type | comp | state  |  uptime  
----------------+----------+-------------------+-------------+------------+------+------+--------+----------
 bond0.100.2000 |          | 50:00:00:09:00:00 | 100.64.24.0 |            | ipoe |      | active | 00:00:33  ### This should be avoid
 bond0.100.2001 |          | 50:00:00:0a:00:00 | 100.64.24.1 |            | ipoe |      | active | 00:00:31 
 bond0.100.2002 |          | aa:bb:cc:00:b0:00 | 100.64.24.2 |            | ipoe |      | active | 00:00:26

Details

Version
1.4-rolling-202306080317
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)