Solaris 9 Routing problem

From: Douglas Tedcastle (douglas.tedcastle@virgin.net)
Date: Sat Sep 13 2003 - 06:59:54 EDT


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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:06 EDT