k****n 发帖数: 52 | 1 【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: ketten (ketten), 信区: Linux
标 题: HELP!!! Questions on subnet IP config
发信站: Unknown Space - 未名空间 (Mon Nov 3 21:30:09 2003) WWW-POST
Hi, I wonder if any master can help me with this?
I have only one active ethernet port and I am using a router to make 5
machines be able to access the web using the port. Now I want to set up two
servers behind the router with the distinct IP addresses. Is that possible? If
so, how should I realize it?
Thanks a lot for your reading | t*u 发帖数: 186 | 2 to set up servers behind a proxy or a nat box, you have to use different ports
to distinguish the distinct servers, as they share the same ip address to
outsides. say, if both of your servers provide www service, you can designate
port 80 for one server, port 81 for another. FYI
If
【在 k****n 的大作中提到】 : 【 以下文字转载自 Linux 讨论区,原文如下 】 : 发信人: ketten (ketten), 信区: Linux : 标 题: HELP!!! Questions on subnet IP config : 发信站: Unknown Space - 未名空间 (Mon Nov 3 21:30:09 2003) WWW-POST : Hi, I wonder if any master can help me with this? : I have only one active ethernet port and I am using a router to make 5 : machines be able to access the web using the port. Now I want to set up two : servers behind the router with the distinct IP addresses. Is that possible? If : so, how should I realize it? : Thanks a lot for your reading
| t*u 发帖数: 186 | 3 configure your proxy box to a multi-homed one if you have more legitimate ip,
requests for one ip redirected to one server behind the proxy, requests for
the other ip redirected to the other server.
【在 k****n 的大作中提到】 : 【 以下文字转载自 Linux 讨论区,原文如下 】 : 发信人: ketten (ketten), 信区: Linux : 标 题: HELP!!! Questions on subnet IP config : 发信站: Unknown Space - 未名空间 (Mon Nov 3 21:30:09 2003) WWW-POST : Hi, I wonder if any master can help me with this? : I have only one active ethernet port and I am using a router to make 5 : machines be able to access the web using the port. Now I want to set up two : servers behind the router with the distinct IP addresses. Is that possible? If : so, how should I realize it? : Thanks a lot for your reading
|
|