Thanks a lot for your answer, Yes, I did so, But my hosts can't ping the default gateway. IE: in vlan 103: the host 192.168.103.3 can't ping the vif 192.168.103.1. note that my hosts are virtual machines whithin an esx server. The hosts are connected to a Virtual switch wich Tag data of VMs with the appropriate Vlan. And for example av VM in Vlan 103 can communicate with both a VM or a physical computer whitin the same Vlan, but it can't ping The Vif 103.
Thank you For you help 2007/11/21, Aubrey Wells <[EMAIL PROTECTED]>: > > you'll need to assign an ip to each vif that is in the same subnet as your > hosts in each vlan, and then set that ip (the one on the vif) as the default > gateway of the clients. > ie: > > vlan 101 > subnet 192.168.101.0 /24 > vyatta ip on eth0.101 192.168.101.1 /24 > host ips 192.168.101.2-254 /24 gw 192.168.101.1 > > vlan 102 > subnet 192.168.102.0 /24 > vyatta ip on eth0.102 192.168.102.1 /24 > host ip 192.168.102.2-254 /24 gw 192.168.102.1 > > vlan 103 > subnet 192.168.103.0 /24 > vyatta ip on eth0.103 192.168.103.1 /24 > host ip 192.168.103.2-254 /24 gw 192.168.103.1 > > make sense? > > *------------------* > *Aubrey Wells* > *Senior Engineer* > Shelton | Johns Technology Group > A Vyatta Ready Partner > www.sheltonjohns.com > > > > > On Nov 20, 2007, at 6:15 PM, youssef salameddine wrote: > > Hi, > > I have Two cisco Switchs 2950 sw1 & sw2 with a vtp link (802.1q trunk). > sw1 is the vtp server and sw2 is the vtp client. > The two switchs have 3 vlans: Vlan101, Vlan 102 and vlan 103 and the vlans > can't communicate because there is no routing between them. > I decide to use vyatta to implement routing inter-vlans. So I have a > Vyatta VM that i linked to a port of sw1 and i configured this port as trunk > in the sw1 side (switchport mode trunk). I also create 3 vif (sub interface > of my vyatta interface eth0), so now i have eth0.vif101, eth0.vif102 and > eth0.vif103. > with this configuration machines on a vlan can't communicate with machines > on an other vlan: what do i have to do on my vyatta to activate intervlan > routing. > > Thanks for your help > > -- > > _______________________________________________ > Vyatta-users mailing list > Vyatta-users@mailman.vyatta.com > http://mailman.vyatta.com/mailman/listinfo/vyatta-users > > > --
_______________________________________________ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users