OpenVZ Forum


Home » General » Support » Multiple VLANS in VE doesn't work? <SOLVED>
Re: Multiple VLANS in VE doesn't work? [message #34211 is a reply to message #33476] Sun, 14 December 2008 22:10 Go to previous messageGo to previous message
jsosic is currently offline  jsosic
Messages: 6
Registered: December 2008
Location: Split, Croatia
Junior Member

I have problem with VLAN's too.. I have to set up an IP adress for every VLAN in HE, and that wastes 1 IP address per VLAN...and I'm quite limited with avaliable IP addresses. So, I'm wondering, is there a way to set up VE in one VLAN, in the way that HE does not have IP in that VLAN?

bond0     Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:104585 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6031 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7161726 (6.8 MiB)  TX bytes:855520 (835.4 KiB)

bond0.46  Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:69831 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3396478 (3.2 MiB)  TX bytes:468 (468.0 b)

bond0.95  Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:8675 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:651432 (636.1 KiB)  TX bytes:468 (468.0 b)

bond0.203 Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet addr:192.168.0.157  Bcast:192.168.0.159  Mask:255.255.255.248
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:6201 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5997 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:477470 (466.2 KiB)  TX bytes:797520 (778.8 KiB)

bond0.617 Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:5128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:238486 (232.8 KiB)  TX bytes:468 (468.0 b)

eth0      Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:89835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6027 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6021556 (5.7 MiB)  TX bytes:855368 (835.3 KiB)
          Interrupt:106 Base address:0xa000 

eth1      Link encap:Ethernet  HWaddr 00:14:4F:8D:7C:CE  
          inet6 addr: fe80::214:4fff:fe8d:7cce/64 Scope:Link
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:14750 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1140170 (1.0 MiB)  TX bytes:492 (492.0 b)
          Interrupt:114 Base address:0xc000 

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          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:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


So, how to set up VE to have an address in for example VLAN95 (bond0.95 device)?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to share IPs from the same vlan
Next Topic: After install: "vzctl: command not found" [RESOLVED]
Goto Forum:
  


Current Time: Mon Oct 14 10:15:08 GMT 2024

Total time taken to generate the page: 0.09751 seconds