Re: PoPTop, Samba, IPTables

From: Sebastian Araya (numisys_at_gmail.com)
Date: 07/01/04


Date: 30 Jun 2004 19:54:29 -0700

Hello Giles,

thanks for your answer. Although I can connect (WinXP show me the
icon in the systray), I can't ping any machine in the other side
(scenario B), and no one machine can ping to me. Here it is from WinXP:

C:\Documents and Settings\cbi>ipconfig

Configuración IP de Windows

Adaptador Ethernet Conexión de área local :

Sufijo de conexión específica DNS :
Dirección IP. . . . . . . . . . . : 192.168.1.31
Máscara de subred . . . . . . . . : 255.255.255.0
Puerta de enlace predeterminada : 192.168.1.254

Adaptador PPP AdS :

Sufijo de conexión específica DNS :
Dirección IP. . . . . . . . . . . : 192.168.0.100
Máscara de subred . . . . . . . . : 255.255.255.255
Puerta de enlace predeterminada :

C:\Documents and Settings\cbi>route print

==================================================================
ILista de interfaces
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0a 48 06 b3 10 ...... 3Com 3C910 Integrated Fast Ethernet
Controller (
3CSOHO100B-TX Compatible) - Minipuerto del administrador de paquetes
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
==================================================================
==================================================================
Rutas activas:
Destino de red Máscara de red Puerta de acceso Interfaz
Métrica
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.31
20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
192.168.0.0 255.255.255.0 192.168.0.100 192.168.0.100
1
192.168.0.100 255.255.255.255 127.0.0.1 127.0.0.1
50
192.168.0.255 255.255.255.255 192.168.0.100 192.168.0.100
50
192.168.1.0 255.255.255.0 192.168.1.31 192.168.1.31
20
192.168.1.31 255.255.255.255 127.0.0.1 127.0.0.1
20
192.168.1.255 255.255.255.255 192.168.1.31 192.168.1.31
20
200.69.252.146 255.255.255.255 192.168.1.254 192.168.1.31
20
224.0.0.0 240.0.0.0 192.168.0.100 192.168.0.100
50
224.0.0.0 240.0.0.0 192.168.1.31 192.168.1.31
20
255.255.255.255 255.255.255.255 192.168.1.31 192.168.1.31
1
Puerta de enlace predeterminada: 192.168.1.254
==================================================================
Rutas persistentes: ninguno

and here it is from Linux (firewall/gateway):

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
A.B.C.144 * 255.255.255.248 U 0 0 0 eth1
192.168.1.0 A.B.C.150 255.255.255.0 UG 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0
eth0
169.254.0.0 * 255.255.0.0 U 0 0 0
eth1
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default A.B.C.150 0.0.0.0 UG 0 0 0 eth1

ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:7D:B8:60:57
inet addr:192.168.0.240 Bcast:192.168.0.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:500592 errors:0 dropped:0 overruns:0 frame:0
TX packets:499943 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:176901241 (168.7 Mb) TX bytes:296284759 (282.5 Mb)
Interrupt:10 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:10:4B:C6:D4:D5
inet addr:A.B.C.146 Bcast:A.B.C.152 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:631095 errors:0 dropped:0 overruns:0 frame:0
TX packets:634054 errors:0 dropped:0 overruns:0 carrier:3
collisions:6783 txqueuelen:100
RX bytes:304614900 (290.5 Mb) TX bytes:189329019 (180.5 Mb)
Interrupt:11 Base address:0x9800

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:4419 errors:0 dropped:0 overruns:0 frame:0
TX packets:4419 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:198652 (193.9 Kb) TX bytes:198652 (193.9 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.0.100 P-t-P:192.168.0.100
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:495 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:48885 (47.7 Kb) TX bytes:106 (106.0 b)
Any advises ?

cbi.



Relevant Pages

  • LAN with no hosts :(
    ... I have 2 linux boxes I wish to connect as a LAN: the 'ping' output from ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... inet addr:127.0.0.1 Mask:255.0.0.0 ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ...
    (comp.os.linux.networking)
  • network problem - pcs cannot see each other
    ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ... Destination Gateway Genmask Flags Metric Ref Use Iface ... inet Adresse:127.0.0.1 Maske:255.0.0.0 ...
    (Debian-User)
  • Re: IP Forward Problems
    ... inet addr:143.239.184.13 Bcast:143.239.255.255 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... 143.239.0.0/16 dev eth0 proto kernel scope link src 143.239.184.13 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: help me to configure my RH 9 for connection sharing..!!
    ... inet addr:172.23.132.114 Bcast:255.255.255.255 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... > ifconfig - displays the IP address of each network interface ... > iptables -P FORWARD ACCEPT ...
    (comp.os.linux.networking)
  • Re: IP Forward Problems
    ... inet addr:143.239.184.13 Bcast:143.239.255.255 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)