Questions on this setup - don't understand why this is what it is.

Discussion in 'Linux Networking' started by digitalpro, Jul 5, 2005.

  1. digitalpro

    digitalpro Guest

    Setup

    PC1: Linux RH9 - eth0 - 172.17.0.32 static
    eth1 - 192.168.2.255 static

    Laptop1 Linux RH9 - eth0 - dhcp from PC1, 192.168.2.20

    Laptop2 Linux RH9 - eth0 - dhcp from PC1, 172.17.18.27

    So I have PC1 and two switches, one for eth0, one for eth1.
    The two laptops are separated by the switches.

    I don't have IPtables, or forwarding turned on at PC1

    Here is my arp on PC1
    Address HWtype HWaddress Flags Mask
    Iface
    172.17.18.27 ether 00:0D:2E:E8:5B:5C C
    eth0
    192.168.2.20 ether 00:10:A4:8A:88:08 C
    eth1

    So my question is, why Laptop1 can ping Laptop2 and vice versa?
    I cannot telnet into each other, which is correct since I didn't turn
    on forwarding. But why pinging works?
    Can I stop that from happening?
    TIA
     
    digitalpro, Jul 5, 2005
    #1
    1. Advertisements

  2. digitalpro

    Baho Utot Guest

    icmp

    Try using iptables.
     
    Baho Utot, Jul 5, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.