Hey all,
I am currently trying to set up SDN to allocate my public IPs to each server using MAC address specification from IPAM. Unfortunately, it has been a tough trial. The goal was to maintain internet access to VMs (which I could only get working my DHCP setup in SDN on this server for some reason) while automatically assigning one of my five IPs meant to be outward facing to each new container -- and manage them using MAC addresses w/ IPAM.
Configuration:
Zone is VLAN type named "publicIP" bound to the vmbr0 Linux Bridge that is connected like so --
Port/Slave is enp5s0, only network device | CIDR is xx.xxx.xxx.98/29, my public IP | Gateway is xx.xxx.xxx.97
VNet is named "vnetIP" and is connected to the previous zone.
Here's where the problem is. The subnet...
Subnet configuration is as follows -
Subnet IP is xx.xxx.xxx.96/29 (host told me that's where the allocation begins) | Gateway is same as on vmbr0, xx.xxx.xxx.97 |SNAT is on | DHCP Range is xx.xxx.xxx.98 to xx.xxx.xxx.102
When I apply this to my SDN, I get the following error logs:
Any help would be super appreciated.
I am currently trying to set up SDN to allocate my public IPs to each server using MAC address specification from IPAM. Unfortunately, it has been a tough trial. The goal was to maintain internet access to VMs (which I could only get working my DHCP setup in SDN on this server for some reason) while automatically assigning one of my five IPs meant to be outward facing to each new container -- and manage them using MAC addresses w/ IPAM.
Configuration:
Zone is VLAN type named "publicIP" bound to the vmbr0 Linux Bridge that is connected like so --
Port/Slave is enp5s0, only network device | CIDR is xx.xxx.xxx.98/29, my public IP | Gateway is xx.xxx.xxx.97
VNet is named "vnetIP" and is connected to the previous zone.
Here's where the problem is. The subnet...
Subnet configuration is as follows -
Subnet IP is xx.xxx.xxx.96/29 (host told me that's where the allocation begins) | Gateway is same as on vmbr0, xx.xxx.xxx.97 |SNAT is on | DHCP Range is xx.xxx.xxx.98 to xx.xxx.xxx.102
When I apply this to my SDN, I get the following error logs:
Code:
Removed "/etc/systemd/system/multi-user.target.wants/dnsmasq@dhcp.service".
Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq@dhcp.service -> /lib/systemd/system/dnsmasq@.service.
vmbr0 : error: vmbr0: cmd '/bin/ip route replace default via 69.197.131.97 proto kernel dev vmbr0 onlink' failed: returned 2 (Error: Nexthop has invalid gateway.
TASK ERROR: command 'ifreload -a' failed: exit code 1
Any help would be super appreciated.