Problem on a addition block Ip

magic1000

New Member
Feb 6, 2011
3
0
1
I have a main IP is: 217.79.26.18 and a additions subnet is: 46.22.33.192/27

Now my /etc/network/interfaces file:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 217.79.26.18
netmask 255.255.255.0
broadcast 217.79.26.255
gateway 217.79.26.1
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

auto vmbr0
iface vmbr0 inet static
address 46.22.33.192
netmask 255.255.255.0

bridge_ports none
bridge_stp off
bridge_fd 0

It's corrected or not?
A guy tell me, networking must:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 217.79.26.18
netmask 255.255.255.0
broadcast 217.79.26.255
gateway 217.79.26.1
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

auto vmbr0
iface vmbr0 inet static
address 46.22.33.192
netmask 255.255.255.224

bridge_ports none
bridge_stp off
bridge_fd 0

Thank you.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!