Computing.Net > Forums > Solaris > Faking a default router

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Faking a default router

Reply to Message Icon

Name: mlegge
Date: January 23, 2002 at 08:06:56 Pacific
Comment:

Hi guys

I am new to Solaris so please bear with me.

I have 2 networks, each currently having a Solaris 8 on an Intel box and one Windows NT box. I also have an application on each of these networks that listens for UDP traffic. Any UDP packets on network 1 that are intended for computers on network 2 are captured, the ethernet framing stripped off and sent over a HF radio link to network 2. The UDP application on network 2 rebuilds the Ethernet framing for the UDP packet received from the HF network and drops it on network 2 where an application on the Solaris box reads the packet and uses it.

This works fine with multicast packets. However, the Solaris server on network 2 has to reply directly to the Solaris on network 1 with a unicast packet. Here's where the problem lies. The Solaris box on network 2 has no idea of how to route messages directly to network 1 so it never sends out the UDP unicast packet. I have fooled the Solaris servers by putting static ARP entries, with a dummy MAC addresses, in their ARP tables. Traffic is now generated and sent as required. However, adding static entries to an ARP table seems a bit of a kludge and for anything other than a very trivial network, it will be difficult to maintain.

What I would like to do is to make the Solaris boxes think that they are in fact connected to a router so that they send out the unicast UDP packets. The fact that the router doesn't exist is not an issue since the UDP capture application will grab the packets off the network and route them through the HF link.

I tried adding a default router by adding the IP address of the NT box on the same network to the defaultrouter file. This did not solve my problem. The Solaris servers would not send out the packets.

Am I trying to do the impossible here or is there a way to accomplish this? Any suggestions would be welcome.

Thanks
Mel



Sponsored Link
Ads by Google

Response Number 1
Name: Giles Gamon
Date: March 15, 2002 at 06:29:12 Pacific
Reply:

I think I may be able to help here, I'm afraid it's a commercial solution; DefaultRouter.

The incoming packet is noted and the source MAC recorded, when the reply comes back DefaultRouter matches the reply to the request and sends the frame out with the original source MAC as the destination.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Faking a default router

Define a gateway in Solaris www.computing.net/answers/solaris/define-a-gateway-in-solaris/529.html

router problems www.computing.net/answers/solaris/router-problems/2007.html

SOLARIS 9 network problem www.computing.net/answers/solaris/solaris-9-network-problem/3207.html