lxc-net from 10.0.3.1 to 192.168.10.1

cokiere

New Member
Joined
Jun 25, 2020
Messages
3
Reaction score
0
Credits
43
hello
I wanna change ip from 10.0.3.1 to 192.168.10.1 but it doesn't works.
this is lxc-net:
USE_LXC_BRIDGE="true"
LXC_BRIDGE="lxcbr0"
LXC_BRIDGE_MAC="00:16:3e:ea:50:6f"
LXC_ADDR="192.168.10.1"
LXC_NETMASK="255.255.255.0"
LXC_NETWORK="192.168.10.0/24"
LXC_DHCP_RANGE="192.168.10.2,191.168.10.253"
LXC_DHCP_MAX="253"
LXC_DHCP_CONFILE=""
LXC_DHCP_PING="true"
LXC_DOMAIN=""

iptable accept forward input and output

but it works only with this set:

USE_LXC_BRIDGE="true"
LXC_BRIDGE="lxcbr0"
LXC_BRIDGE_MAC="00:16:3e:ea:50:6f"
LXC_ADDR="10.0.3.1"
LXC_NETMASK="255.255.255.0"
LXC_NETWORK="10.0.3.0/24"
LXC_DHCP_RANGE="10.0.3.0,10.0.3.253"
LXC_DHCP_MAX="253"
LXC_DHCP_CONFILE=""
LXC_DHCP_PING="true"
LXC_DOMAIN=""
thanks for any replies
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Latest posts

Top