salve a tutti.
ho un problema di routing: ho installato Vmware server su una Mandriva 2006 ed ho creato una virtual-machine con Ubuntu 6.06. Le due macchine sono su una Host-only virtual-network. Non riesco a rendere Mandriva un router per Ubuntu.
Il problema è il seguente: Mandriva è connesso ad internet via ppp0 -> eth0(ADSL di Libero.it). Mandriva e Ubuntu sono connesse tramite la vmnet1. Sulla vmnet1 Ubuntu ha IP 172.16.136.128 e Mandriva 172.16.136.1.
Le due macchine si pingano alla grande e Ubuntu viaggia su internet tramite Squid installato su Mandriva. Però io vorrei che Mandriva facesse da router per Ubuntu. Ma ciò non accade.
Premetto che ho provato di tutto, anche a spegnere il firewall su Mandriva (firestarter).
questo è ifconfig su Mandriva (riassunto)
eth0 Link encap:Ethernet HWaddr 00:04:76:12:9D:AB
inet6 addr: fe80::204:76ff:fe12:9dab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:467 errors:0 dropped:0 overruns:0 frame:0
TX packets:511 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:424304 (414.3 KiB) TX bytes:42813 (41.8 KiB)
Interrupt:17 Base address:0xb800
ppp0 Link encap:Point-to-Point Protocol
inet addr:151.44.46.70 P-t-P:151.6.148.66 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:356 errors:0 dropped:0 overruns:0 frame:0
TX packets:389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:409752 (400.1 KiB) TX bytes:26796 (26.1 KiB)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:172.16.136.1 Bcast:172.16.136.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:251 errors:0 dropped:0 overruns:0 frame:0
TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
e questo è route
Destination Gateway Genmask Flags Metric Ref Use Iface
151.6.148.66 * 255.255.255.255 UH 20 0 0 ppp0
172.16.136.0 * 255.255.255.0 U 0 0 0 vmnet1
172.16.203.0 * 255.255.255.0 U 0 0 0 vmnet8
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 151.6.148.66 0.0.0.0 UG 20 0 0 ppp0
ovviamente su Ubuntu il dafault gateway è l'ip di Mandriva
Qualcuno sa dirmi perchè Mandriva non fa il routing della rete 172.16.136.0?
Da dove salta fuori l'IP 151.6.148.66?
Grazie!
Stefano

Rispondi quotando
