2 x NIC - help

Jan 7, 2014
3
0
21
I warmly welcome

plans to install proxmox 3.1 on a server with 2x NIC.
1 NIC -> LAN 192.168.29.0/24
2 NIC -? WAN 91.x.x.x/24

Please tell me how to create the / etc / network / interfaces?
I would have to choose depending on whether VM or CT should be on the internal network or external.

I greet

Daniel
 
You could install from ISO (CD) on eth0 as LAN IP (should result in vmbr0 > eth0 (will not be directly configured))
Then you add (from web gui) another vmbr (eg: vmbr1) on unconfigured eth1, and set vmbr1 to WAN IP

Then assign vmbr0 or vmbr1 (or both) to vms or cts

Marco
 
hello

thanks for the reply.
're trying a variety of ways - know the rules by adding a GUI
but (please forgive me) I would prefer to see the file / etc / network / interfaces - it is more meaningful to me :)

I greet

Daniel
 
hello

Here are my settings:

"
root@proxmox:/etc/network# cat interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.x.220
netmask 255.255.255.0
gateway 192.168.x.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 87.x.x.123
netmask 255.255.255.248
bridge_ports eth1
bridge_stp off
bridge_fd 0

root@proxmox:/etc/network#
"
and it works with 2 NIC
I wonder just the fact that the network settings 87.xx is not the default router and the network works.
192.168.xx addressing goes completely through another router and other links.

I greet

Daniel
 

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!