Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do i get 2 different subnets to talk to each other?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cheater512
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2003
Posts: 145
Location: Australia

PostPosted: Fri May 14, 2004 10:13 pm    Post subject: How do i get 2 different subnets to talk to each other? Reply with quote

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
View user's profile Send private message
kpack
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 137

PostPosted: Fri May 14, 2004 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
cheater512
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2003
Posts: 145
Location: Australia

PostPosted: Fri May 14, 2004 11:18 pm    Post subject: Reply with quote

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. :cry:
Back to top
View user's profile Send private message
SB
n00b
n00b


Joined: 12 Jan 2004
Posts: 74
Location: At The Bar!

PostPosted: Sat May 15, 2004 1:47 am    Post subject: Reply with quote

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
View user's profile Send private message
cheater512
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2003
Posts: 145
Location: Australia

PostPosted: Sat May 15, 2004 2:16 am    Post subject: Reply with quote

Thanks a lot for that. Works beautifully :lol:

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
View user's profile Send private message
SB
n00b
n00b


Joined: 12 Jan 2004
Posts: 74
Location: At The Bar!

PostPosted: Sat May 15, 2004 2:24 am    Post subject: Reply with quote

:lol:

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
View user's profile Send private message
cheater512
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2003
Posts: 145
Location: Australia

PostPosted: Sat May 15, 2004 2:28 am    Post subject: Reply with quote

SB wrote:
:lol:

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. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum