Solaris 9 Routing problem

From: Douglas Tedcastle (douglas.tedcastle_at_virgin.net)
Date: 09/13/03

  • Next message: John Corcoran: "bus error"
    To: <sunmanagers@sunmanagers.org>
    Date: Sat, 13 Sep 2003 11:59:54 +0100
    
    

    I've got a routing problem

    Network is as follows:

    192.168.0.2 (Windows XP Pro PC "silver", default gateway 192.168.0.1)
       |
     100Mb switch
       |
    192.168.0.1 (hme0 100Mb interface on Sparc5 "blue")
       |
    10.0.0.1 (le0 on blue)
       |
    10.0.0.138 (adsl router "adsl")

    Sparc 5 is running Solaris9 08/03
    Machine is configured as a router (it says so at startup)
    and has ip_forwaring enabled on both interfaces (checked with netstat
    -s)

    Relevant outputs:

    # ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
    2
            inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255
            ether 8:0:20:78:6a:6c
    le0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
            inet 10.0.0.1 netmask ff000000 broadcast 10.255.255.255
            ether 8:0:20:78:6a:6c

    #
    # cat /etc/hosts
    127.0.0.1 localhost
    # 192 network (internal)
    192.168.0.1 blue loghost # hme0 100Mb interface
    192.168.0.2 silver # Windows XP PC
    #
    # 10 network (external)
    10.0.0.1 red # le0 onboard interface
    10.0.0.138 adsl # ADSL router connected to
    internet

    # netstat -rn

    Routing Table: IPv4
      Destination Gateway Flags Ref Use Interface
    -------------------- -------------------- ----- ----- ------ ---------
    192.168.0.0 192.168.0.1 U 1 2 hme0
    10.0.0.0 10.0.0.1 U 1 2 le0
    224.0.0.0 192.168.0.1 U 1 0 hme0
    127.0.0.1 127.0.0.1 UH 1 4 lo0
    #
    #
    # arp -a

    Net to Media Table: IPv4
    Device IP Address Mask Flags Phys Addr
    ------ -------------------- --------------- ----- ---------------
    hme0 silver 255.255.255.255 00:02:44:13:1e:e8
    le0 SpeedTouch.lan 255.255.255.255 00:90:d0:01:76:c9
    le0 red 255.255.255.255 SP 08:00:20:78:6a:6c
    hme0 blue 255.255.255.255 SP 08:00:20:78:6a:6c
    le0 224.0.0.0 240.0.0.0 SM 01:00:5e:00:00:00
    hme0 224.0.0.0 240.0.0.0 SM 01:00:5e:00:00:00

    Pinging stuff from the Sun:

    # ping 192.168.0.2
    192.168.0.2 is alive

    # ping 10.0.0.138
    10.0.0.138 is alive

    The problem is, from the Windows box, 192.168.0.2, I am unable to
    ping the router 10.0.0.138. I am able to ping both interfaces on the
    Sun, however. Doing a traceroute from 192.168.0.2 to 10.0.0.138 hangs
    after 192.168.0.1

    Running Ethereal on le0 while pinging 10.0.0.138 from the Windows box, I
    can see the ADSL router doing an arp request for 192.168.0.2 and not
    getting any answer.
    Tried adding the MAC address for the Windows box onto the ADSL router
    but it didn't make any difference.

    Theories:
    1. Is it something to do with the MAC addresses on the Sun network
    interfaces being the same. Don't think its this as have tried changing
    one of them, didn't make any difference

    2. Does the Sun need to do the arp proxy reply for the Windows box?

    3. Although the Sparc should be passing the traffic in both directions,
    the evidence seems to say its not.

    Any ideas?
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: John Corcoran: "bus error"

    Relevant Pages

    • Re: ICS Behind a Router with DHCP
      ... > unfortunately Windows then goes and says that this IP address is in use on the network. ... the ADSL router and its own NIC 2. ... Since ICS on PC 1 will always force the downstream NIC to use 192.168.0.1, ...
      (microsoft.public.windowsxp.network_web)
    • Re: [opensuse] local network to ADSL router not available after boot - manual reconfiguration ne
      ... I have a perplexing problem connecting to my ADSL router and local network. ... is to say - delete it - press next etc. Card is then shown in Yast as ... After boot, ...
      (SuSE)
    • Re: Newbie - fc6 tiscali broadband Sagem modem
      ... This very much depends on your physical and logical network topology. ... Also, the ADSL router is running in half-bridging mode, forwarding *all* ... packets to the Linux box for firewalling and ... I never want to risk the possibility that any packets might get ...
      (uk.comp.os.linux)
    • Re: Networking 2 computers Problems
      ... >I have a adsl router which I have two computers connected into. ... >I just used the Network Setup wizard to set up a network between the two ... >"mshome is not accessible" (MSHome is the name of the workgroup). ...
      (microsoft.public.windowsxp.network_web)
    • New To Home Networking
      ... broadband from BT, received the adsl router and the filters etc, thats all ... I have a laptop which id like to connect to the internet when im at home ... using the broadband, i know i could get a wireless network card which should ...
      (microsoft.public.windowsxp.network_web)