Re: VLAN Setup [message #15666 is a reply to message #15664] |
Thu, 09 August 2007 10:45 |
jonasb
Messages: 20 Registered: July 2007
|
Junior Member |
|
|
vaverin wrote on Thu, 09 August 2007 05:51 | As far as I understand you want to use several VE with vlan's IP without any vlan configurations inside VEs. Am I correct?
|
Correct!
vaverin wrote on Thu, 09 August 2007 05:51 |
jonasb wrote on Thu, 09 August 2007 12:57 | I can't get it to work. I can start the VE. And I can ping it from HN but not outside HN. The strange thing is that my vlan disappear when I start the VE. And is availiable again when I stop it.
[root@vz-test ~]# uname -a
Linux vz-test 2.6.18-8.1.8.el5.028stab039.1PAE #1 SMP Mon Jul 23 20:45:26 MSD 2007 i686 i686 i386 GNU/Linux
[root@vz-test ~]# vconfig add eth1 105
Added VLAN with VID == 105 to IF -:eth1:-
[root@vz-test ~]# ifconfig eth1.105 192.168.20.137 netmask 255.255.255.240 broadcast 192.168.20.143
|
here you have configured vlan vid 105 on HW node. OK
jonasb wrote on Thu, 09 August 2007 12:57 |
[root@vz-test ~]# vzctl set 10666 --netdev_add eth1.105 --save
Saved parameters for VE 10666
|
This is wrong, you should not move this device into VE, it's extra task for your purposes.
|
OK, so I don't use --netdev_add at all?
vaverin wrote on Thu, 09 August 2007 05:51 |
jonasb wrote on Thu, 09 August 2007 12:57 |
[root@vz-test ~]# vzctl set 10666 --ipadd 192.168.20.138 --save
Saved parameters for VE 10666
|
This is wrong again: 192.168.20.138 is already used. You should use any non-used IP for your VEs.
|
It doesn't matter which IP-address I use I always got errormessages that they are in use. Im really sure that I don't use them anywhere else.
[Updated on: Thu, 09 August 2007 10:46] Report message to a moderator
|
|
|