[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] hidden eth1, how to use in DomU?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Denny Schierz <cuall@xxxxxx>
  • Date: Tue, 09 Aug 2005 11:15:50 +0200
  • Delivery-date: Tue, 09 Aug 2005 09:13:48 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.