[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

network problem - pcs cannot see each other



hi, 

i have a problem with our small home network, maybe someone among you can find the mistake. i may be blind by now. ;-)

the situation is like this: 

we have three pcs alltogether. the flavour of debian on pc2 and pc3 is sid, originating from the brilliant http://www.kanotix.de live cd eliminating problems of knoppix consisting of a mixture of testing, unstable etc. the system itselv appears to be quite great.

pc1 
this is the firewall ipcop, one nic via pppoe connected to the outside world, one to pc1

pc2
is connected to pc1 ipcop and can access the net without any problems.

pc3
also debian sid, without problems, connected to  pc2 but not to the net.

pc1: 192.168.0.27
pc2: 192.168.0.13 und 10.10.10.2
pc3: 10.10.10.1

i chose this layout because i had a similar layout already running some time ago with windows. there must a one small mistake somewhere i cannot find even though searching & thinking for quite a few days now. 

below further details concerning the pcs. 

the resolv.conf for pc1 makes me think a little, it does get the dns server via my provider. well, it has always been like this &  is still working, so this should not be the problem.

pc2 and 3 can communicate without any problem, nfs is working and pc3 can ping  both of pc2's nics. but it cannot ping pc1, not to mention surf the net.

i  hope one kind soul might be able to help me,  i have been searching & rtfm for some time now. 

thanks,

akraix





########################################################################
pc1 (firewall) #########

######### ifconfig pc1

eth0 Link encap:Ethernet HWaddr 00:80:AD:05:28:E4
inet addr:192.168.0.27 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:319726 errors:76022 dropped:0 overruns:0 frame:0
TX packets:284074 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131220640 (125.1 Mb) TX bytes:99494524 (94.8 Mb)
Interrupt:5 Base address:0x7f00

eth1 Link encap:Ethernet HWaddr 00:08:A1:4D:EF:BB
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:302045 errors:0 dropped:0 overruns:0 frame:0
TX packets:323304 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:102305713 (97.5 Mb) TX bytes:132832227 (126.6 Mb)
Interrupt:9 Base address:0xbf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3393 (3.3 Kb) TX bytes:3393 (3.3 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:82.82.220.6 P-t-P:145.253.4.140 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1492 Metric:1
RX packets:16451 errors:0 dropped:0 overruns:0 frame:0
TX packets:15883 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:8695229 (8.2 Mb) TX bytes:4315235 (4.1 Mb)

#########routing pc1

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
145.253.4.140 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
1.1.1.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 chaos-maniac 255.0.0.0 UG 0 0 0 eth0
default 145.253.4.140 0.0.0.0 UG 0 0 0 ppp0

######### /etc/hosts pc1

127.0.0.1 localhost
192.168.0.27 waechter
192.168.0.13 chaos-maniac
10.10.10.2 chaos-maniac
10.10.10.1 tobi-strom

######### /etc/resolv.conf pc1

nameserver 127.0.0.1



pc2 #########

eth0 Protokoll:Ethernet Hardware Adresse 00:50:FC:3B6:7F
inet Adresse:10.10.10.2 Bcast:10.0.0.255 Maske:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1065 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:167934 (163.9 KiB) TX bytes:2528 (2.4 KiB)
Interrupt:16 Basisadresse:0xc000

eth1 Protokoll:Ethernet Hardware Adresse 00:50:BF:90:21:46
inet Adresse:192.168.0.13 Bcast:192.168.0.255 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63561 errors:0 dropped:0 overruns:0 frame:0
TX packets:64020 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:27329998 (26.0 MiB) TX bytes:5932680 (5.6 MiB)
Interrupt:17 Basisadresse:0xe000

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2601 errors:0 dropped:0 overruns:0 frame:0
TX packets:2601 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:210015 (205.0 KiB) TX bytes:210015 (205.0 KiB)

######### /etc/network/interfaces pc2

# The loopback interface
# automatically added when upgrading
auto lo eth1 eth0
iface lo inet loopback

iface eth1 inet dhcp

iface eth0 inet static
address 10.10.10.2
netmask 255.0.0.0
network 10.10.10.0
broadcast 10.0.0.255
gateway 192.168.0.27

######### route pc2

Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default waechter 0.0.0.0 UG 0 0 0 eth1

######### /etc/resolv.conf pc2

search
nameserver 192.168.0.27

######### /etc/hosts pc2

127.0.0.1 chaos-maniac localhost
192.168.0.27 waechter
10.10.10.1 tobi-strom

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts



pc3 #########

######### ifconfig pc3

eth0 Protokoll:Ethernet Hardware Adresse 00:50:FC:3B6:7D
inet Adresse:10.10.10.1 Bcast:10.0.0.255 Maske:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4156 errors:0 dropped:0 overruns:0 frame:0
TX packets:4746 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:917540 (896.0 KiB) TX bytes:901588 (880.4 KiB)
Interrupt:10 Basisadresse:0x6000

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:117 errors:0 dropped:0 overruns:0 frame:0
TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:8268 (8.0 KiB) TX bytes:8268 (8.0 KiB)

######## /etc/network/interfaces pc3

# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 10.10.10.1
netmask 255.0.0.0
network 10.10.10.0
broadcast 10.0.0.255
gateway 10.10.10.2

#########route pc3

Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.0 chaos-maniac 255.255.255.0 UG 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default chaos-maniac 0.0.0.0 UG 0 0 0 eth0


#########/etc/resolv.conf pc3

nameserver 192.168.0.27
nameserver 10.10.10.1

#########/etc/hosts pc3

127.0.0.1 tobi-strom localhost
10.10.10.2 chaos-maniac

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts







Reply to: