View previous topic :: View next topic |
Author |
Message |
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Fri May 14, 2004 10:13 pm Post subject: How do i get 2 different subnets to talk to each other? |
|
|
Hi
I have a main server (Windows) which shares the internet to my Wireless LAN and my second server (Gentoo) which is on a Wired LAN.
They are on 2 different subnets and to access the second server from my main computer which is on the Wireless LAN i need to TightVNC over to the main server then SSH over to the second one.
My internet connection (on the main server) is NATed (Micro$oft ICS) to the Wireless LAN. Currently my second server uses Squid on the main server to access the internet which is not good for a server.
As you can probally guess this is not a good way to administer a server or run one.
How can i get my Wireless LAN talk to my Wired LAN and get my net connection NATed to both networks? |
|
Back to top |
|
|
kpack Tux's lil' helper
Joined: 29 Mar 2004 Posts: 137
|
Posted: Fri May 14, 2004 11:15 pm Post subject: |
|
|
Can you explain what your requirements are? I'm not clear why you want/need two subnets, why you're using ICS, etc.
Doesn't your wireless router provide NAT? Doesn't it provide a built in switch?
If you want to do internet connection sharing using a computer, why are you using ICS instead of the Gentoo computer with iptables and masquerade? How many computers do you have total? |
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Fri May 14, 2004 11:18 pm Post subject: |
|
|
No router. I use a Windows server to share internet.
My Wireless LAN and the Wired LAN are two different network cards in the main server.
I would love to make my main server Gentoo as well but currently I'm tied to Windows. |
|
Back to top |
|
|
SB n00b
Joined: 12 Jan 2004 Posts: 74 Location: At The Bar!
|
Posted: Sat May 15, 2004 1:47 am Post subject: |
|
|
Enable routing in windows then
To enable TCP/IP forwarding:
1. Use Registry Editor (Regedt32.exe) to view the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
2. Set the following registry value:
Value Name: IPEnableRouter
Value type: REG_DWORD
Value Data: 1
NOTE: A value of 1 enables TCP/IP forwarding for all network connections installed and used by this computer. _________________ SB
"The gene pool could use a little chlorine..." |
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sat May 15, 2004 2:16 am Post subject: |
|
|
Thanks a lot for that. Works beautifully
Only problem is the second server still cant access the net directly. I've heard that you cant have NAT running on 2 different adaptors for the same internet connection but there must be a way to get it to work. |
|
Back to top |
|
|
SB n00b
Joined: 12 Jan 2004 Posts: 74 Location: At The Bar!
|
Posted: Sat May 15, 2004 2:24 am Post subject: |
|
|
Don't use ICS, try out a 3rd party app like WinRoute
I know you could do it on Windows ME, I'll have a quick looksee on XP... _________________ SB
"The gene pool could use a little chlorine..." |
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sat May 15, 2004 2:28 am Post subject: |
|
|
SB wrote: |
Don't use ICS, try out a 3rd party app like WinRoute
I know you could do it on Windows ME, I'll have a quick looksee on XP... |
Can WinRoute do it quickly and easily?
I once had Sygate going but ICS beats it in simplicity.
The server is running Windows 2000 Advanced Server. |
|
Back to top |
|
|
|