configure client for internet !

i m using SCO unix openserver 5.0.... on my client machine. i have assign static IP to it and can ping the server. but now i want to connect internet on it through LAN , don't know how to do that?/
like in redhat linux we add dns or gatway entry to the /etc/resolv.conf don't know about SCO unix much.

anyhelp would be appriciated, looking for quick reply..

Syed Alam

That stuff is pretty much the same in SCO as it is in Linux. /etc/resolv.conf is where you put your dns server addresses. The format on that file is:

nameserver x.x.x.x

The default route is a little different.

You can add a default route with the command

route add default x.x.x.x

In order to run this command each time the server boots, I always add it to the /etc/rc2.d/S99route.

The contents on mine read like this:

route flush
route add default 172.22.163.1

Thanks @ phatpenguin
thats what i was looking for to run each time when the server boots... anyway thanks.

Regards,
Syed Alam