DHCP, Static IP problem

trenton

Well-Known Member
Joined
Aug 20, 2007
Messages
196
Hello all,

We have 12 PC/laptops in our office, 10 xp pro, 1 home, 1 vista.

We are contract locked in a Telkom Spacetream Office 3 @ ~R1300 p/m for 500mb @ 64k (7 month to go).
Yes, I know, only dimwits sign such crap (before my time).
My problem is this.
Some of the pc's need to connect via the satelite router for internet and connect to the company server. Some of the pc's only need the server.
The pc's that need net connection I set TCP/IP to obtain IP automagicaly and I set an alternative configuration to the company IP.
This works fine for one laptop only and any new pc's I set up work either or.
Meaning, if I set it static, it sees the server, and if I set it DHCP for the sat router, it finds the internet, but not both together.

Please help

Trenton
 

sn3rd

Expert Member
Joined
Jan 18, 2008
Messages
4,305
I'm confused. How are the hosts on the network linked... ? Through a switch?

To clarify, you have several computers, some of which need access to the Internet (accomplished through a router) as well as a server, while others only need to access the server... Correct?

You have configured a few computers to receive automatic settings (via DHCP). What is the "Alternative configuration" that you set?
Only one notebook works, and all the rest don't?

Basically, without really knowing what you are asking, I'll attempt to provide some help:

If you are connecting all the hosts through a switch, and one of the "hosts" is the router (i.e. everyone, including the router, is plugged into a port on the switch), then either the router or the server is probably assigning DHCP. Since the server is the common denominator in the connections that you want, you should set the entity that is serving DHCP to assign addresses from a pool, with default gateways pointing to the server (everyone needs to access the server). Then on the server, you can configure what MAC addresses (or some other criteria you choose) should have traffic forwarded to the router.
 

trenton

Well-Known Member
Joined
Aug 20, 2007
Messages
196
Yes, through a switch.
All the pc's incl the sat connect through a switch.
In the TCP/IP config, if you set it to DHCP a tab becomes available to add an alternative IP config. That way you can connect to a DHCP server and a static IP network at the same time.
I only need 3 pc's to have both configs the rest can stay static.
 

Franna

Expert Member
Joined
Apr 18, 2005
Messages
2,164
Manually configure all clients with an static IP address, subnet mask and local DNS server. On the clients you want internet access set the Default Gateway to the internal IP of the Spacestream router.
 

sn3rd

Expert Member
Joined
Jan 18, 2008
Messages
4,305
Manually configure all clients with an static IP address, subnet mask and local DNS server. On the clients you want internet access set the Default Gateway to the internal IP of the Spacestream router.

That seems less secure than doing it the other way around: for Internet access, the clients just enable DHCP and they have access.
 

proximiti99

Expert Member
Joined
Mar 14, 2007
Messages
1,418
Manually configure all clients with an static IP address, subnet mask and local DNS server. On the clients you want internet access set the Default Gateway to the internal IP of the Spacestream router.

Should work :)
 

trenton

Well-Known Member
Joined
Aug 20, 2007
Messages
196
Just for the record.
I just installed netbios for TCP/IP and it works.
DHCP and static at the same time.
 

ghalied

Senior Member
Joined
Jan 31, 2006
Messages
735
Just for the record.
I just installed netbios for TCP/IP and it works.
DHCP and static at the same time.

It can't work that way, the alternative only kicks in once the DHCP is not found, the alt is always static hence the name alternative not both at the same time.

The one pc that works, where is it connecting from when it works, internal or external?
 

trenton

Well-Known Member
Joined
Aug 20, 2007
Messages
196
It does work.
The 3 pc's that need internet connection through the sat and need company server all work perfectly well.
In fact, to update the antivir on the server, I do the dhcp, static config on it, update via the sat router and change back to static for security.
An easier solution would be to have the whole network dhcp, but I forgot to disable auto update on one machine and one of the ladies (now gone) was an e-mail & facebook junkie. I had to please explain a R4000 charge over our normal usage. Therefore this suits me better.
Come look if you don't believe, while you are here you can help me figure out a way to get more than 12 concurrent connections to an xp pro server.
I am likely going to cause an embulizm if I have to ask for R5000+ for win server, just to add one more pc.
P.s have installed kubuntu and wine to see if our software will run on it, then I can toss the xp server, but add another layer of complexity.
 

XCalibre

Senior Member
Joined
Oct 13, 2005
Messages
910
Install Ubuntu server edition on the "XP Pro server" and set up dhcp on that.
 
Top