> Bonjour, bonsoir,
>
> J'ai mis en place un bridge sur mon interface réseau pour VirtualBox, de la
> façon suivante :
>
> ---
>
> auto lo
> iface lo inet loopback
>
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.1.2
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> gateway 192.168.1.1
> dns-nameservers 208.67.222.222 208.67.220.220
>
> auto eth0
>
> auto br0
> iface br0 inet static
> address 192.168.1.10
> netmask 255.255.255.0
> gateway 192.168.1.1
> bridge_ports eth0
> bridge_stp off
> bridge_maxwait 5
> dns-nameservers 208.67.222.222 208.67.220.220
>
> ---
>
> Ca marche bien. Résultat de l'ifconfig :
>
> ---
>
> br0 Lien encap:Ethernet HWaddr 00:11:09:97:FD:3B
> inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0
> adr inet6: fe80::211:9ff:fe97:fd3b/64 Scope:Lien
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2422110 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1950925 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 lg file transmission:0
> RX bytes:2016654834 (1.8 GiB) TX bytes:227535230 (216.9 MiB)
>
> eth0 Lien encap:Ethernet HWaddr 00:11:09:97:FD:3B
> inet adr:192.168.1.2 Bcast:192.168.1.255 Masque:255.255.255.0
> adr inet6: fe80::211:9ff:fe97:fd3b/64 Scope:Lien
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:3412942 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2521402 errors:0 dropped:0 overruns:0 carrier:0
> collisions:39740 lg file transmission:1000
> RX bytes:3463805630 (3.2 GiB) TX bytes:275835369 (263.0 MiB)
> Interruption:193 Adresse de base:0xcc00
>
> lo Lien encap:Boucle locale
> inet adr:127.0.0.1 Masque:255.0.0.0
> adr inet6: ::1/128 Scope:Hôte
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:434068 errors:0 dropped:0 overruns:0 frame:0
> TX packets:434068 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 lg file transmission:0
> RX bytes:69883839 (66.6 MiB) TX bytes:69883839 (66.6 MiB)
>
> vbox0 Lien encap:Ethernet HWaddr 82:67:51:19:03:D1
> adr inet6: fe80::8067:51ff:fe19:3d1/64 Scope:Lien
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:22252 errors:0 dropped:0 overruns:0 frame:0
> TX packets:47155 errors:0 dropped:108 overruns:0 carrier:0
> collisions:0 lg file transmission:500
> RX bytes:2521595 (2.4 MiB) TX bytes:7552015 (7.2 MiB)
>
> vbox1 Lien encap:Ethernet HWaddr B6:09:D6:98:E3:1E
> adr inet6: fe80::b409:d6ff:fe98:e31e/64 Scope:Lien
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:14491 errors:0 dropped:0 overruns:0 frame:0
> TX packets:24335 errors:0 dropped:17494 overruns:0 carrier:0
> collisions:0 lg file transmission:500
> RX bytes:1138819 (1.0 MiB) TX bytes:35630353 (33.9 MiB)
>
> vbox2 Lien encap:Ethernet HWaddr 56:5A:8D:30:78:C6
> adr inet6: fe80::545a:8dff:fe30:78c6/64 Scope:Lien
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:267551 errors:0 dropped:0 overruns:0 frame:0
> TX packets:499793 errors:0 dropped:15004 overruns:0 carrier:0
> collisions:0 lg file transmission:500
> RX bytes:18189384 (17.3 MiB) TX bytes:749256787 (714.5 MiB)
>
> ---
>
>
> La connexion au net depuis les VM se fait sans problème. Seul hic... ma
> machine "hôte" n'est plus accessible depuis l'extérieur : pas de ping, pas
> d'accès au serveur apache... J'ai viré le br0 de la config, coupé les VM,
> redémarré le réseau... ça marche...
>
> Qu'est-ce que j'ai oublié / mal fait ?
>
> Si quelqu'un a une idée...
>
> Merci !
Bonsoir,