[PVE-User] promox 2 2nic, 2 nets, 2 gateway

Jose Maria Ramirez jmramirez at cosmantenimiento.com
Fri Feb 24 10:30:00 CET 2012


Stefan escribió:
> Hello all,
>
> Im new to proxmox. I m testing now the latest proxmox 2 beta on dell server 
> and want to build two nets: one public and one private net for iscsi 
> connections..... 
> I was not able having a running communication on eth1. I built a bridge 
> "vmbr1" bridged to eth1. 
> Trying "ping -I vmbr1 ip".
>  ping to vmbr1 is okay, NIC okay, cable okay.
> What have I done wrong? I found no hint in logs.
>
> If eth1/vmbr1 is up, can I set there a second gateway?
>
> Can someone help?
>
> tia
> stefan
Hi,

    I just make this:

proxmox:~# cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
    address  xxx.xxx.xxx.52
    netmask  255.255.255.0
    gateway  xxxx.xxx.xxx.8
up route add -net xxx.xxx.xx.0 netmask 255.255.255.0 gw xxx.xxx.xxx.254
down route del -net xxx.xxx.xxx.0 netmask 255.255.255.0 gw xxx.xxx.xxx.254
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

auto vmbr1
iface vmbr1 inet static
    address  xxx.xxx.xxx.60
    netmask  255.255.255.0
    gateway  xxx.xxx.xxx.9
up route add -net xxx.xxx.xx.0 netmask 255.255.255.0 gw xxx.xxx.xxx.254
down route del -net xxx.xxx.xxx.0 netmask 255.255.255.0 gw xxx.xxx.xxx.254
    bridge_ports eth1
    bridge_stp off
    bridge_fd 0

And i can see ok, in the proxmox interface.

Regards
-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120224/a67d97ae/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firma2.png
Type: image/png
Size: 37178 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120224/a67d97ae/attachment.png>


More information about the pve-user mailing list