How I can use 2 IP on same NIC, I will explain my problem:
I have one server with one NIC, the other is broken so I can use only one, the problem is I have 2 networks so the configuration right now is:
I try to put as one BOND and two BRIDGE attached to this bond but interface not allow that, how I can do with one interface only????
Regards,
NOTE: I need VM runs on 192.168.15.1 interface, the other interface have internet.
I have one server with one NIC, the other is broken so I can use only one, the problem is I have 2 networks so the configuration right now is:
/etc/network/interfaces
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp2s0
iface enp2s0 inet static
address 192.168.1.2
netmask 30
gateway 192.168.1.1
auto enp2s0:0
iface enp2s0:0 inet static
address 192.168.15.1
netmask 24
I try to put as one BOND and two BRIDGE attached to this bond but interface not allow that, how I can do with one interface only????
Regards,
NOTE: I need VM runs on 192.168.15.1 interface, the other interface have internet.
Last edited: