Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tozo

#1
Hi,

I try to setup OPNsense in proxmox for couple of days now, but I can't figure out why it's not working. First let me start with how the "network layout" looks like:

ISP -> ISP's router which is set to modem mode (so it shouldn't do anything other than passing through the connection) -> proxmox -> OPNsense (which is installed as a VM). First I created the Linux Bridges for the ports on my PC, then I only assigned two network devices to the VM (vmbr1 and vmbr2), just so that I can set it up more easily and later on I will add the rest of the network ports.

Then in OPNsense I assigned vtnet0 to WAN (which is actually my WAN port) and vtnet1 to LAN and I also changed its static IP to 10.0.0.1/24

Here is a link to the screenshots for all the points I mentioned earlier

But the issue is that for some reason OPNsense can't get an IP from my ISP. Or actually I can see an IP there, but for some reason it can't add that IP to the interface? I grabbed the logs from Interfaces -> Point to Point -> Log file and found some interesting entries there:

2022-01-19T22:05:30 ppp[78327]  [wan] IPCP: rec'd Terminate Ack #5 (Stopped)     
2022-01-19T22:05:30 ppp[78327]  [wan] IPCP: LayerFinish 
2022-01-19T22:05:30 ppp[78327]  [wan] IPCP: state change Stopping --> Stopped   
2022-01-19T22:05:30 ppp[78327]  [wan] IPCP: rec'd Terminate Ack #4 (Stopping)   
2022-01-19T22:05:30 ppp[78327]  [wan] IPCP: SendTerminateReq #5 
2022-01-19T22:05:28 ppp[78327]  [wan] IFACE: Removing IPv4 address from pppoe0 failed: Can't assign requested address   
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: LayerDown   
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: SendTerminateReq #4 
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: state change Opened --> Stopping     
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: parameter negotiation failed     
2022-01-19T22:05:28 ppp[78327]  [wan] IFACE: IfaceChangeAddr() error, closing IPCP   
2022-01-19T22:05:28 ppp[78327]  [wan] IFACE: Adding IPv4 address to pppoe0 failed: File exists   
2022-01-19T22:05:28 ppp[78327]  [wan] 77.XXX.XX.104 -> 10.0.0.1 
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: LayerUp 
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: state change Ack-Sent --> Opened     
2022-01-19T22:05:28 ppp[78327]  [wan] SECDNS 193.XXX.XX.8   
2022-01-19T22:05:28 ppp[78327]  [wan] PRIDNS 193.XXX.XX.4   
2022-01-19T22:05:28 ppp[78327]  [wan] IPADDR 77.XXX.XX.104   
2022-01-19T22:05:28 ppp[78327]  [wan] IPCP: rec'd Configure Ack #3 (Ack-Sent)


I think 77.XXX.XX.104 would be my IP, but then it doesn't do anything with it.

I couldn't find anything online about the "Adding IPv4 address to pppoe0 failed: File exists" or the "Removing IPv4 address from pppoe0 failed: Can't assign requested address" messages (but probably I just missed it), I am not sure what they mean.

Does anybody know what I messed up in this setup?

Thanks for the help in advance.