* [gentoo-user] Routing I think
@ 2006-01-15 19:19 Ryan Viljoen
2006-01-15 19:56 ` Uwe Thiem
0 siblings, 1 reply; 3+ messages in thread
From: Ryan Viljoen @ 2006-01-15 19:19 UTC (permalink / raw
To: gentoo-user
Hi all
I am currently redoing a server for my old high school. The old server
had to network cards:
eth0 - 192.168.1.2
eth1 - 192.168.4.1
The 192.168.4. network is the admin network for all the teachers. The
server connects to another mail and file server on eth0 its ip is
192.168.1.1. In addition the access to the net is through 192.168.1.4
(proxy server).
Now on the previous server the teachers could get the mail and browse
the net from the 192.168.4. network. Could someone advise me on how to
go about doing this on the new server.
Thanks
Rav
--
Ryan Viljoen Bsc(Eng) (Electrical)
"Facts are stubborn things, but statistics are more pliable."
- Mark Twain
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Routing I think
2006-01-15 19:19 [gentoo-user] Routing I think Ryan Viljoen
@ 2006-01-15 19:56 ` Uwe Thiem
2006-01-15 21:44 ` Ryan Viljoen
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Thiem @ 2006-01-15 19:56 UTC (permalink / raw
To: gentoo-user
On 15 January 2006 21:19, Ryan Viljoen wrote:
> Hi all
>
> I am currently redoing a server for my old high school. The old server
> had to network cards:
> eth0 - 192.168.1.2
> eth1 - 192.168.4.1
>
> The 192.168.4. network is the admin network for all the teachers. The
> server connects to another mail and file server on eth0 its ip is
> 192.168.1.1. In addition the access to the net is through 192.168.1.4
> (proxy server).
>
> Now on the previous server the teachers could get the mail and browse
> the net from the 192.168.4. network. Could someone advise me on how to
> go about doing this on the new server.
IP forwarding must be enabled on your new server:
echo "1" > /proc/sys/net/ipv4/ip_forward
That is assuming you are using IP version 4.
Next, you need a default route on the server pointing to 192.168.1.4.
Uwe
--
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Routing I think
2006-01-15 19:56 ` Uwe Thiem
@ 2006-01-15 21:44 ` Ryan Viljoen
0 siblings, 0 replies; 3+ messages in thread
From: Ryan Viljoen @ 2006-01-15 21:44 UTC (permalink / raw
To: gentoo-user
> IP forwarding must be enabled on your new server:
> echo "1" > /proc/sys/net/ipv4/ip_forward
> That is assuming you are using IP version 4.
Great thanks Uwe, I thought I might have forgotten something as simple as this.
--
Ryan Viljoen Bsc(Eng) (Electrical)
"Facts are stubborn things, but statistics are more pliable."
- Mark Twain
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-15 21:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-15 19:19 [gentoo-user] Routing I think Ryan Viljoen
2006-01-15 19:56 ` Uwe Thiem
2006-01-15 21:44 ` Ryan Viljoen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox