[PVE-User] Create Bond on proxmox 3.1

Gerald Brandt gbr at majentis.com
Wed Mar 5 04:48:47 CET 2014


On 2014-03-04, 9:41 PM, henry wrote:
> Hi Gerald,... thanks for your help..
>
> this is my "ifconfig" machine :
>
> bond0     Link encap:Ethernet  HWaddr c8:1f:66:d4:6a:0c
>           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500 Metric:1
>           RX packets:3035043 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:27987 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:433969645 (413.8 MiB)  TX bytes:1881264 (1.7 MiB)
>
> eth0      Link encap:Ethernet  HWaddr c8:1f:66:d4:6a:0b
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1319944 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2160694 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:177917566 (169.6 MiB)  TX bytes:2720123222 (2.5 GiB)
>           Interrupt:35
>
> eth1      Link encap:Ethernet  HWaddr c8:1f:66:d4:6a:0c
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500 Metric:1
>           RX packets:1913720 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:27987 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:311070872 (296.6 MiB)  TX bytes:1881264 (1.7 MiB)
>           Interrupt:38
>
> eth2      Link encap:Ethernet  HWaddr c8:1f:66:d4:6a:0c
>           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500 Metric:1
>           RX packets:1121323 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:122898773 (117.2 MiB)  TX bytes:0 (0.0 B)
>           Interrupt:34
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:408802 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:408802 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:359570282 (342.9 MiB)  TX bytes:359570282 (342.9 MiB)
>
> venet0    Link encap:UNSPEC  HWaddr 
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>           inet6 addr: fe80::1/128 Scope:Link
>           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500 Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> vmbr0     Link encap:Ethernet  HWaddr c8:1f:66:d4:6a:0b
>           inet addr:192.168.2.4  Bcast:192.168.2.255 Mask:255.255.255.0
>           inet6 addr: fe80::ca1f:66ff:fed4:6a0b/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1061548 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:724773 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:118879990 (113.3 MiB)  TX bytes:2633974067 (2.4 GiB)
>
> vmbr1     Link encap:Ethernet  HWaddr c8:1f:66:d4:6a:0c
>           inet addr:192.168.10.2  Bcast:192.168.10.255 Mask:255.255.255.0
>           inet6 addr: fe80::ca1f:66ff:fed4:6a0c/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1655838 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:26782 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:241379533 (230.1 MiB)  TX bytes:1669950 (1.5 MiB)
>
> root at pve-dell1:/# route -n
> Kernel IP routing table
> Destination      Gateway         Genmask         Flags   Metric Ref    
> Use Iface
> 192.168.2.0       0.0.0.0            255.255.255.0   U 0         
> 0        0 vmbr0
> 192.168.10.0     0.0.0.0            255.255.255.0   U        0        
> 0        0 vmbr
> 0.0.0.0              192.168.10.1     0.0.0.0             UG 0  
>         0        0 vmbr1
>
>
> thanks again.
Your route looks wrong.  The 'Use Iface' for 192.168.10.0 should be 
vmbr1.  I'm assuming it's a typo on your part?

I see data has been transmitted and received on vmbr1, so it looks like 
it's working.

Gerald

-- 
Gerald Brandt
Majentis Technologies
gbr at majentis.com
204-229-6595
www.majentis.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20140304/93b45d41/attachment-0015.html>


More information about the pve-user mailing list