X
Xrizolin
Guest
Hello, i have a problem.
I have 2 KVM conatainers with LAN between them with this settings for example.
DEVICE=eth1
NM_CONTROLLED="yes"
HWADDR="92:84:EF:45:32:10"
BOOTPROTO=static
IPADDR=192.168.1.114
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
and now i wand to use NFS where NFS host is into contaner with NAT, so i want to add host server to LAN to use some iptables rules fo make tunel between host server and container. But i cannot add host server to LAN. I configure eth1 with this settings.
# /etc/network/interfaces
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.116
netmask 255.255.255.0
network 192.168.1.0
and get error root@Proxmox-VE:/# ifup eth1
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
Question is: How to make lan between container and host server ? Sorry for bad english.
I have 2 KVM conatainers with LAN between them with this settings for example.
DEVICE=eth1
NM_CONTROLLED="yes"
HWADDR="92:84:EF:45:32:10"
BOOTPROTO=static
IPADDR=192.168.1.114
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
and now i wand to use NFS where NFS host is into contaner with NAT, so i want to add host server to LAN to use some iptables rules fo make tunel between host server and container. But i cannot add host server to LAN. I configure eth1 with this settings.
# /etc/network/interfaces
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.116
netmask 255.255.255.0
network 192.168.1.0
and get error root@Proxmox-VE:/# ifup eth1
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
Question is: How to make lan between container and host server ? Sorry for bad english.