nmap from net a to net B, don't work, but ping yes



I have 4 pc

pc1 10.10.10.100
pc2 10.10.1.101
pc3 10.10.1.102
pc4 10.10.1.103

pc2 have this routing table:
10.10.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0 eth1

it'is a router between 10.10.1.0/24 and 10.10.10.0/24
i do in pc2: sysctl -w net.ipv4.ip_forward=1

when i ping from pc1 to pc3 it works fine

but if i do from pc1 to 10.10.1.0/24
nmap -sS -A 10.10.1.0/24

it find only pc2 (router) because it have eth1 in the same network of pc1

in the same time if i do from pc2:
tcpdump -n -i eth0
it don't capture nothing

but
tcpdump -n -i eth1
capture the traffic

why this behavior?

thanks a lot and scuse me for my bad english

--
Riccardo (http://termitano.myminicity.com, visitate e se volete partecipate
sul http://www.iltermitano.it/)

A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #457776
.



Relevant Pages

  • nmap from net A to net B, dont work, but ping yes
    ... pc2 have this routing table: ... in pc3, pc4: ... when i ping from pc1 to pc3 it works fine ... it don't capture nothing ...
    (Security-Basics)
  • ZoneAlarm missing Firewall Zones tab for subnet. New NAT router wont show Entire Network.
    ... Per Netgear quick install, Internet worked for both ... PCs - - Good. ... pc1 can see pc2 files. ...
    (comp.security.firewalls)
  • winXPproSP2 cant be found on network.
    ... PC1 can access files in the shared folders of both PC2 and PC3 ... Status for domain HIGHCOUNTRY on transport ...
    (microsoft.public.windowsxp.network_web)
  • Re: one way share
    ... My most recent update of McAfee Security Center included a firewall. ... The PC2 printer showed up automatically as a PC1 computer. ... On PC2 My Network Places shows the shared files for both computers. ...
    (microsoft.public.windowsxp.network_web)
  • Open mdb in the network
    ... I've made a mdb and the base is in the PC1. ... This file is located out of the intranet or in a non secure site. ... PC1 and PC2 have WinXP Pro and AccessXP instaled. ...
    (microsoft.public.access.security)