hi, i need eth1 for an adsl connection via rp-pppoe (pppd). I was able to hide eth1 in Dom0, but how i use this device in DomU? Do i have to load the 8139too modul, to have eth1 in DomU? cu denny -- Sicherheit verständlich http://www.sides.de GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You can use the eth1 in dom0 as eth0 in domU thru bridging. create another bridge called xen-br1 in dom0 without giving any IP (either manually or put this in the /etc/xen/scripts/network). bring up and associate the eth1 in dom0 with this bridge. again do not give any IP to eth1. in the startup config file for the domU where you wanna use eth1, put a line vif = [ ''bridge=xen-br1'' ] to associate the new bridge with the vif of this virtual (domU). That should do the trick. If you need the scripts, send me an email ill fire it to you. Thanks JIT --- Denny Schierz <cuall@gmx.de> wrote:> hi, > > i need eth1 for an adsl connection via rp-pppoe > (pppd). I was able to > hide eth1 in Dom0, but how i use this device in > DomU? Do i have to load > the 8139too modul, to have eth1 in DomU? > > cu denny > > -- > Sicherheit verständlich http://www.sides.de > GnuPG Key >http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> i need eth1 for an adsl connection via rp-pppoe (pppd). I was able to > hide eth1 in Dom0, but how i use this device in DomU? Do i have to load > the 8139too modul, to have eth1 in DomU?Yep. You also need to build a kernel that contains PCI support. The easiest way to do this is to start with a xen0 kernel config and modify it to support your device. The PCI device assignment gives domains direct control of the PCI device, so if the driver works in dom0, the same kernel / modules should work with it in the dom0. I''d suggest you try getting it working in dom0 first. Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, first, sorry for the very late answer On Mo, 2005-07-18 at 09:19 -0700, JIT LEISHANGTHEM wrote:> to associate the new bridge with the vif of this > virtual (domU). That should do the trick.ok, what i did: I build a dom0 kernel with all iptables options, ISDN support, traffic shaper, pppd device, etc. my grub config looks like: title Xen 2.0 / XenLinux 2.6.11 kernel /boot/xen.gz dom0_mem=64000 module /boot/xen-linux-2.6.11.12-xen0.xen.kernel root=/dev/hda1 ro console=tty0 i have two network cards: 0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 0000:00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) i created a second bridge: /etc/xen/scripts/network start bridge=xen-br1 netdev=eth1 (how can i do it automatically, but /etc/init.d/<bridge-start-script>) xen-br1 Protokoll:Ethernet Hardware Adresse 00:02:44:3C:B1:61 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:37 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:1036 (1.0 KiB) TX bytes:0 (0.0 b) my web-config: nics=2 vif = [''mac=aa:00:00:00:00:03, bridge=xen-br0''] vif = [''mac=ab:00:00:00:00:04, bridge=xen-br1''] dhcp ="off" ip="192.168.100.4" netmask="255.255.255.0" gateway="192.168.100.253" hostname="web" now i was able to setup an eth1 device (only for testing), but i''m not sure, that it is right. I put down eth1 and now i want to testing. Is until here, everything ok? Could i use pppd for rp-pppoe via eth1 in DomU (web)? cu denny -- Sicherheit verständlich http://www.sides.de GnuPG Key http://pgp.upb.de:11371/pks/lookup?op=get&search=0xAB7D3FE0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users