Netra X1 as a router (more info)

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Mon May 27 2002 - 10:25:14 EDT


Hi all,

thanks to all the responses I got so far. It appears that my question
was not clear enough so I add this message to clarify things. The
problem is to get a Netra X1 with two interface (dmfe0 und dmfe1) to be
behave as a router from a subnet 192.168.1.0 to a subnet 10.0.0.0. The
name of the Netra is neptun and the interfaces are configured as follwos:

bash-2.03# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
         inet 127.0.0.1 netmask ff000000
dmfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
         inet 192.168.1.8 netmask ffffff00 broadcast 192.168.1.255
         ether 0:3:ba:f:d3:f
dmfe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 3
         inet 10.0.0.1 netmask ffffff00 broadcast 10.0.0.255
         ether 0:3:ba:f:d3:f

bash-2.03# netstat -rn

Routing Table: IPv4
   Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.1.0 192.168.1.8 U 1 4 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 3
127.0.0.1 127.0.0.1 UH 2 6 lo0
bash-2.03#

/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 the Netra I can successfully do "ping <whatever>" using the router
192.168.1.254 in the 192.168.1.0 subnet. However, I connected a machine
10.0.0.2 to the second interface of the Netra and configured 10.0.0.1 to
be the router for this machine. 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



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