Route new network interface Solaris 8

Hi there,

I'm trying to configure an additional network interface on Solaris 8 (eri0). The interface has been activated, but all the frames are still routed to the current default interface (ce0) I've tried following command (with various syntaxes...) unsuccessfully so far:
# route add -net 192.168.4.0/24 -interface eri0

Could someone please help me ?
I've had a look into this forum and did not find answers that could match this case.
Thanks to forgive me if I've missed up something...

Below various outputs from (I believe) useful commands:
#ifconfig -a:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 160.94.3.111 netmask fffffe00 broadcast 160.94.3.255
ether 0:3:ba:b:2a:db
eri0: flags=1000850<POINTOPOINT,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.4.5 netmask ffffff00
ether 0:3:ba:b:2a:db
#netstat -rn:
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
140.94.2.0 140.94.3.111 U 1 12794 ce0
224.0.0.0 140.94.3.111 U 1 0 ce0
default 140.94.2.1 UG 1 20913
127.0.0.1 127.0.0.1 UH 386828356 lo0

#route get 192.168.4.6:
route to: 192.168.4.6
destination: 192.168.4.6
mask: 255.255.255.255
interface: ce0
flags: <UP,DONE>
recvpipe sendpipe ssthresh rtt,ms rttvar,ms hopcount mtu expire
0 0 0 0 0 0 1500 0

TIA!
Stephane

Hi Stephane

The first thing that springs to mind is the lack of a broadcast address on eri0. This should be something like 192.168.4.255 (You will need to check with your network team).

I would check the subnet mask as well. Given that the route get indicates a mask of 255.255.255.255 for 192.168.4.6 you will need the same for eri0.

Hope this helps.

Greg

Hi Greg, The additional interface will be directly linked to another computer - Not sure if a gateway is required in this case, but I'll try. Thx! Stephane