Hello, I have a xen server that needs to run a domU on a different vlan than xen''s. I have configured my switch (a cisco catalyst) to tag every untagged packet to the default vlan (the one in which is dom0) and to accept tagged packets (for that domU). I have xenbr0 linked with the eth0, the default network. Then I run * vconfig add eth0 101 -> To create a virtual interface with vlan tagging. * /etc/xen/scripts/network start netdev=eth0.101 bridge=xen-br101 antispoof=no -> to start xen services in this new bridge interface. Then I configure a domU to use this new vlan with this configuration: kernel = "/boot/xen-linux-2.6.12.6-atica-xenu-xen0" memory = 256 name = "test2" disk = [''phy:vm_volumes/root.dhcp1,hda1,w'', ''phy:vm_volumes/var.dhcp1,hda2,w'', ''phy:vm_volumes/swap.dhcp1,hda3,w''] vif = [ ''bridge=xen-br302'' ] ip="172.19.3.123" netmask="255.255.255.0" gateway="172.19.3.254" hostname="test2" root = "/dev/hda1" extra="3" 172.19.3.0 is the network in that vlan. The problem I have is that when this new domU is booted, I can ping to its IP address, but I can''t access to the services is running (for example, sshd). It neithers can connect to any service. For example, it can''t resolve any domain name (it can''t connect to my nameservers). The router is well configured, because I can ping to hosts in other networks. Do you have any idea of what I am doing wrong? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Lucas de Souza Santos
2006-Mar-27 15:30 UTC
Re: [Xen-users] Xen networking on different vlans
Em Seg, 2006-03-27 às 14:07 +0200, Angel L. Mateo escreveu:> > The problem I have is that when this new domU is booted, I can ping to > its IP address, but I can''t access to the services is running (for > example, sshd). It neithers can connect to any service. For example, it > can''t resolve any domain name (it can''t connect to my nameservers). The > router is well configured, because I can ping to hosts in other > networks. > > Do you have any idea of what I am doing wrong?Hi Angel, I experience the same problem. I don''t know why this problem happens but in my case I resolved it using alias interface (eth0:1) instead vlan. Regards, -- Lucas de Souza Santos - 7F8050A6 @ http://subkeys.pgp.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
El lun, 27-03-2006 a las 12:30 -0300, Lucas de Souza Santos escribió:> I experience the same problem. I don''t know why this problem happens > but in my case I resolved it using alias interface (eth0:1) instead > vlan. >But I need (I guess) to do tagging in the interface, because I want to use different networks and vlans. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users