Hello,
I setup a GPON lab to test IPoE but I ran into an issue with the IPoE server configuration. My setup is as follows:
ONU ---- OLT ---- L2 Switch ---- VyOS Router
I am using VLAN 100 configured all the way from the VyOS router to the ONU and I would like to have all clients sharing VLAN 100.
At first, I configured my router as a router on a stick, with all VLANs on the same physical interface:
interfaces {
ethernet eth0 {
hw-id xxx
vif 100 {
}
vif 202 {
address 2.2.2.2/29
}
}
ethernet eth1 {
hw-id xxx
}
}
service {
ipoe-server {
authentication {
mode noauth
}
interface eth0.100 {
client-subnet 100.64.0.0/24
network shared
network-mode L2
}
name-server 8.8.8.8
name-server 8.8.4.4
}
}
When configured like this, the clients on VLAN 100 can’t obtain an IP address. When running tcpdump -epni eth0.100 port 67 or 68
, I can see the DHCP requests and the DHCP replies, but on the client, I was only seeing the requests.
I then mirrored the port towards eth0 on the L2 switch and run tcpdump on a computer plugged to the mirrored port.
I could see:
- DHCP discover from client
- DHCP offer from VyOS
- DHCP request from client
It looks like after the ipoe interface was created, VyOS couldn’t send packets properly anymore towards the VLAN.
I then delivered VLAN 100 to the eth1 tagged and changed the VyOS configuration as follows:
interfaces {
ethernet eth0 {
hw-id xxx
vif 202 {
address 2.2.2.2/29
}
}
ethernet eth1 {
hw-id xxx
}
}
service {
ipoe-server {
authentication {
mode noauth
}
interface eth1 {
client-subnet 100.64.0.0/24
network vlan
vlan-id 100
}
name-server 8.8.8.8
name-server 8.8.4.4
}
}
This one “works” as the client can successfully obtain an IP address. The problem is that with the above configuration, only a single client can exist per VLAN and that wasn’t my intention.
So here is the question: did I misunderstand how the IPoE Server can be used? Did I misconfigure something? Or did I hit a bug?
Thank you,
Luiz