Network configuration help

hamishbesnia

New Member
Feb 11, 2016
2
0
1
46
I have proxmox 3.4 with the following configuration for the net:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.1.46.5
netmask 255.255.255.0
gateway 10.1.46.2
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

I want routing configuration and to create VMs which will use IPs from 10.1.47.0 network.
So i create a bridge vmbr0:

auto vmbr0
iface vmbr0 inet static
address 10.1.47.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0

With this configuration I can't get the network working.
Please help me with some working configuration for the bridge and the VMs
 
Hi,
and the Client config??
Try this at client
Code:
auto eth0
iface eth0 inet static
    address 10.1.47.2
    netmask 255.255.255.0
    post-up ip route add 10.1.47.1 dev eth0
    post-up ip route add default via 10.1.47.1

Next, ist on Host ip forwarding active?
you can change this at
/etc/sysctl.conf:
Code:
net.ipv4.ip_forward = 1
run after change this line
Code:
sysctl -p /etc/sysctl.conf

Uhhh next problem... is masquerading in firewall activated?

A Complete Hotwo in German is here, it works for Proxmox 3 too
Proxmox German installation Howto
 
Last edited: