Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Cannot Assign 172.20.100.X to intf
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot Assign 172.20.100.X to intf (Read 485 times)
unclez
Newbie
Posts: 6
Karma: 1
Cannot Assign 172.20.100.X to intf
«
on:
July 07, 2024, 07:41:19 pm »
Hello,
I am running OPNSense in a VM using KVM.
I configured 2 eth ports in PCI passthrough to the guest and on them I configured LAGG first and then vlans.
I am trying to assign an IP in the range 172.20.100.X to one of the VLAN tagged interface (as part of a LAGG as said) but I can't get it working.
I always get no IP in the web interface. While from the CLI I get an error:
# ifconfig vlan0.100 172.20.100.1/25
ifconfig: ioctl (SIOCAIFADDR): File exists
If I change the third octet of the network it works. Also I have other vlan interfaces getting the IP and working well.
So basically any network range works like a charm, but the specific subnet 172.20.
100
.X gives me the error.
I don't see any interface using this address... what am I doing wrong?
Logged
unclez
Newbie
Posts: 6
Karma: 1
Re: Cannot Assign 172.20.100.X to intf
«
Reply #1 on:
July 08, 2024, 07:08:58 pm »
Anybody any help?
I tried to rebuild the interface (deleting it and then assigning back again) but still that specific IP pool 172.20.100.X simply is not taken by the interface.
I am sure it is not used anywhere else in my configurations.
How is that possible? How can I Tshoot more?
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: Cannot Assign 172.20.100.X to intf
«
Reply #2 on:
July 08, 2024, 07:21:18 pm »
What netmask are you trying to combine with that?
And post the output of "netstat -rn4", please.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
unclez
Newbie
Posts: 6
Karma: 1
Re: Cannot Assign 172.20.100.X to intf
«
Reply #3 on:
July 08, 2024, 07:30:43 pm »
Quote from: Patrick M. Hausen on July 08, 2024, 07:21:18 pm
What netmask are you trying to combine with that?
And post the output of "netstat -rn4", please.
Hi Patrick,
thank you so much for that.
As soon as I finished to write I realized that I had an old static route for that same network, as well as a rule in the firewall (although it was disabled). As soon as I removed route and rule I managed to add the IP on the Intf
I had to think more.
But thanks for your input!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Cannot Assign 172.20.100.X to intf