cat78
04-01-2003, 17:11
allora.. ho intallato linux (debian 2.2r7 con kernel 2.2.19) su un pc virtuale (avete presente il programma VirtualPC?).
il sistema operativo "host", cioè quello che gira in real-time, è windows 2k pro.
in pratica su win2k ho installato la loopback adapter (emulazione di una scheda di rete ethernet) configurata in questo modo (output di ipconfig /all):
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . :
mentre sulla debian virtuale ho una scheda (che linux vede come ethernet reale :D ) con una interfaccia eth0 che ho configurato così (file /etc/network/interfaces)
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
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
l'output di ifconfig è il seguente:
debian:/# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:03:FF:4D:4F:50
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:ffff:fe4d:4f50/10 Scope:Link
inet6 addr: fe80::3:ff4d:4f50/10 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1431 errors:0 dropped:0 overruns:0 frame:0
TX packets:543 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1080
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:3924 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ora, io riesco a collegarmi sia in un senso che nell'altro (da win2k a deb e viceversa :) ) con tutti i vari programmi che ho installato (samba, apache, ftp, telnet, ecc...).
quello che adesso vorrei fare è riuscire a connettermi con la debian virtuale anche verso internet (tramite il mio modem 56k) sfruttando la connessione di rete win2k-debian. come faccio? che impostazioni devo modificare o aggiungere?
il sistema operativo "host", cioè quello che gira in real-time, è windows 2k pro.
in pratica su win2k ho installato la loopback adapter (emulazione di una scheda di rete ethernet) configurata in questo modo (output di ipconfig /all):
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . :
mentre sulla debian virtuale ho una scheda (che linux vede come ethernet reale :D ) con una interfaccia eth0 che ho configurato così (file /etc/network/interfaces)
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
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
l'output di ifconfig è il seguente:
debian:/# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:03:FF:4D:4F:50
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:ffff:fe4d:4f50/10 Scope:Link
inet6 addr: fe80::3:ff4d:4f50/10 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1431 errors:0 dropped:0 overruns:0 frame:0
TX packets:543 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1080
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:3924 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ora, io riesco a collegarmi sia in un senso che nell'altro (da win2k a deb e viceversa :) ) con tutti i vari programmi che ho installato (samba, apache, ftp, telnet, ecc...).
quello che adesso vorrei fare è riuscire a connettermi con la debian virtuale anche verso internet (tramite il mio modem 56k) sfruttando la connessione di rete win2k-debian. come faccio? che impostazioni devo modificare o aggiungere?