defaultroute not working

From: Schaper, Soeren (Schaper@media-saturn.com)
Date: Wed Aug 27 2003 - 05:56:16 EDT


Hi all,

 I have some silly problem here that is driving me nuts. On my
Blade100/Solaris9 the defaultroute is not used.
The local network is fine, everything ist reachable but when I try to reach
a maschine not on my network, instead of sending the data to the default
router my Blade is trying to connect the target maschine directly, even if
the default route is defined. The defaultrouter is reachable if I ping it.
What is wrong here ?

here's the configuration:

root@spica [7] 67 /etc> ifconfig -a
--- snip ---
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.19.211.27 netmask ffff0000 broadcast 172.19.255.255
        ether 0:3:ba:4:b1:af

root@spica [7] 68 /etc> cat defaultrouter
172.19.201.158

root@spica [7] 69 /etc> netstat -r

Routing Table: IPv4
  Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
172.19.0.0 172.19.211.27 U 1 28 eri0
BASE-ADDRESS.MCAST.NET spica U 1 0 eri0
default 172.19.201.158 UG 1 3
localhost localhost UH 63 5867 lo0

Pinging the local net works fine

ping 172.19.201.158
172.19.201.158 is alive

root@spica [5] 49 /etc> snoop icmp
Using device /dev/eri (promiscuous mode)
       spica -> 172.19.201.158 ICMP Echo request (ID: 2524 Sequence
number: 0)
  172.19.201.158 -> spica ICMP Echo reply (ID: 2524 Sequence number:
0

Pinging the remote net the defaultrouter is ignored

root@spica [7] 75 /etc> ping 172.29.2.100

root@spica [5] 51 /etc> snoop icmp
Using device /dev/eri (promiscuous mode)
       spica -> 172.29.2.100 ICMP Echo request (ID: 2527 Sequence number: 0)
       spica -> 172.29.2.100 ICMP Echo request (ID: 2527 Sequence number: 1)
  

Soeren
_______________________________________________
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:00 EDT