Q: route/arp/? to local LAN

From: Malcolm Dew-Jones (yf110_at_vtn1.victoria.tc.ca)
Date: 06/28/04

  • Next message: kurt: "Re: USB port failed after installation"
    Date: 28 Jun 2004 10:51:52 -0800
    
    

    Hello.

    I two PCs both using the same cable modem connection through a simple
    cable splitter.

            pc1 ---\
                    \
                     => cable-modem -- isp-network
                    /
            pc2 ---/

    Each machine gets its ip address via dhcp from the isp.

    Both machines work fine, i.e. both machines can communicate with the
    internet with no problem. However, they can't talk directly to each
    other.

    Presumably(?) I need to do something with the route and/or arp setups, but
    I'm not sure what.

    I tried using arp on each pc
            arp -s $other-pc-ip $other-pc-hwaddr (on both pcs)

    but that made no difference.

    I tried route (on both pc's) in a couple of different ways

            route add -host $other-pc-ip eth0

    and

            route add -host $other-pc-ip gw $other-pc-ip eth0
            
    but still no joy.

    (Perhaps my arp and route thoughts are all wrong.)

    Suggestions welcome on the best way to get them to talk directly to each
    other (other than buying one of the small hubs that are more normally
    used).


  • Next message: kurt: "Re: USB port failed after installation"

    Relevant Pages

    • Re: Any reasons to filter ARP packets?
      ... hundreds and maybe even thousands machines. ... the network device is open for ARP packets since ... Essentially the goal of this attack is similar, ...
      (comp.os.linux.security)
    • Re: Please Gurus here solve my simple nw problem
      ... >> the router by virtue of being directly connected networks. ... >> The hosts on USERLAN have to have 192.168.0.1 as their default gw. ... If this is the case, then most of the machines in USERLAN, including ... route intenet traffic over its DSL. ...
      (comp.os.linux.networking)
    • Re: Translate MAC address to IP address
      ... >> every packet and counts traffic volume by source and destination MAC. ... with a bunch of gateway machines on it. ... results from the local ARP table. ...
      (freebsd-net)
    • Re: Window 2003 Server - RRAS to Connect Two VLANs?
      ... I would double check the ASA route command. ... > I have a fairly simple existing network layout where all machines are ... > I have tried adding a static route on the Cisco ASA5505 but no joy. ...
      (microsoft.public.windows.server.networking)
    • Re: scan for machines in the subnet
      ... the current subnet from one of the machines and get their MAC-adresses. ... Ask the network administrator? ... has intelligence (and you have access to that switch), ... ARP cache, except that the switch should know where everyone is (which ...
      (comp.os.linux.networking)