Hi, i am trying to create a router domU, which of course needs more than one veths. First i have to say, that in the domains, which i create i only see an eth0 and no veth0, as mentioned in http://wiki.xensource.com/xenwiki/XenNetworking. Why is that? Second, in an attempt to create a second network interface (either named ethX or vethX) i entered 2 vif entries in the conf file of the domain. Now it looks like this: ----------------------- #vif=[''bridge=xenbr0''] disk=[''phy:/dev/hermes/root,hda1,w'',''phy:/dev/hermes/swap,hda2,w''] #ip="192.168.1.17" #netmask="255.255.255.240" #gateway="10.0.0.138" vif = [''mac=aa:00:00:00:00:11''] vif = [''mac=aa:00:00:00:00:12''] ----------------------- Unfortunately only the NIC, which corresponds to the second MAC appeared in the domain. How can i create a second(and third and so on) NIC? I have been searching since yesterday . I''ve changed the "vifnum" parameter in network-bridge script, but didn''t make any difference. Thanks ___________________________________________________________ Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 2006-02-28 at 20:24 +0000, Konstantinos Pachopoulos wrote:> Hi, > i am trying to create a router domU, which of course > needs more than one veths. > First i have to say, that in the domains, which i > create i only see an eth0 and no veth0, as mentioned > in http://wiki.xensource.com/xenwiki/XenNetworking. > Why is that? > > Second, in an attempt to create a second network > interface (either named ethX or vethX) i entered 2 vif > entries in the conf file of the domain. Now it looks > like this: > ----------------------- > #vif=[''bridge=xenbr0''] > disk=[''phy:/dev/hermes/root,hda1,w'',''phy:/dev/hermes/swap,hda2,w''] > #ip="192.168.1.17" > #netmask="255.255.255.240" > #gateway="10.0.0.138" > vif = [''mac=aa:00:00:00:00:11''] > vif = [''mac=aa:00:00:00:00:12''] > ----------------------- > Unfortunately only the NIC, which corresponds to the > second MAC appeared in the domain. How can i create a > second(and third and so on) NIC? I have been searching > since yesterday . I''ve changed the "vifnum" parameter > in network-bridge script, but didn''t make any > difference. > > Thanks > >What happens if you try it like this. vif = [''mac=aa:00:00:00:00:11'' , ''mac=aa:00:00:00:00:12''] Regards, Ted _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Feb 28, 2006 at 08:24:31PM +0000, Konstantinos Pachopoulos wrote:> i am trying to create a router domU, which of course > needs more than one veths. > First i have to say, that in the domains, which i > create i only see an eth0 and no veth0, as mentioned > in http://wiki.xensource.com/xenwiki/XenNetworking. > Why is that?Sorry, it''s me, my image was wrong, It''s OK now. In DomU, interfaces are named ethX.> vif = [''mac=aa:00:00:00:00:11''] > vif = [''mac=aa:00:00:00:00:12''] > ----------------------- > Unfortunately only the NIC, which corresponds to the > second MAC appeared in the domain.Yes, the second line overwrite the first one. Ted Kaczmarek give you the solution: vif = [''mac=aa:00:00:00:00:11'' , ''mac=aa:00:00:00:00:12''] -- Sebastien Koechlin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users