Summary: Netra X1 as a router

From: Andreas Höschler <ahoesch_at_smartsoft.de>
Date: Mon May 27 2002 - 17:20:57 EDT
Hi,

thanks to all that respondend to my problem and special thanks to 
Kamalan Govender who provided the last bit of the puzzle. The problem 
was caused by the second router in the 192.168.1.0 subnet. I had to add 
a dafault route to the DSL-Router on the net router and a route to the 
net router on the DSL-router. Then it worked.

Thanks,

   Andreas

Original message follows:
====================================================00
I am trying to setup a Netra X1 as a router without success so far. On 
the Netra I have the following files:

/etc/hostname.dmfe0:
=================
192.168.1.8

/etc/hostname.dmfe1:
=================
10.0.0.1

/etc/defaultrouter:
===============
192.168.1.254

/etc/resolv.conf:
=============
nameserver 192.168.1.1
nameserver 192.168.1.254

/etc/hosts:
========
127.0.0.1       localhost
192.168.1.8     neptun  loghost

The machine 192.168.1.254 is our gateway to the internet (router, DNS). 
On neptun (the Netra) I do

# nslookup www.google.de
Server:  merkur.smartsoft.de
Address:  192.168.1.1

Non-authoritative answer:
Name:    www.google.com
Address:  216.239.37.101
Aliases:  www.google.de

# ping www.google.de
ping: unknown host www.google.de

Why does nslookup succeed and ping fails? What could be wrong here?

When I do netstat -rn on the Netra I get

Routing Table: IPv4
   Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.1.0          192.168.1.8           U        1      1  dmfe0
10.0.0.0             10.0.0.1              U        1      1  dmfe1
224.0.0.0            192.168.1.8           U        1      0  dmfe0
default              192.168.1.254         UG       1      0
127.0.0.1            127.0.0.1             UH       2      6  lo0

This seems correct to me although I do not really understand all the 
details yet. I connected a machine with 10.0.0.2 to the second leg of 
the Netra. I can successfully do "ping 10.0.0.1" but "ping 192.168.1.1" 
fails. Shouldn't the Netra act as a router now? What am I missing here?

Thanks a lot for any hint!

Regards,

    Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon May 27 17:27:10 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:44 EST