WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-fr

Re: [Xen-fr] Réseau extérieur

Merci mais en fait je galere vraiment dur alors voila les infos que j'ai

Configuration de la machine xen :
kernel = "/boot/vmlinuz-2.6-xen"
memory = 128
name = "fedora.fc6"
vif=[ 'bridge=xenbr1' ]
dhcp = "dhcp"
disk = ['file:/img/fedora.fc6.img,sda1,w', 'file:/img/fedora.swap,sda2,w']
root = "/dev/sda1 ro"

----

IP sur la machine hote :
ifconfig ath0
ath0      Link encap:Ethernet  HWaddr 00:11:F5:67:32:07
         inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
         inet6 addr: fe80::211:f5ff:fe67:3207/64 Scope:Link
         UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:65454 errors:0 dropped:0 overruns:0 frame:0
         TX packets:64962 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:49838175 (47.5 MiB)  TX bytes:8905577 (8.4 MiB)

----------

bash-3.1# ifconfig vif7.0
vif7.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:26 errors:0 dropped:0 overruns:0 frame:0
         TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:32
         RX bytes:3088 (3.0 KiB)  TX bytes:1742 (1.7 KiB)

bash-3.1# ifconfig xenbr1
xenbr1    Link encap:Ethernet  HWaddr 00:11:F5:67:32:07
         inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
         inet6 addr: fe80::211:f5ff:fe67:3207/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:236 errors:0 dropped:0 overruns:0 frame:0
         TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:7168 (7.0 KiB)  TX bytes:594 (594.0 b)



bash-3.1# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr1          8000.0011f5673207       no              ath0

    vif7.0
bash-3.1# more /proc/sys/net/ipv4/ip_forward
1

bash-3.1# iptables -L -v
Chain INPUT (policy ACCEPT 4866 packets, 2833K bytes)
pkts bytes target     prot opt in     out     source
destination

Chain FORWARD (policy ACCEPT 38 packets, 2796 bytes)
pkts bytes target     prot opt in     out     source
destination
   0     0 ACCEPT     all  --  any    any     anywhere
anywhere            PHYSDEV match --physdev-in vif7.0

Chain OUTPUT (policy ACCEPT 5396 packets, 597K bytes)
pkts bytes target     prot opt in     out     source
destination


et sur la machine hote :

[root@fc6_pristine ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:3E:50:13:4A
         inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:39 errors:0 dropped:0 overruns:0 frame:0
         TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:3050 (2.9 KiB)  TX bytes:3452 (3.3 KiB)


Voila je crois que j'ai fais le tour des fichiers essentiel au
fonctionnement de mon réseau

Mais rien ne marche personne ne ping personne ...

Pouvez vous m'aider??

Merci


Le 17/01/07, Rodolphe Quiedeville<rq@xxxxxxxxx> a écrit :
Le 17.01.2007 17:31, Julien Rouxel a ecrit :
> Non en fait il y a un routeur sur mon reseau
>
> Ath0 du dom0 192.168.0.2 gw 192.168.0.254
> eth0 du domU 192.168.0.3 gw 192.168.0.2

Salut,

Mets directement

eth0 du domU 192.168.0.3 gw 192.168.0.254


A++

--
Rodolphe Quiedeville - Artisan Logiciel Libre
http://rodolphe.quiedeville.org/
Travaillons Libre - http://fr.lolix.org/

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



--
Julien Rouxel
Esprit-Libre
+33(0)6 86 33 88 34
julien@xxxxxxxxxxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>