IP/TCP and DHCP probs?

CougarGT

Junior Member
Feb 5, 2002
16
0
0
I am setting up a small network at my father business. We have a DSL line coming in, that only certain employees can have access too. For this i got a D-Link 704 Gateway running into the uplink of a 16 port switch. What i want to do is manually specify the IP address's of the computers, so i can block certain IP groups depending upon what ports they will have access too. This is where my problem comes in. I have turned off the DHCP server setting on my router, and am using a LAN IP of 192.168.0.1. I then manually specify the IP on the computers ( I have been using an ip ending range of 100-120), as well as setting the subnet mask (255.255.255.0) and the default gateway to the LAN IP (192.168.0.1). This results in no access to the web or any of the service ports for this matter. If I renenable the DHCP server, and let the computers automatically get an IP address, they have access to all the service ports, but the problem with this is it is hard to limit who, and what computer gets what services. Can anyone shed some light as to what may the problem with specifying the IP address?
 

FUBAR

Senior member
Oct 11, 1999
618
0
0
Are you specifying your DNS servers as well?

Can you explain a little more of these "service ports"
 

FFC

Member
Oct 23, 2001
100
0
0
Did you check your basic connectivity when you hard coded the IP addresses. Could you ping the default gateway you set? Could the workstations ping each other? Did you have DNS servers configured? Could you ping those?

Apologies if this approach is too simplistic.
 

CougarGT

Junior Member
Feb 5, 2002
16
0
0
FOr service ports i mean
80 - HTML
21 - FTP
etc etc......Only certain people will get email access, others will get html, depending upon what their job requires.

As for DNS servers i do beleive i left it as automatic.......
When specifying the IP's i can ping all other computers, and the router. Network connectivity is fine.......
 

MiniMe69

Senior member
Oct 12, 2000
290
0
0
wow talk about being a hard a$$ to the what...15 employees there. limiting people to what ports then can access...whats the point when the office is so small already. you can just look over your shoulder to see what the other dude is doing.
 

CougarGT

Junior Member
Feb 5, 2002
16
0
0
Well..........75% of the people who work there do not require the use of anything on the web for their day to day jobs. To keep productivity high my dad doesnt want the distraction of surfing the web a click away. It is an electrical engineering/ service business. I tend to agree with him. SOme employees need FTP capability and email capability, that is the idea of using the firewall to limit what they have access too.
 

Acetate

Member
Sep 19, 2001
85
0
0
are any of the workstations able to ping outside the router?
try www.cisco.com or something.

Also, you'll have to specify which DNS server is to be used, you can't leave it blank when manually changing IPs.

How are you denying "groups" IP addresses port requests, exactly?

 

Acetate

Member
Sep 19, 2001
85
0
0
You also can't use 192.168.0.1 for your router interface.

You MUST NEVER use a 0 in an IP address, it is for network IDs only (not for devices).
Use 192.168.1.1 for your router interface.

Set your router to block all web requests for your network (192.168.1.0)

Hope this helps!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< You also can't use 192.168.0.1 for your router interface.

You MUST NEVER use a 0 in an IP address, it is for network IDs only (not for devices).
Use 192.168.1.1 for your router interface.

Set your router to block all web requests for your network (192.168.1.0)

Hope this helps!
>>



I have 0's in my ip addresses and it works fine (windows, Mac, Linux, OpenBSD, and FreeBSD).


Try pinging 64.58.76.223 when you specify the ip addresses. (thats www.yahoo.com) Try tracert/traceroute if that doesnt work.
 

Acetate

Member
Sep 19, 2001
85
0
0
You won't see any problems, but there could be an issue down the road.
Each octet in use must have at least 1 bit used.

Safest to always go with a number other than one, from my networking experience.
 

Hobbzilla

Member
Apr 8, 2001
159
0
0


<< You also can't use 192.168.0.1 for your router interface.

You MUST NEVER use a 0 in an IP address, it is for network IDs only (not for devices).
Use 192.168.1.1 for your router interface.

Set your router to block all web requests for your network (192.168.1.0)

Hope this helps!
>>



I guess I better go renumber my entire 10.0.0.x subnet
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
My guess is dns servers. try pinging something by name and see if it resolves to an IP address. If it doesn't resolve then put the ISPs DNS servers on the PC IP configuration.

192.168.0.1 is perfectly fine for an IP address. You most certainly can use 0 in an IP address and you can also use the 192.168.0.0 subnet any way you please.
 

CougarGT

Junior Member
Feb 5, 2002
16
0
0


<< are any of the workstations able to ping outside the router?
try www.cisco.com or something.

Also, you'll have to specify which DNS server is to be used, you can't leave it blank when manually changing IPs.

How are you denying "groups" IP addresses port requests, exactly?
>>



I have set up some groups in the router......

the default group has all ports blocked

IP's ending in 100-102 are allowed port 21, 25, 80, 110, 443 etc etc
and IP's ending in 103-105 are allowed 21, 25, 110
 

CougarGT

Junior Member
Feb 5, 2002
16
0
0
I will try and change the LAN ip in the router and i'll look into the DNS setting some more
Thanks for all your help
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< You won't see any problems, but there could be an issue down the road.
Each octet in use must have at least 1 bit used.

Safest to always go with a number other than one, from my networking experience.
>>



Thinking about it, I almost remember that a couple of OSes had problems with 0's in the ip addresses. Of course that was something like 10+ years ago. Back when 192.168.1.0 would have been known as a broadcast ip


I may be remembering my history wrong though.
 

Acetate

Member
Sep 19, 2001
85
0
0
The reason that it actually works in a mini home network is because the IP isn't being routed, therefore the router isn't looking at the network portions (192.168.X) to make a decision.

Routers cannot make a proper decision with 0's, because there are designated as a network address.

Peace!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< The reason that it actually works in a mini home network is because the IP isn't being routed, therefore the router isn't looking at the network portions (192.168.X) to make a decision.

Routers cannot make a proper decision with 0's, because there are designated as a network address.

Peace!
>>



Thats why NAT happens before the router.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Precisely my point. >>



I dont know if you are right. My knowledge of cisco/bay/3com/whatever other routers are out there is quite limited.

 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76


<< Routers cannot make a proper decision with 0's, because there are designated as a network address >>


whoah there big fella. That is entirely false.

How about 12.10.0.45/24 ? that's a good address
194.0.193.1/18? that's a good address
172.16.0.1/24 that's a good address
215.0.212.64/16 that's a good address
192.168.0.1/24 that's a good address

routers could care less about if there is a zero octect in an IP address so long as the mask is correct. Way back you had to worry about a zeros broadcast which is why use of the zero subnet was discouraged. But that was like 10 years ago.



history...
 

Hobbzilla

Member
Apr 8, 2001
159
0
0
Sarcasm is hard to display in these posts.
So my previous post about renumber my *entire* 10.0.0.x subnet was not suppossed to be taken literally.

Sorry for any confusion I might have caused.

I guess I should have just said, " You can use 0 in any octet but the first & last"
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Sarcasm is hard to display in these posts.
So my previous post about renumber my *entire* 10.0.0.x subnet was not suppossed to be taken literally.

Sorry for any confusion I might have caused.

I guess I should have just said, " You can use 0 in any octet but the first & last"
>>



It wasnt your post that caused the replies. I use a 10.x.x.x ip on my internal machines too and I realized your post was sarcastic (or atleast hoped it was ).

spidey07, looks like a nice link, thanks

EDIT: Guess its a cisco link, no wonder it looked like it had some decent info on it
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |