setting up routing on win XP

Page may contain affiliate links. Please see terms for details.

peterchurch

Active Member
Joined
Sep 6, 2004
Messages
934
Location
Somerset
Hi,

I have a Solaris box that I wish to allow out to the internet. The missus has served an evicton notice on it (get that Grey thing out my kitchen :D )
I have a PC with a spare nic and a wireless card in my office.

I would like to link the Sun to the PC with a cross cable

then route traffic from the sun to the internet though the PC and so on

Have set Solaris box up

10.0.1.5 netmask 255.255.255.0 Default route 10.0.1.1 (pc box)

PC

10.0.1.1 netmask 255.255.255.0 Default route 10.0.1.1

Cant figure out how to poke the packets down the right interface card though :(

Also if I do route print I get


C:\Documents and Settings\Peter>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0f 66 f1 9e b1 ...... Wireless-G PCI Adapter - Packet Scheduler Minipo
rt
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.0.1 10.0.0.101 1
10.0.0.0 255.255.255.0 10.0.0.101 10.0.0.101 25
10.0.0.101 255.255.255.255 127.0.0.1 127.0.0.1 25
10.255.255.255 255.255.255.255 10.0.0.101 10.0.0.101 25
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.0.0.101 10.0.0.101 25
255.255.255.255 255.255.255.255 10.0.0.101 10.0.0.101 1
Default Gateway: 10.0.0.1
===========================================================================
Persistent Routes:
None

(NOT showing the eth0 even though its up and connected ) :(

Bit lost any thoughts ?

Best regards,

Peter
 
Have you got Internet Connection sharing setup on the XP box ?
 
Hi,
not yet I was hoping to get a point to point connection between the sun and the pc first :( It would seem that the PC cannot see the ethernet port :(
although when I plug the crossover cable in the lights flash and the sun tells me that my link has come up :confused:

looking in network props I have a 1394 network adapter but no eth0 :crazy:
 
DOH ! :eek:
Sony disabled it in the bios :mad: WTF???
anyhow now I have an eth0...

So I guess what in nned to do is turn my wireless interface into a default router for the rest of the network so that it will foward HTTP to the router 10.0.0.1 via wireless and Sun traffic out though eth0 10.0.1.5

Any thoughts ?
 
>PC
>10.0.1.1 netmask 255.255.255.0 Default route 10.0.1.1

Aren't you pointing the PC at itself?
 
scotth_uk said:
>PC
>10.0.1.1 netmask 255.255.255.0 Default route 10.0.1.1

Aren't you pointing the PC at itself?

Yeah :( I think that it needs to be

>10.0.1.1 netmask 255.255.255.0 Default route 10.0.1.5 (solaris box)

what I want to acheive is anything to 10.0.1.5 out though 10.0.1.1

everything else out to 10.0.0.1 (internet router) through 10.0.0.101

networking was never my strongest spot :D

I have also figured out that I need to forward DNS queries out from the sun as well ...
 
Best bet would be to configure the Windows box for internet connection sharing, so that it behaves as a DHCP server to the Solaris box. Set the solaris configuration to be DHCP and robert is your mother's brother.
 
On your Win XP box you don't need to add any manual route entries.

The wireless card should have a default gateway specified (your internet router) but there should be no default gateway specified on your ethernet card (the one connected to your solaris box).

The settings on the solaris box look fine. Define the ethernet interface in the normal way. Set your default gateway to be the XP box's ethernet interface (10.0.1.1).

From here you either need to set up Internet Connection sharing or you do it on the router.

The router will need to know about the new network that exists beyond the PC by means of a static route (route add 10.0.1.0 255.255.255.0 10.0.0.101). You may also need to permit the new network internet access on the router too.
 
Tigger said:
On your Win XP box you don't need to add any manual route entries.

The wireless card should have a default gateway specified (your internet router) but there should be no default gateway specified on your ethernet card (the one connected to your solaris box).

The settings on the solaris box look fine. Define the ethernet interface in the normal way. Set your default gateway to be the XP box's ethernet interface (10.0.1.1).

From here you either need to set up Internet Connection sharing or you do it on the router.

The router will need to know about the new network that exists beyond the PC by means of a static route (route add 10.0.1.0 255.255.255.0 10.0.0.101). You may also need to permit the new network internet access on the router too.

Cheers :) I also found that you could use "bridging" as well although that keeps turning on DHCP as does setting up internet sharing :mad: I have got it set so that I can get to it from my PC but no external routes unfortunately the dlink does not have a way to add the route :( but its working for now cheers :D

Thanks everyone :)
 

Users who are viewing this thread

Back
Top Bottom