Two machines have bond0
configured to access the Internet.
Technicians in datacenter say the VLAN is created, I just need to configure interfaces on servers to work with it correctly (create a subnet).
What I have right now:
auto bond0
iface bond0 inet static
slaves eno1 eno2
address X.X.X.78/29
gateway X.X.X.73
auto vlan10
iface vlan10 inet static
address 192.168.10.6
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
vlan-raw-device bond0
Even though networking
service starts normally, I can't ping the 192.168.10.6
machine from 192.168.10.3
, and vice versa.
What am I missing?
Note: if I use ip address add 192.168.10.X/24 dev bond0
on both machines, the pings work, until I reboot the machines.
How to edit interfaces
file so that the local subnet would keep on existing after reboot?