strano problema di connessione
Inviato: mer 31 dic 2008, 14:40
Ciao a tutti,
sul mio pc fisso ho 2 eth, eth0 collegata al router e eth1 collegata al mio laptop, ho attivato nfs e ip forwarding sul fisso in modo da condividere alcune directory con il laptop e permettere la navigazione su quest'ultimo.
Il problema è che dopo aver attivato l'interfaccia di rete mi funziona correttamente nfs ma non riesco ad uscire su internet dal laptop...
vi posto qualche info in più:
PC FISSO
Uso pppoe per connettermi sul fisso e ho attivo Bind come nameserver locale.
LAPTOP:
sul laptop uso come nameserver il pc fisso non avendo attivato bind, fino a ieri funzionava tutto correttamente con le stesse impostazioni...
Qualcuno mi da una mano please??
PS
PC FISSO --> Slackware 12.1
LAPTOP --> BlueWhite64 12.2
sul mio pc fisso ho 2 eth, eth0 collegata al router e eth1 collegata al mio laptop, ho attivato nfs e ip forwarding sul fisso in modo da condividere alcune directory con il laptop e permettere la navigazione su quest'ultimo.
Il problema è che dopo aver attivato l'interfaccia di rete mi funziona correttamente nfs ma non riesco ad uscire su internet dal laptop...
vi posto qualche info in più:
PC FISSO
Codice: Seleziona tutto
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:8d:54:8d:c9
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:8dff:fe54:8dc9/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3841 errors:0 dropped:0 overruns:0 frame:0
TX packets:3700 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2329684 (2.2 MiB) TX bytes:561389 (548.2 KiB)
Interrupt:18 Base address:0xa000
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:10:a7:17:d9:bb
inet addr:192.168.7.1 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::210:a7ff:fe17:d9bb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1996 errors:0 dropped:0 overruns:0 frame:0
TX packets:3040 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:158379 (154.6 KiB) TX bytes:4190619 (3.9 MiB)
Interrupt:21 Base address:0xa400
Codice: Seleziona tutto
# cat /etc/resolv.conf
search noland.dnx
nameserver 127.0.0.1
Codice: Seleziona tutto
# cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided by
# the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.allow 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
ALL:LOCAL
ALL:192.168.7.0/255.255.255.0
# End of hosts.allow.
Codice: Seleziona tutto
# cat /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.deny 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
ALL:ALL
# End of hosts.deny.
Codice: Seleziona tutto
# cat /proc/sys/net/ipv4/ip_forward
1
Codice: Seleziona tutto
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
LAPTOP:
Codice: Seleziona tutto
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1f:29:89:65:a9
inet addr:192.168.7.100 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::21f:29ff:fe89:65a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3038 errors:0 dropped:0 overruns:0 frame:0
TX packets:2013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4191417 (3.9 MiB) TX bytes:158479 (154.7 KiB)
Memory:e0600000-e0620000
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:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2164 (2.1 KiB) TX bytes:2164 (2.1 KiB)Codice: Seleziona tutto
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.7.1 0.0.0.0 UG 0 0 0 eth0
Codice: Seleziona tutto
# cat /etc/resolv.conf
search noland.dnx
nameserver 192.168.7.1
Qualcuno mi da una mano please??
PS
PC FISSO --> Slackware 12.1
LAPTOP --> BlueWhite64 12.2