SUMMARY: defaultroute not working

Schaper, Soeren Schaper at media-saturn.com
Wed Aug 27 09:23:17 EDT 2003


	Thanks to all for your help,

 shame on me, it was a faulty routerconfiguration, the configuration on the
sun was ok. I was only looking at the wrong place as was suggested by Caspar
Dik:

>You're interpreting what you see incorrectly; the IP packets are
>supposed to have the remote IP address, not that of the router.

>They are send to the ethernet address of the router; the fact that
>the packet is send means that the ARP protocol was completed.


Soeren




-----Urspr|ngliche Nachricht-----
Von: Schaper, Soeren
Gesendet: Mittwoch, 27. August 2003 11:56
An: 'sunmanagers'
Betreff: defaultroute not working


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 at 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 at spica [7] 68 /etc> cat defaultrouter
172.19.201.158

root at 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 at 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 at spica [7] 75 /etc> ping 172.29.2.100

root at 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 at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list