Retourner au contenu associé (entrée de forum : Se connecter sur un réseau virtuel ?)
Posté par Kangs le 19 mai 2016 à 21:34. En réponse au message Se connecter sur un réseau virtuel ?. Évalué à 2.
Je me suis crée une VM pour faire mes tests. Ça avance mais ce n'est pas encore ça.
Voici ce que j'ai fait, l'Iface n'est pas running, quand je parcours le web j'ai l'impression d'être le seul à ne pas y arriver :(
21h27> ip link delete eth1''' 21h27> ip tuntap add dev eth1 mode tap 21h27> ifconfig eth1 eth1: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 42:a1:9d:40:6b:6f txqueuelen 500 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 21h27> ip addr add 192.170.100.200/24 brd + dev eth1 21h27> ip link set dev eth1 up 21h27> echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp 21h27> arp -Ds 192.170.100.200 eth0 pub 21h27> ifconfig eth1 eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 192.170.100.200 netmask 255.255.255.0 broadcast 192.170.100.255 ether 42:a1:9d:40:6b:6f txqueuelen 500 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 21h27> netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.170.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 21h27> ping -c 2 192.170.100.5 PING 192.170.100.5 (192.170.100.5) 56(84) bytes of data. From 192.170.100.200 icmp_seq=1 Destination Host Unreachable From 192.170.100.200 icmp_seq=2 Destination Host Unreachable --- 192.170.100.5 ping statistics --- 2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1001ms
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# J'ai un peu avancé mais je ne me connecte toujours pas :-(
Posté par Kangs . En réponse au message Se connecter sur un réseau virtuel ?. Évalué à 2.
Je me suis crée une VM pour faire mes tests.
Ça avance mais ce n'est pas encore ça.
Voici ce que j'ai fait, l'Iface n'est pas running, quand je parcours le web j'ai l'impression d'être le seul à ne pas y arriver :(