Network config with 5 usable IPs/29

Hani Ghaith

New Member
Nov 17, 2018
2
0
1
38
Hello,

I have one interface named enp2s5.
I need 1 IP address where the server reachable "74.91.17.138".
The VM's and CT in the 74.91.17.138/29 network.


Code:
auto lo
iface lo inet loopback

iface enp2s5 inet manual

auto vmbr0
iface vmbr0 inet static
        address  74.91.17.138
        netmask  255.255.255.248
        gateway  74.91.17.137
        bridge-ports enp2s5
        bridge-stp off
        bridge-fd 0

How I can to setup the config for that?
I tried more One a way but not worked with me.

Someone can help please?
 
I have one interface named enp2s5.
I need 1 IP address where the server reachable "74.91.17.138".
The VM's and CT in the 74.91.17.138/29 network.


Code:
auto lo
iface lo inet loopback

iface enp2s5 inet manual

auto vmbr0
iface vmbr0 inet static
        address  74.91.17.138
        netmask  255.255.255.248
        gateway  74.91.17.137
        bridge-ports enp2s5
        bridge-stp off
        bridge-fd 0

How I can to setup the config for that?
I tried more One a way but not worked with me.


Configuration looks correctly, but if it works depends on the related network architecture. More information needed to consider this issue.
 
Hi Richard.

Thank you for your response.
I was asking how I can access the VM's server or the CT through the additional IPs.
What are the correct settings so I can access the virtual servers of each server with its own IPs?

Greetings
 
Normally you can use the vmbr0 as an Bridged Interface for the VM/CT itself. Now you have to configure the IPs manually in the VM/CT or set it through the Web GUI if possible.

This is the way if you do not have a MAC / IP Binding, there you have to create some virtual MAC's to use it directly or you have to use the routed method.