Hi,mac fans:
Right now i have the problem which is i want to share the internet with my X server and 2000 server. i have a cable internet connection, but the ip given by DHCP,that means the ip isn't static. I using the mac to connect the internet, every time i need switch the location to get access with my win2000 server.
Please anyone if you know how to get both mac and win share the internet under the "dynamic IP",please tell me how to do it.
Thanx!
How Can I share internet with Mac OS X server and Win 2000 s
版主: ross_tt、bryanchang、digdog、chester
-
macman2002
- 新生訓練中
- 文章: 10
- 註冊時間: 02/03/2002 1:01 am
- 來自: USA/NY
How Can I share internet with Mac OS X server and Win 2000 s
Actually, there are several ways of doing that. It is really determined by how you want to implement it.
1. The easiest way is to get a hardware router from vendors, like Linksys or NetGear. The router will take the external IP address assigned by your ISP's DHCP daemon and do NAT (Network Address Translation) for you. So in your LAN, you will have internal IP addresses. The advantages of this solution is that your internal LAN is relatively secure from the outside world, and you can also configure port forwarding to access the services running within the LAN. Besides, you don't have to leave any of the machines (except for the router) on all the time. A hardware router like this is really cheap now. (less than $200).
2. You can also set up one of your machines, may it be OS X or NT to be the router and serve the NAT. In my case, I actually have a Linux box running RedHat serving that function. The advantage is that you have access to your server all the time, but you have to leave it on 24 hours a day.
1. The easiest way is to get a hardware router from vendors, like Linksys or NetGear. The router will take the external IP address assigned by your ISP's DHCP daemon and do NAT (Network Address Translation) for you. So in your LAN, you will have internal IP addresses. The advantages of this solution is that your internal LAN is relatively secure from the outside world, and you can also configure port forwarding to access the services running within the LAN. Besides, you don't have to leave any of the machines (except for the router) on all the time. A hardware router like this is really cheap now. (less than $200).
2. You can also set up one of your machines, may it be OS X or NT to be the router and serve the NAT. In my case, I actually have a Linux box running RedHat serving that function. The advantage is that you have access to your server all the time, but you have to leave it on 24 hours a day.
-
macman2002
- 新生訓練中
- 文章: 10
- 註冊時間: 02/03/2002 1:01 am
- 來自: USA/NY
How Can I share internet with Mac OS X server and Win 2000 s
Thanx, fddi.
You told me two ways to do it, i think i will go for the sencond one. haha...it's more cheaper.
I want to set up the win2000 sever for the router, but i don't know what i need to set up win2000 for function as router and how i gonna config it. Is it possible install a proxy server into win2000 server to function it as router? Please help me.
Thanx!
You told me two ways to do it, i think i will go for the sencond one. haha...it's more cheaper.
I want to set up the win2000 sever for the router, but i don't know what i need to set up win2000 for function as router and how i gonna config it. Is it possible install a proxy server into win2000 server to function it as router? Please help me.
Thanx!
How Can I share internet with Mac OS X server and Win 2000 s
hi guy !!
win2000 can share internet connection to other computer( MAC OS Server).
if you have two network adapter in win2000 server. you can share internet resource to another.
but win2000 must connect to internet ,if your Mac server want to connect to internet !!
you can setting network config in win2000 in "network adopter property"
setting share internet resource !!
then you can link internet in MAC Server !!
if you want to shart file in Server ,
Suggest use FTP Service la
[img]images/smiles/icon_smile.gif[/img] [img]images/smiles/icon_smile.gif[/img]
win2000 can share internet connection to other computer( MAC OS Server).
if you have two network adapter in win2000 server. you can share internet resource to another.
but win2000 must connect to internet ,if your Mac server want to connect to internet !!
you can setting network config in win2000 in "network adopter property"
setting share internet resource !!
then you can link internet in MAC Server !!
if you want to shart file in Server ,
Suggest use FTP Service la
[img]images/smiles/icon_smile.gif[/img] [img]images/smiles/icon_smile.gif[/img]
-
macman2002
- 新生訓練中
- 文章: 10
- 註冊時間: 02/03/2002 1:01 am
- 來自: USA/NY
How Can I share internet with Mac OS X server and Win 2000 s
Thanx Mitcgw.
So if the two network cards gonna work, that will be great. Have you try this connection b4? if you do, can you tell me how i gonna map the connection. Right now the cable modem goes to the hub uplink socket, the mac and window pc go to other two sockets. If i gonna use two network cards in pc, how is the cable modem gonna connect and how is the pc and mac?
The two network adapter card thing is a great idea,i just never try b4, please tell me more details.
Thanx!
So if the two network cards gonna work, that will be great. Have you try this connection b4? if you do, can you tell me how i gonna map the connection. Right now the cable modem goes to the hub uplink socket, the mac and window pc go to other two sockets. If i gonna use two network cards in pc, how is the cable modem gonna connect and how is the pc and mac?
The two network adapter card thing is a great idea,i just never try b4, please tell me more details.
Thanx!
How Can I share internet with Mac OS X server and Win 2000 s
macman,
In your case, you would like to connect your cable modem to one of the ethernet card on your W2k server box, let's name it eth0 for now. I assume that you still get to keep the hub that you are using, so connect your second NIC (eth1) on your W2K server box to one of the ports on the hub, except for the Uplink port. Then, connect your MacOS X server to another port on the hub. This is pretty much for the physical connection, and it will make the 2 machines on the same ethernet bus.
Now, you may want to configure a DHCP server of your own on your W2K server, so your MacOS X server can get either a dynamic or a static IP address whichever you choose. So, assuming that your cable modem ISP gives you an IP address in the 22.22.22.0/24 range, and that's going to be your external IP address. Your Mac will actually be using an internal IP address in the 192.168.0.0/24 range, for example. So in another word, your MacOS X Server will be in the LAN, which can pretty protect you from being attacked or unauthorized activities if you don't do port forwarding or anything like that. But also, you will not be able to access your MacOS X server box remotely. So it's really a tradeoff.
In your case, you would like to connect your cable modem to one of the ethernet card on your W2k server box, let's name it eth0 for now. I assume that you still get to keep the hub that you are using, so connect your second NIC (eth1) on your W2K server box to one of the ports on the hub, except for the Uplink port. Then, connect your MacOS X server to another port on the hub. This is pretty much for the physical connection, and it will make the 2 machines on the same ethernet bus.
Now, you may want to configure a DHCP server of your own on your W2K server, so your MacOS X server can get either a dynamic or a static IP address whichever you choose. So, assuming that your cable modem ISP gives you an IP address in the 22.22.22.0/24 range, and that's going to be your external IP address. Your Mac will actually be using an internal IP address in the 192.168.0.0/24 range, for example. So in another word, your MacOS X Server will be in the LAN, which can pretty protect you from being attacked or unauthorized activities if you don't do port forwarding or anything like that. But also, you will not be able to access your MacOS X server box remotely. So it's really a tradeoff.
-
macman2002
- 新生訓練中
- 文章: 10
- 註冊時間: 02/03/2002 1:01 am
- 來自: USA/NY
How Can I share internet with Mac OS X server and Win 2000 s
Thanx man!
Finally I got my mac server working fine with the w2k server. Fddi1 ,man I did what you told me and super!
It's working great, like you said the dark side is the mac can not access from outside. Right now my cable modem connection won't get waster.
Thanx all you guys!
Finally I got my mac server working fine with the w2k server. Fddi1 ,man I did what you told me and super!
It's working great, like you said the dark side is the mac can not access from outside. Right now my cable modem connection won't get waster.
Thanx all you guys!
How Can I share internet with Mac OS X server and Win 2000 s
macman,
Actually, you should be able to access your MacOS X server from the outside world with some tweaks. I'm not a Windows guru, so I can't tell you the specifics of how to set it up in W2K server, but I can give you a theory of how to set it up.
To do that, you'll need a feature, called Port Forwarding. Now, you are using your W2K Server as the router, so the port forwarding feature will need to be set up in your W2K server as well. In my setup, I have a RedHat Linux box instead of your W2K Server. Assuming that I want to set up a web server in my MacOS X, and use the default port, which is 80. So I tell my Linux box to forward all the incoming TCP traffic to port 80 to the IP address of my MacOS X box. And of course, that means I can't run any services listening on port 80 in my Linux box because the port forwarding feature will automatically think that it should route the traffic to my MacOS X box. So in case you want to run 2 different web servers - one on your MacOS X Server and one on your W2K server, you can do assign a port number like this to access the MacOS X web server from outisde: [url=http://www.macosxserver.com:8000.]http://www.macosxserver.com:8000.[/url] Then set up the port forwarding to forward all the incoming TCP traffic to port 8000 to port 80 on your MacOS X Server. Pretty much, you can forward whatever port you want. Just to make sure that the port is not being used by any other applications.
Actually, you should be able to access your MacOS X server from the outside world with some tweaks. I'm not a Windows guru, so I can't tell you the specifics of how to set it up in W2K server, but I can give you a theory of how to set it up.
To do that, you'll need a feature, called Port Forwarding. Now, you are using your W2K Server as the router, so the port forwarding feature will need to be set up in your W2K server as well. In my setup, I have a RedHat Linux box instead of your W2K Server. Assuming that I want to set up a web server in my MacOS X, and use the default port, which is 80. So I tell my Linux box to forward all the incoming TCP traffic to port 80 to the IP address of my MacOS X box. And of course, that means I can't run any services listening on port 80 in my Linux box because the port forwarding feature will automatically think that it should route the traffic to my MacOS X box. So in case you want to run 2 different web servers - one on your MacOS X Server and one on your W2K server, you can do assign a port number like this to access the MacOS X web server from outisde: [url=http://www.macosxserver.com:8000.]http://www.macosxserver.com:8000.[/url] Then set up the port forwarding to forward all the incoming TCP traffic to port 8000 to port 80 on your MacOS X Server. Pretty much, you can forward whatever port you want. Just to make sure that the port is not being used by any other applications.