SDN with evpn seems to work, but need help to understand routing...

Gilberto Ferreira

Renowned Member
Hi there.
I had have followed this evpn example:
https://pve.proxmox.com/pve-docs/chapter-pvesdn.html#pvesdn_zone_plugin_evpn

To publicity an ip range with ASN assign to then.
It's works but inside the VM, the outgoing to internet it's show me the Proxmox public IP!
So in that maner I can not use the ASN ip range to provide services, like web server port, for instance.

Here the configuration I made:

This is the controller.

As you can see, I use Proxmox public IP as peers.

1750973041255.png

Then created a zone like that:

1750972981921.png

And created a vnet like this:

1750974893931.png

In the VM I had have set up like this:

1750973194674.png

I need to know how can I use this configuration but make the external access to the ASN IP assign to the VM.

Any help will be great.

Best regards.
 

Attachments

  • 1750973151854.png
    1750973151854.png
    82.8 KB · Views: 7
Last edited:
the flow is like :

vm(103.204.193.X)---->vnet(103.204.193.1)------- default route to exit-node ----->proxmoxnode01(exit-node)---------default gw------------->upstream routeur

then in the reverse direction

upstream routeur-----route to 103.204.193.0/24 gw "proxmoxnode01 ip"------------------> proxmoxnode01(exit-node)------>vnet---->vm(103.204.193.X)


(so you need a route in the reverse direction in the upstream router, you can do it static, or add an extra bgp controller to announce your evpn subnet dynamically to upstream router)
 
  • Like
Reactions: Gilberto Ferreira
the flow is like :

vm(103.204.193.X)---->vnet(103.204.193.1)------- default route to exit-node ----->proxmoxnode01(exit-node)---------default gw------------->upstream routeur

then in the reverse direction

upstream routeur-----route to 103.204.193.0/24 gw "proxmoxnode01 ip"------------------> proxmoxnode01(exit-node)------>vnet---->vm(103.204.193.X)


(so you need a route in the reverse direction in the upstream router, you can do it static, or add an extra bgp controller to announce your evpn subnet dynamically to upstream router)
Thank you... I got it.