hi, i was in mistake with my config... so now, i ''ve got 2 nics: eth0 192.168.1.10 gw 192.168.1.1 eth1 192.168.2.20 gw 192.168.2.1 ---Router(VLAN)---- l l l l eth0---Dom0-----eth1 l l l Dom1-----eth0 l l------eth0--Dom2 l l------eth0--Dom3 ==========================# cat /etc/network/interfaces auto lo iface lo inet loopback auto xenbr0 iface xenbr0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 bridge_ports eth0 # optional bridge_maxwait 0 auto xenbr0 iface xenbr0 inet static address 192.168.2.20 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.2.1 bridge_ports eth0 # optional bridge_maxwait 0 ============================# cat /etc/xen/xend-config.sxp (xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) (vncpasswd '''') ==============================# ifconfig eth0 Link encap:Ethernet HWaddr 00:0F:FE:6D:F4:E5 inet6 addr: fe80::20f:feff:fe6d:f4e5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:55205 errors:0 dropped:0 overruns:0 frame:0 TX packets:3464 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:11382549 (10.8 MiB) TX bytes:725505 (708.5 KiB) Base address:0x2100 Memory:f0500000-f0520000 eth1 Link encap:Ethernet HWaddr 00:13:F7:0B:A9:5C inet6 addr: fe80::213:f7ff:fe0b:a95c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:135269 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:39981510 (38.1 MiB) TX bytes:1588 (1.5 KiB) Interrupt:19 Base address:0xa000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:21 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2376 (2.3 KiB) TX bytes:2376 (2.3 KiB) vif8.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:28659 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:496 (496.0 b) TX bytes:6112602 (5.8 MiB) xenbr0 Link encap:Ethernet HWaddr 00:0F:FE:6D:F4:E5 inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20f:feff:fe6d:f4e5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30636 errors:0 dropped:0 overruns:0 frame:0 TX packets:717 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6003035 (5.7 MiB) TX bytes:135514 (132.3 KiB) xenbr1 Link encap:Ethernet HWaddr 00:13:F7:0B:A9:5C inet addr:192.168.2.20 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::213:f7ff:fe0b:a95c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:82384 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:22305870 (21.2 MiB) TX bytes:720 (720.0 b) ============================================# brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.000ffe6df4e5 no eth0 vif8.0 xenbr1 8000.0013f70ba95c no eth1 =========================================== i can ping my 2 nics on Dom0: 192.168.1.10 and 192.168.2.20 on my Dom1, i put # grep vif /etc/xen/test0.cfg vif = [ ''ip=192.168.2.200,bridge=xenbr1'' ] #cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.2.200 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.2.1 --------- but on my Dom1, i can''t ping anything with the subnet 192.168.2.x if i define my DomU with the subnet 192.168.1.x (like the eth0 interface of Dom0), i can ping anything. so how could i configure my Dom1 to use the eth1 interfaceof Dom0 to go outside (192.168.2.x with gateway 192.168.2.1) instead of the gaetway192.168.1.1 ? thank you in adavance for your help. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users